Skip to content

Commit

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

- (Refinement) Foundry 2 theme now always removes application backgrounds, fixing legibility issues with applications that add their own (light) backgrounds.
- (Maintenance) Fixed a regression to PC sheets where certain elements would not be styled as expected with the Foundry 2 theme active.

# 2.11.1

- (New) Added Foundry 2 styling for Forien's Quest Log.
Expand Down
19 changes: 14 additions & 5 deletions sass/foundry2-theme/foundry-core/_app-ui.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,11 @@
--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");
}

/* ----------------------------------------- */
/* Generalized style choices */
/* ----------------------------------------- */
/* ----------------------------------------------------- */
/* Generalized style choices (inclusive of .foundry2-pc) */
/* ----------------------------------------------------- */

.foundry2-pc,
[data-theme="foundry2"],
.foundry2 {
// Dark theme
Expand All @@ -104,7 +105,6 @@
--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");

--input-height: 24px;
color: var(--color-light-3);

::-webkit-scrollbar-thumb {
outline: none;
Expand Down Expand Up @@ -150,6 +150,15 @@
color: var(--color-warm-2);
}
}
}

/* ---------------------------------------------------- */
/* Generalized style choices (exlusive of .foundry2-pc) */
/* ---------------------------------------------------- */

[data-theme="foundry2"],
.foundry2 {
color: var(--color-light-3);

input[type="text"],
input[type="number"],
Expand Down Expand Up @@ -322,7 +331,7 @@
}

.window-content {
background: unset;
background: unset !important; // Stops modules from adding their own background
box-shadow: unset;
}

Expand Down
51 changes: 46 additions & 5 deletions styles/dorako-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -8456,9 +8456,10 @@ nav#controls.dorako-ui ol.control-tools > li.toggle:hover {
--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");
}

/* ----------------------------------------- */
/* Generalized style choices */
/* ----------------------------------------- */
/* ----------------------------------------------------- */
/* Generalized style choices (inclusive of .foundry2-pc) */
/* ----------------------------------------------------- */
.foundry2-pc,
[data-theme=foundry2],
.foundry2 {
--color-rarity-common: #efeadc;
Expand All @@ -8467,8 +8468,8 @@ nav#controls.dorako-ui ol.control-tools > li.toggle:hover {
--color-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");
--input-height: 24px;
color: var(--color-light-3);
}
.foundry2-pc ::-webkit-scrollbar-thumb,
[data-theme=foundry2] ::-webkit-scrollbar-thumb,
.foundry2 ::-webkit-scrollbar-thumb {
outline: none;
Expand All @@ -8477,16 +8478,25 @@ nav#controls.dorako-ui ol.control-tools > li.toggle:hover {
border: 1px solid var(--color-scrollbar-border);
transition: outline 0.15s;
}
.foundry2-pc ::-webkit-scrollbar-thumb:hover,
[data-theme=foundry2] ::-webkit-scrollbar-thumb:hover,
.foundry2 ::-webkit-scrollbar-thumb:hover {
outline: 4px solid var(--color-warm-1);
}
.foundry2-pc ::-webkit-scrollbar-track,
[data-theme=foundry2] ::-webkit-scrollbar-track,
.foundry2 ::-webkit-scrollbar-track {
box-shadow: 0 0 1px var(--color-cool-3) inset;
box-shadow: unset;
border-radius: 4px;
}
.foundry2-pc a.content-link,
.foundry2-pc [data-pf2-check],
.foundry2-pc a.entity-link,
.foundry2-pc [data-pf2-action],
.foundry2-pc span[data-pf2-effect-area],
.foundry2-pc a.inline-check .label,
.foundry2-pc a.inline-roll:not(.inline-result),
[data-theme=foundry2] a.content-link,
[data-theme=foundry2] [data-pf2-check],
[data-theme=foundry2] a.entity-link,
Expand All @@ -8505,6 +8515,27 @@ nav#controls.dorako-ui ol.control-tools > li.toggle:hover {
border: 1px solid var(--color-cool-3);
color: var(--color-light-2);
}
.foundry2-pc a.content-link::before,
.foundry2-pc a.content-link i,
.foundry2-pc a.content-link i.icon,
.foundry2-pc [data-pf2-check]::before,
.foundry2-pc [data-pf2-check] i,
.foundry2-pc [data-pf2-check] i.icon,
.foundry2-pc a.entity-link::before,
.foundry2-pc a.entity-link i,
.foundry2-pc a.entity-link i.icon,
.foundry2-pc [data-pf2-action]::before,
.foundry2-pc [data-pf2-action] i,
.foundry2-pc [data-pf2-action] i.icon,
.foundry2-pc span[data-pf2-effect-area]::before,
.foundry2-pc span[data-pf2-effect-area] i,
.foundry2-pc span[data-pf2-effect-area] i.icon,
.foundry2-pc a.inline-check .label::before,
.foundry2-pc a.inline-check .label i,
.foundry2-pc a.inline-check .label i.icon,
.foundry2-pc a.inline-roll:not(.inline-result)::before,
.foundry2-pc a.inline-roll:not(.inline-result) i,
.foundry2-pc a.inline-roll:not(.inline-result) i.icon,
[data-theme=foundry2] a.content-link::before,
[data-theme=foundry2] a.content-link i,
[data-theme=foundry2] a.content-link i.icon,
Expand Down Expand Up @@ -8549,17 +8580,27 @@ nav#controls.dorako-ui ol.control-tools > li.toggle:hover {
.foundry2 a.inline-roll:not(.inline-result) i.icon {
color: var(--color-light-1);
}
.foundry2-pc i[data-pf2-repost],
[data-theme=foundry2] i[data-pf2-repost],
.foundry2 i[data-pf2-repost] {
transition: text-shadow 0.15s ease-in-out, background-color 0.15s ease-in-out, border 0.15s ease-in-out, color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, backdrop-filter 0.15s ease-in-out, border-radius 0.15s, outline 0.15s;
cursor: pointer;
background: unset;
border-left: unset;
}
.foundry2-pc i[data-pf2-repost]:hover::before,
[data-theme=foundry2] i[data-pf2-repost]:hover::before,
.foundry2 i[data-pf2-repost]:hover::before {
color: var(--color-warm-2);
}

/* ---------------------------------------------------- */
/* Generalized style choices (exlusive of .foundry2-pc) */
/* ---------------------------------------------------- */
[data-theme=foundry2],
.foundry2 {
color: var(--color-light-3);
}
[data-theme=foundry2] input[type=text],
[data-theme=foundry2] input[type=number],
[data-theme=foundry2] input[type=password],
Expand Down Expand Up @@ -9025,7 +9066,7 @@ nav#controls.dorako-ui ol.control-tools > li.toggle:hover {
}
[data-theme=foundry2].window-app .window-content,
.foundry2.window-app .window-content {
background: unset;
background: unset !important;
box-shadow: unset;
}
[data-theme=foundry2].window-app .window-resizable-handle,
Expand Down
2 changes: 1 addition & 1 deletion styles/dorako-ui.css.map

Large diffs are not rendered by default.

0 comments on commit 3043739

Please sign in to comment.