Skip to content

Commit

Permalink
3.5.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Jun 12, 2024
1 parent 76d767b commit 6aece95
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 75 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 3.5.2

- (Fix) Fixed an issue where a small bit of css was not scoped properly, resulting in illegible text on Psychic spells when using the 'no theme' option.
- (Fix) Updated styling for prosemirror inputs on character sheets, so they can be edited again.

# 3.5.1

- (Fix) Fixed some console spam.
Expand Down
14 changes: 7 additions & 7 deletions sass/ui-theme/pf2e-system/_actor-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,14 @@
&.actor.sheet .crb-style .sheet-body .sheet-content ol.spell-list > li .item-summary {
border-top: unset; // system hardcoded color
}
}

.actor.sheet:not([data-theme^="crb"]) {
&.actor.sheet section.window-content .item-summary .description .addendum {
border-radius: var(--border-radius);
border: 1px solid var(--fieldset-border-color);
background: var(--fieldset-background-color);
color: var(--text-color-3);
&.actor.sheet:not([data-theme^="crb"]) {
&.actor.sheet section.window-content .item-summary .description .addendum {
border-radius: var(--border-radius);
border: 1px solid var(--fieldset-border-color);
background: var(--fieldset-background-color);
color: var(--text-color-3);
}
}
}

Expand Down
40 changes: 23 additions & 17 deletions sass/ui-theme/pf2e-system/_pc-sheet.scss
Original file line number Diff line number Diff line change
Expand Up @@ -389,30 +389,36 @@
section input {
@include dui-input;
}

.prosemirror menu {
width: 100%;
--menu-background: color-mix(in srgb, var(--color-control-bg) 50%, transparent);
}

.editor {
@include dui-input;
height: auto;
background: var(--dui-input-background);
border-radius: var(--border-radius);
.tox.tox-tinymce {
background: white;
}
}
}

&.actor.sheet.character .crb-style.locked.limited .sheet-body .sheet-content .tab.biography {
section input,
.editor {
--dui-input-text-color: var(--text-color-3);
--input-focus-text-color: var(--text-color-3);
--dui-input-background: transparent;
--dui-input-border-color: transparent;
--dui-input-focus-outline-color: transparent;
--box-shadow: transparent;

&:hover {
outline-color: transparent;
}
}
}
// &.actor.sheet.character .crb-style.locked.limited .sheet-body .sheet-content .tab.biography {
// section input,
// .editor {
// --dui-input-text-color: var(--text-color-3);
// --input-focus-text-color: var(--text-color-3);
// --dui-input-background: transparent;
// --dui-input-border-color: transparent;
// --dui-input-focus-outline-color: transparent;
// --box-shadow: transparent;

// &:hover {
// outline-color: transparent;
// }
// }
// }

//prettier-ignore
&.actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-name .feat-slot-title,
Expand Down
2 changes: 1 addition & 1 deletion sass/ui-theme/themes/_discord.scss
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
// --color-bg-btn-minor-inactive: var(--app-background);
// --color-bg-btn-minor-active: var(--color-primary-2);
--color-text-dark-primary: var(--discord-text-3);
--color-text-dark-secondary: var(--discord-text-5);
--color-text-dark-secondary: var(--discord-text-4);
// --color-bg-option: var(--color-secondary-4);
}

Expand Down
56 changes: 7 additions & 49 deletions styles/dorako-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -8052,8 +8052,7 @@ nav#controls[data-theme] ol.control-tools > li.toggle:disabled {
[data-theme].actor.sheet .crb-style .sheet-body .sheet-content ol.spell-list > li .item-summary {
border-top: unset;
}

.actor.sheet:not([data-theme^=crb]).actor.sheet section.window-content .item-summary .description .addendum {
[data-theme].actor.sheet:not([data-theme^=crb]).actor.sheet section.window-content .item-summary .description .addendum {
border-radius: var(--border-radius);
border: 1px solid var(--fieldset-border-color);
background: var(--fieldset-background-color);
Expand Down Expand Up @@ -9365,58 +9364,17 @@ nav#controls[data-theme] ol.control-tools > li.toggle:disabled {
border: unset !important;
box-shadow: unset !important;
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .prosemirror menu {
width: 100%;
--menu-background: color-mix(in srgb, var(--color-control-bg) 50%, transparent);
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor {
background: var(--dui-input-background);
border: var(--app-border-width) solid;
border-color: var(--dui-input-border-color) !important;
color: var(--dui-input-text-color);
box-shadow: var(--input-box-shadow) !important;
align-items: center;
border-radius: 4px;
outline: 0px solid transparent;
user-select: text;
transition: outline-color 0.5s;
height: auto;
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor:not(:disabled, .disabled, [type=checkbox]):hover, [data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor:focus {
outline: 1px solid var(--dui-input-focus-outline-color);
border: var(--app-border-width) solid;
border-color: var(--dui-input-border-color);
color: var(--input-focus-text-color);
box-shadow: var(--box-shadow);
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor.disabled, [data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor:disabled {
--dui-input-text-color: var(--text-color-disabled);
--dui-input-background: var(--input-disabled-background);
--dui-input-border-color: var(--input-disabled-border-color);
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor.disabled::placeholder, [data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor:disabled::placeholder {
color: color-mix(in srgb, var(--dui-input-placeholder-color) 50%, transparent);
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor::placeholder {
color: var(--dui-input-placeholder-color);
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor[type=checkbox] {
outline: unset !important;
border: unset !important;
box-shadow: unset !important;
border-radius: var(--border-radius);
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.biography .editor .tox.tox-tinymce {
background: white;
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style.locked.limited .sheet-body .sheet-content .tab.biography section input,
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style.locked.limited .sheet-body .sheet-content .tab.biography .editor {
--dui-input-text-color: var(--text-color-3);
--input-focus-text-color: var(--text-color-3);
--dui-input-background: transparent;
--dui-input-border-color: transparent;
--dui-input-focus-outline-color: transparent;
--box-shadow: transparent;
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style.locked.limited .sheet-body .sheet-content .tab.biography section input:hover,
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style.locked.limited .sheet-body .sheet-content .tab.biography .editor:hover {
outline-color: transparent;
}
[data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character section.window-content .crb-style .sheet-body .sheet-content > .tab.active.feats ol.feats-list li.slot .item-name .feat-slot-title, [data-theme][data-dorako-ui-scope=limited]:not([data-theme^=crb][data-color-scheme=light]).actor.sheet.character .crb-style .sheet-body .sheet-content .tab.feats li.feat-item .item-name .feat-slot-title {
--color-pf-secondary: var(--accent-color);
}
Expand Down Expand Up @@ -10270,7 +10228,7 @@ nav#controls[data-theme] ol.control-tools > li.toggle:disabled {
--color-border-highlight-alt: var(--accent-color-dark);
--color-border-divider: var(--discord-border-color);
--color-text-dark-primary: var(--discord-text-3);
--color-text-dark-secondary: var(--discord-text-5);
--color-text-dark-secondary: var(--discord-text-4);
}

/* ----------------------------------------- */
Expand Down
2 changes: 1 addition & 1 deletion styles/dorako-ui.css.map

Large diffs are not rendered by default.

0 comments on commit 6aece95

Please sign in to comment.