Skip to content

Commit

Permalink
Changed compact mode to client setting. Fixed issue in dark sheets. T…
Browse files Browse the repository at this point in the history
…hemed foundry notifications.
  • Loading branch information
Dorako committed Feb 25, 2022
1 parent a867d97 commit c70a810
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# 1.3.4
Changed compact mode to client setting. Fixed issue in dark sheets. Themed foundry notifications.
# 1.3.3
Fixed navbar context menu issue. Fixed Confetti overlap with Dice Tray. Added 'Plain' theme for PC sheets. Fixed secret text in NPC sheets.
# 1.3.2
Expand Down
6 changes: 3 additions & 3 deletions scripts/dorako-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ Hooks.once('init', async function () {
game.settings.register('pf2e-dorako-ui', 'rolltype-indication', {
name: "Indicate rolltype by...",
hint: "Secret rolls (Blind GM) are tinted pink and whispers are tinted blue.",
scope: "world",
scope: "client",
type: String,
default: "both",
config: true,
Expand All @@ -419,7 +419,7 @@ Hooks.once('init', async function () {
game.settings.register('pf2e-dorako-ui', 'compact-ui', {
name: "Use compact UI?",
hint: "Resizes controls, and hides inactive controls and navigation elements unless hovered.",
scope: "world",
scope: "client",
config: true,
default: false,
type: Boolean,
Expand All @@ -431,7 +431,7 @@ Hooks.once('init', async function () {
game.settings.register('pf2e-dorako-ui', 'no-logo', {
name: "Disable logo?",
hint: "Removes the Foundry logo in the top left.",
scope: "world",
scope: "client",
config: true,
default: true,
type: Boolean,
Expand Down
25 changes: 25 additions & 0 deletions styles/app-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -345,4 +345,29 @@
box-shadow: 0px 0px 20px black;
transform:scale(1.0);
transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
}

#notifications .notification {
border: none;
box-shadow: var(--glassy);
text-shadow: var(--pf2e-shadow-is-dark);
background: none;
}

#notifications .notification.info {
background-color: var(--paizo-blue-bright);
background-color: #222C8CDD;
}

#notifications .notification.error {
background-color: var(--paizo-red-bright);
background-color: #83180FDD;
/* background: hsla(var(--primary-hue), var(--primary-sat), calc(var(--primary-lvl) + 10%), 80%); */
}

#notifications .notification.warning,
#notifications .notification.alert {
background-color: #ECBF41DD;
color: black;
text-shadow: var(--pf2e-shadow-is-light);
}
4 changes: 4 additions & 0 deletions styles/sheet-dark.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,8 @@ crb-style .inventory .encumbrance .encumbrance-light-bulk-overflow {
.crb-style input[type="time"] {
color: white;

}

.crb-style .sheet-body .sheet-content .spell-list .item .item-summary {
background-color: transparent;
}

0 comments on commit c70a810

Please sign in to comment.