mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 06:26:13 +01:00
Fixed it mostly
This commit is contained in:
parent
9393bab6cf
commit
a2efd764c6
3 changed files with 35 additions and 74 deletions
|
|
@ -58,7 +58,8 @@ body.theme-dark,
|
|||
color-scheme: dark;
|
||||
}
|
||||
|
||||
/* .chat-log is hardcoded to be theme-light, so it ruins it. Gotta exclude it */
|
||||
body.theme-light,
|
||||
.themed.theme-light {
|
||||
.themed.theme-light:not(.chat-log) {
|
||||
color-scheme: light;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,85 +2,17 @@
|
|||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
/*sidebar/tabs/chat.hbs is hardcoded to be theme light. So it's okay to listen to interface to handle it*/
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat-sidebar .chat-log,
|
||||
#chat-notifications .chat-log {
|
||||
--text-color: @dark-blue;
|
||||
--bg-color: @dark-blue-40;
|
||||
|
||||
.chat-message {
|
||||
.roll-formula {
|
||||
background: @dark-15;
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
&.duality {
|
||||
background-image: url(../assets/parchments/dh-parchment-dark.png);
|
||||
|
||||
.message-content {
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
.roll-formula {
|
||||
background: @dark-15;
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
.message-header {
|
||||
.message-sub-header-container {
|
||||
color: @beige;
|
||||
h4 {
|
||||
color: @golden;
|
||||
}
|
||||
}
|
||||
.message-header-metadata {
|
||||
.message-metadata {
|
||||
color: @beige;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.hope {
|
||||
--text-color: @golden;
|
||||
--bg-color: @golden-40;
|
||||
.message-header,
|
||||
.message-content {
|
||||
background-color: @golden-bg;
|
||||
}
|
||||
.roll-formula {
|
||||
background: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
|
||||
&.fear {
|
||||
--text-color: @chat-blue;
|
||||
--bg-color: @chat-blue-40;
|
||||
.message-header,
|
||||
.message-content {
|
||||
background-color: @chat-blue-bg;
|
||||
}
|
||||
.roll-formula {
|
||||
background: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
|
||||
&.critical {
|
||||
--text-color: @chat-purple;
|
||||
--bg-color: @chat-purple-40;
|
||||
.message-header,
|
||||
.message-content {
|
||||
background-color: @chat-purple-bg;
|
||||
}
|
||||
.roll-formula {
|
||||
background: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:not(.duality) {
|
||||
.roll-formula {
|
||||
background: @dark-15;
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
.font-20 {
|
||||
color: @dark;
|
||||
}
|
||||
|
|
@ -153,7 +85,7 @@
|
|||
}
|
||||
|
||||
.vtt.stream.system-daggerheart .chat-sidebar,
|
||||
.daggerheart,
|
||||
.daggerheart.chat-sidebar .chat-log,
|
||||
#chat-notifications {
|
||||
.chat-message {
|
||||
--text-color: @golden;
|
||||
|
|
@ -174,9 +106,32 @@
|
|||
}
|
||||
|
||||
&.duality {
|
||||
background-image: url(../assets/parchments/dh-parchment-dark.png);
|
||||
|
||||
.message-header,
|
||||
.message-header .message-header-main {
|
||||
.message-sub-header-container {
|
||||
color: @beige;
|
||||
h4 {
|
||||
color: @golden;
|
||||
}
|
||||
}
|
||||
.message-header-metadata {
|
||||
.message-metadata {
|
||||
color: @beige;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.roll-formula {
|
||||
background: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
}
|
||||
|
||||
&.hope {
|
||||
--text-color: @golden;
|
||||
--bg-color: @golden-40;
|
||||
|
||||
.message-header,
|
||||
.message-content {
|
||||
background-color: @golden-bg;
|
||||
|
|
@ -202,6 +157,11 @@
|
|||
}
|
||||
}
|
||||
|
||||
// &:not(.duality) {
|
||||
// --text-color: light-dark(@dark-blue, @golden);
|
||||
// --bg-color: light-dark(@dark-blue-40, @golden-40);
|
||||
// }
|
||||
|
||||
.chat-roll {
|
||||
font-size: var(--font-size-12);
|
||||
padding: 0 20px;
|
||||
|
|
|
|||
|
|
@ -125,9 +125,9 @@
|
|||
|
||||
.group-roll-trait {
|
||||
padding: 2px 8px;
|
||||
border: 1px solid light-dark(white, white);
|
||||
border: 1px solid light-dark(@dark-blue, white);
|
||||
border-radius: 6px;
|
||||
color: light-dark(white, white);
|
||||
color: light-dark(@dark-blue, white);
|
||||
background: light-dark(@beige-80, @beige-80);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue