Skip to content

Commit

Permalink
2.11.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Oct 22, 2023
1 parent 3043739 commit c37a122
Show file tree
Hide file tree
Showing 7 changed files with 230 additions and 195 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 2.11.3

- (Maintenance) Fixed a regression where rarity-colored labels from Workbench would be illegible in Foundry 2 theme.

# 2.11.2

- (Refinement) Foundry 2 theme now always removes application backgrounds, fixing legibility issues with applications that add their own (light) backgrounds.
Expand Down
6 changes: 3 additions & 3 deletions sass/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
}

@mixin f2-app {
background: var(--color-cool-5-75);
border: 1px solid var(--color-cool-4);
background: var(--app-background);
border: 1px solid var(--app-border-color);
text-shadow: 0px 1px 2px black;
border-radius: var(--border-radius);
--box-shadow: 0px 1px 3px 1px black;
Expand All @@ -62,7 +62,7 @@
@include f2-app;
@include quick-transition;

--button-background-color: var(--color-cool-5-75);
--button-background-color: var(--app-background);
--button-border-color: var(--color-cool-4);
--button-text-color: var(--color-light-3);
--button-focus-outline-color: var(--color-warm-2);
Expand Down
4 changes: 4 additions & 0 deletions sass/foundry2-theme/foundry-core/_app-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@
--color-rarity-uncommon: #c45500;
--color-rarity-rare: #5362ff;
--color-rarity-unique: #e127e1;
--rarity-common: #e1d8cf;
--rarity-uncommon: #c45500;
--rarity-rare: #5362ff;
--rarity-unique: #e127e1;
--ornamentation: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='33' overflow='scroll'%3E%3Cstyle%3E.st1{stroke:wheat;stroke-miterlimit:10}.st1,.st2{fill:none}%3C/style%3E%3Cg opacity='1'%3E%3Cpath class='st1' d='M.5 20v-7'/%3E%3Cpath class='st2' d='M13 20v-7'/%3E%3Cpath class='st1' d='M13 .5h7'/%3E%3Cpath class='st2' d='M13 13h7'/%3E%3Cpath class='st1' d='M32.5 13v7'/%3E%3Cpath class='st2' d='M20 13v7'/%3E%3Cpath class='st1' d='M20 32.5h-7'/%3E%3Cpath class='st2' d='M20 20h-7'/%3E%3Cpath class='st1' d='M.5.5h3.1v3.1H.5zm3.1 3.1h3.1v3.1H3.6zm3.2 0h3.1v3.1H6.8zM3.6 6.8h3.1v3.1H3.6zm0 0H.5V13M13 .5H6.8v3.1M29.4.5h3.1v3.1h-3.1zm-3.1 3.1h3.1v3.1h-3.1zm0 3.2h3.1v3.1h-3.1zm-3.2-3.2h3.1v3.1h-3.1zm3.2 0V.5H20M32.5 13V6.8h-3.1M29.4 29.4h3.1v3.1h-3.1z'/%3E%3Cpath class='st1' d='M26.3 26.3h3.1v3.1h-3.1zm-3.2 0h3.1v3.1h-3.1zm3.2-3.2h3.1v3.1h-3.1z'/%3E%3Cpath class='st1' d='M29.4 26.3h3.1V20M20 32.5h6.3v-3.1'/%3E%3Cg%3E%3Cpath class='st1' d='M.5 29.4h3.1v3.1H.5zm3.1-3.1h3.1v3.1H3.6zm0-3.2h3.1v3.1H3.6zm3.2 3.2h3.1v3.1H6.8zM6.8 29.4v3.1H13M.5 20v6.3h3.1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

Expand Down
2 changes: 1 addition & 1 deletion sass/foundry2-theme/pf2e-system/_messages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
background: unset;
// --gold-and-glow: transparent;
@include f2-app;
--color-text-light-6: var(--color-cool-3);
--color-text-light-6: var(--color-cool-4);

&.whisper {
border-color: var(--color-cool-1);
Expand Down
12 changes: 12 additions & 0 deletions sass/foundry2-theme/pf2e-system/_pc-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
--secondary: var(--color-cool-3);
--text-dark: var(--color-light-2);
--color-border-divider: var(--color-cool-3);
--color-border-light-2: var(--color-cool-4);
--sub: var(--color-light-6);
--alt: var(--color-light-5);
--bg: var(--color-cool-5-90);
Expand Down Expand Up @@ -234,3 +235,14 @@
flex: 0 0 32px;
}
}

.foundry2,
.foundry2-pc {
&.spellcasting-entry.preparation ol.spell-list > li.spell-level-header,
&.actor.sheet .crb-style .sheet-body .sheet-content ol.spell-list > li.spell-level-header {
background: var(--color-cool-5-75);
}
&.spellcasting-entry.preparation {
--color-border-light-2: var(--color-cool-4);
}
}
Loading

0 comments on commit c37a122

Please sign in to comment.