Skip to content

Commit

Permalink
3.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Nov 19, 2023
1 parent c5f435d commit a517b15
Show file tree
Hide file tree
Showing 9 changed files with 181 additions and 423 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 3.0.5

- (Fix) Fixed the Foundry 2 theme not applying properly to Hazard and Familiar sheets.

# 3.0.4

- (Fix) Changed the window-app drop shadow to avoid rendering issue encountered when using the Electron client, electric boogaloo #2.
Expand Down
34 changes: 3 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ Navigation, Controls, Hotbar, Sidebar

#### Explicit styling for a bunch of ironkmonk's modules

Including "Active Tile Triggers", "Common Display", "Enhanced Journal", "Hotbar Expansion", "Little Details", "Scene Navigation", "TokenBar", etc.
Including "Active Tile Triggers", "Common Display", "Hotbar Expansion", "Little Details", "Scene Navigation", "TokenBar", etc.
Image shows a journal with Dalvyn's CRB styled journals enabled.

<img src="./promo/web/monks.jpg">
Expand All @@ -85,7 +85,7 @@ Image shows a journal with Dalvyn's CRB styled journals enabled.

<img src="./promo/web/token-hud-monk.jpg">

#### Token Action HUD, both the old one and the new Core + Pathfinder one
#### Token Action HUD

<img src="./promo/web/token-action-hud.jpg">

Expand All @@ -95,31 +95,7 @@ Image shows a journal with Dalvyn's CRB styled journals enabled.

## Features

Besides the theme, Dorako UI also has a bunch of UI-adjacent features, including:

- Use dark theme messages for GM and light theme for players
- Use the player color as the header color for messages
- Chat message avatars
- Supports Token or Actor or Combatant images
- Supports 'pop out' tokens (also for Combat Tracker)
- Configurable size
- Reacts to critical rolls, glowing green on a critical success, and dimming and desaturating for critical failures
- Hidden when token is hidden, or roll is secret
- Chat message accesibility
- Label indicating whispered messages and secret rolls
- Label for Player names
- Chat message simplification
- Pull important spellcasting information out of the footer and into the main message
- Remove attack-related tags from damage rolls to save space
- Centered hotbar
- Also works with modules that add extra hotbar rows
- Hide stuff you don't want to see
- Foundry icon
- Cards sidebar
- Chat control icon
- "Compact UI" mode that fades out UI when inactive
- Collapse the Sidebar and/or Navigation by default
- Includes Dalvyn's CRB-styled journal theme
Non-theme features have been moved to [Dorako UX](https://github.com/Dorako/pf2e-dorako-ux)

## Wide compatability

Expand All @@ -144,8 +120,4 @@ Dorako UI's custom settings menu allows you to configure the theme to your likin

This code is available under the MIT license, see LICENSE.

The sidebar resizing functionality has been adapted from [Sidebar Resizer](https://github.com/saif-ellafi/foundryvtt-sidebar-resizer) also available under the MIT license.

The chat merge and rolltype buttons functionality has been adapted from [DFCE](https://github.com/flamewave000/dragonflagon-fvtt/tree/master/df-chat-enhance) available under the BSD 3-Clause license.

The green PC sheet theme is contributed by Vesselchuck.
29 changes: 0 additions & 29 deletions licenses/dfce

This file was deleted.

15 changes: 13 additions & 2 deletions sass/ui-theme/foundry-core/_app-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@

&.sheet header.sheet-header h1 input {
--font-size: inherit;
font-size: 28px;
}

&.app.sidebar-popout .window-content {
Expand Down Expand Up @@ -637,8 +638,7 @@
/* System overwrites */
/* ----------------------------------------- */

[data-dorako-ui-theme],
.foundry2 {
[data-dorako-ui-theme] {
&.pf2e.item.sheet {
--color-text-dark-2: var(--color-light-3);
--color-text-dark-4: var(--color-light-3);
Expand Down Expand Up @@ -716,6 +716,17 @@
}
}

section.compendium-sidebar ol.directory-list ol.document-matches li.match {
.thumbnail img {
@include f2-app;
padding: 0px;
}
&:hover .thumbnail img {
border: var(--app-border-style);
border-color: var(--color-warm-2);
}
}

&.pf2e.item.sheet form .sheet-body .tab.active.description .editor a.add-gm-notes {
@include f2-button-warm;
border-radius: 3px;
Expand Down
3 changes: 2 additions & 1 deletion sass/ui-theme/pf2e-system/_familiar-sheet.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.foundry2 {
[data-dorako-ui-theme] {
&.sheet.familiar form {
background: unset;
}
Expand Down Expand Up @@ -30,6 +30,7 @@
&.sheet.familiar .familiar-sheet-header .header-content .charname input {
--font-size: inherit;
--input-height: auto;
font-size: 24px;
margin-right: 100px;
}

Expand Down
7 changes: 5 additions & 2 deletions sass/ui-theme/pf2e-system/_hazard-sheet.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.foundry2 {
[data-dorako-ui-theme] {
&.sheet.hazard {
--color-text-light: var(--color-light-2);
}
Expand Down Expand Up @@ -32,8 +32,11 @@

&.sheet.hazard form > header .title {
align-items: center;
--input-height: 32px;
--font-size: 32px;
.name {
height: 32px;
--input-height: 32px;
--font-size: 32px;
}
}

Expand Down
2 changes: 1 addition & 1 deletion sass/ui-theme/pf2e-system/_npc-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
}
}

.foundry2 {
[data-dorako-ui-theme] {
&.app.npc-skills-editor form ol li.skill:nth-child(even) {
background-color: color-mix(in srgb, var(--color-cool-4) 20%, transparent);
}
Expand Down
Loading

0 comments on commit a517b15

Please sign in to comment.