mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 12:41:07 +01:00
[Bugfix] Fix light theme to roll messages (#1066)
* fix light theme to roll messages * fix light theme issues * finally fix issues --------- Co-authored-by: WBHarry <williambjrklund@gmail.com>
This commit is contained in:
parent
661808b5f1
commit
2a0d748b5e
11 changed files with 523 additions and 423 deletions
|
|
@ -2,52 +2,137 @@
|
|||
@import '../../utils/fonts.less';
|
||||
@import '../../utils/spacing.less';
|
||||
|
||||
.theme-light {
|
||||
.daggerheart,
|
||||
#chat-notifications {
|
||||
#interface.theme-light {
|
||||
.daggerheart.chat-sidebar .chat-log,
|
||||
#chat-notifications .chat-log {
|
||||
--text-color: @dark-blue;
|
||||
--bg-color: @dark-blue-40;
|
||||
|
||||
.message-content .chat-roll {
|
||||
.roll-part-header {
|
||||
span,
|
||||
span:before,
|
||||
span:after {
|
||||
color: @dark-blue;
|
||||
}
|
||||
&:before {
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, @dark-blue 100%);
|
||||
color: @dark-blue;
|
||||
.chat-message {
|
||||
.roll-formula {
|
||||
background: @dark-15;
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
&.duality {
|
||||
background-image: url(../assets/parchments/dh-parchment-dark.png);
|
||||
|
||||
.message-content {
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
&:after {
|
||||
background: linear-gradient(90deg, @dark-blue 0%, rgba(0, 0, 0, 0) 100%);
|
||||
color: @dark-blue;
|
||||
.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);
|
||||
}
|
||||
}
|
||||
}
|
||||
.roll-section {
|
||||
.roll-part-content {
|
||||
.roll-result-value {
|
||||
|
||||
&:not(.duality) {
|
||||
.font-20 {
|
||||
color: @dark;
|
||||
}
|
||||
|
||||
.roll-die {
|
||||
color: @beige;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
color: @dark-blue;
|
||||
border-color: @dark-blue;
|
||||
|
||||
legend {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
.chat-roll {
|
||||
.roll-part-header {
|
||||
color: @dark-blue;
|
||||
|
||||
.dice-tooltip .wrapper .roll-die {
|
||||
color: @beige;
|
||||
span::before,
|
||||
span::after {
|
||||
color: @dark-blue;
|
||||
}
|
||||
|
||||
&:before {
|
||||
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, @dark-blue 100%);
|
||||
}
|
||||
|
||||
&:after {
|
||||
background: linear-gradient(90deg, @dark-blue 0%, rgba(0, 0, 0, 0) 100%);
|
||||
}
|
||||
}
|
||||
|
||||
.roll-part-content {
|
||||
&.dice-result {
|
||||
color: @dark;
|
||||
}
|
||||
.roll-result-container {
|
||||
color: @dark-blue;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.chat-message .roll-formula {
|
||||
background: @dark-15;
|
||||
color: @dark;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.daggerheart.chat {
|
||||
&.resource-roll {
|
||||
.reroll-message {
|
||||
color: @beige;
|
||||
text-align: center;
|
||||
font-size: var(--font-size-18);
|
||||
margin-bottom: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue