Merged with main

This commit is contained in:
WBHarry 2026-01-26 14:36:58 +01:00
commit 286944d2e6
207 changed files with 4909 additions and 1073 deletions

View file

@ -0,0 +1,27 @@
.daggerheart.dh-style.dialog.views.character-reset {
.character-reset-container {
display: flex;
flex-direction: column;
gap: 8px;
legend {
padding: 0 4px;
}
.character-reset-header {
font-size: var(--font-size-18);
text-align: center;
}
.reset-data-container {
display: grid;
grid-template-columns: 3fr 2fr;
align-items: center;
gap: 4px;
label {
font-weight: bold;
}
}
}
}

View file

@ -1,55 +1,56 @@
@import '../../utils/spacing.less';
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.daggerheart.dh-style.dialog.death-move {
.death-move-container {
display: flex;
flex-direction: column;
gap: 5px;
.moves-list {
.move-item {
display: flex;
align-items: center;
gap: 5px;
&:hover {
background-color: light-dark(@soft-shadow, @soft-white-shadow);
cursor: pointer;
}
padding: 5px;
border-radius: 5px;
transition: background-color 0.3s ease-in-out;
.label {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
flex: 1;
i {
text-align: center;
width: 30px;
}
}
input[type='radio'] {
margin-left: auto;
}
}
}
}
footer {
margin-top: 8px;
display: flex;
gap: 8px;
button {
flex: 1;
height: 40px;
font-weight: 600;
}
}
}
@import '../../utils/spacing.less';
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.daggerheart.dh-style.dialog.death-move {
.death-move-container {
display: flex;
flex-direction: column;
gap: 5px;
.moves-list {
.move-item {
display: flex;
align-items: center;
gap: 5px;
padding: 5px;
border-radius: 5px;
transition: background-color 0.3s ease-in-out;
height: 37px;
&:hover {
background-color: light-dark(@soft-shadow, @soft-white-shadow);
cursor: pointer;
}
.label {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
flex: 1;
i {
text-align: center;
width: 30px;
}
}
input[type='radio'] {
margin-left: auto;
}
}
}
}
footer {
margin-top: 8px;
display: flex;
gap: 8px;
button {
flex: 1;
height: 40px;
font-weight: 600;
}
}
}

View file

@ -38,4 +38,8 @@
@import './item-transfer/sheet.less';
@import './settings/change-currency-icon.less';
@import './settings/change-currency-icon.less';
@import './risk-it-all/sheet.less';
@import './character-reset/sheet.less';

View file

@ -0,0 +1,60 @@
.daggerheart.dialog.dh-style.views.risk-it-all {
.risk-it-all-container {
display: flex;
align-items: center;
flex-direction: column;
gap: 8px;
text-align: center;
header {
font-weight: bold;
font-size: var(--font-size-20);
}
.section-label {
font-size: var(--font-size-18);
text-decoration: underline;
}
.remaining-section {
display: flex;
flex-direction: column;
gap: 2px;
}
.resource-section {
width: 100%;
display: flex;
gap: 8px;
}
.final-section {
width: 100%;
display: flex;
flex-direction: column;
gap: 2px;
.final-section-values-container {
width: 100%;
display: flex;
align-items: center;
justify-content: space-evenly;
.final-section-value-container {
display: flex;
flex-direction: column;
gap: 2px;
}
}
}
}
footer {
width: 100%;
display: flex;
button {
flex: 1;
}
}
}

View file

@ -2,19 +2,25 @@
@import '../utils/fonts.less';
@import '../utils/mixin.less';
.theme-light {
.daggerheart.chat-sidebar .chat-log,
#chat-notifications .chat-log {
.chat-message {
background-image: url('../assets/parchments/dh-parchment-light.png');
.daggerheart.chat-sidebar.theme-light,
#interface.theme-light {
.chat-log .chat-message {
background-image: url('../assets/parchments/dh-parchment-light.png');
.message-header .message-header-metadata .message-metadata,
.message-header .message-header-main .message-sub-header-container {
color: @dark;
}
.message-header .message-header-metadata .message-metadata,
.message-header .message-header-main .message-sub-header-container {
color: @dark;
}
.message-header .message-header-main .message-sub-header-container h4 {
color: @dark-blue;
.message-header .message-header-main .message-sub-header-container h4 {
color: @dark-blue;
}
.message-content {
.table-draw {
.table-description {
color: @dark;
}
}
}
}
@ -85,6 +91,7 @@
.message-content {
padding-bottom: 8px;
.flavor-text {
font-size: var(--font-size-12);
line-height: 20px;
@ -92,6 +99,33 @@
text-align: center;
display: block;
}
.table-draw {
.table-flavor {
padding-top: 5px;
padding-bottom: 0.5rem;
font-size: var(--font-size-12);
}
.table-description {
color: @beige;
font-style: italic;
&.flavor-spaced {
padding-top: 0;
}
}
.table-results {
.description {
flex-basis: min-content;
> p:first-of-type {
margin-top: 0;
}
}
}
}
}
}
}

View file

@ -67,6 +67,35 @@
}
}
.dialog-selection-container {
display: flex;
gap: 10px;
flex-wrap: wrap;
.selection-chip {
display: flex;
align-items: center;
border-radius: 5px;
width: fit-content;
gap: 5px;
cursor: pointer;
padding: 5px;
background: light-dark(@dark-blue-10, @golden-10);
color: light-dark(@dark-blue, @golden);
.label {
font-style: normal;
font-weight: 400;
font-size: var(--font-size-14);
line-height: 17px;
}
&.selected {
background: light-dark(@dark-blue-40, @golden-40);
}
}
}
.standard-form {
font-family: @font-body;
}

View file

@ -1,5 +1,6 @@
.measured-template-button,
.enriched-damage-button,
.fate-roll-button,
.duality-roll-button {
display: inline;

View file

@ -51,3 +51,14 @@
}
}
}
/* TODO: Remove me when this issue is resolved https://github.com/foundryvtt/foundryvtt/issues/13734 */
body.theme-dark,
.themed.theme-dark {
color-scheme: dark;
}
body.theme-light,
.themed.theme-light {
color-scheme: light;
}

View file

@ -10,7 +10,6 @@
@import './tab-description.less';
@import './tab-features.less';
@import './tab-effects.less';
@import './tab-settings.less';
@import './item-header.less';
@import './feature-section.less';
@import './inventory-item.less';

View file

@ -160,7 +160,7 @@
.item-description {
display: flex;
flex-direction: column;
gap: 10px;
gap: 7px;
}
h3 {

View file

@ -1,8 +0,0 @@
@import '../utils/colors.less';
@import '../utils/fonts.less';
.sheet.daggerheart.dh-style {
.tab.settings {
margin-bottom: 36px;
}
}

View file

@ -24,13 +24,13 @@
font-weight: bold;
}
}
}
.clown-car img {
transition: 0.5s;
.clown-car img {
transition: 0.5s;
&.flipped {
transform: scaleX(-1);
}
&.flipped {
transform: scaleX(-1);
}
}

View file

@ -1,4 +1,53 @@
.application.daggerheart.dh-style.action-config {
.actor-summon-items {
width: 100%;
display: flex;
flex-direction: column;
gap: 10px;
.actor-summon-line {
display: flex;
align-items: center;
gap: 5px;
border-radius: 3px;
.actor-summon-name {
flex: 2;
display: flex;
align-items: center;
gap: 5px;
img {
height: 40px;
}
}
.actor-summon-controls {
flex: 1;
display: flex;
align-items: center;
gap: 5px;
.controls {
display: flex;
gap: 5px;
}
}
}
.summon-dragger {
display: flex;
align-items: center;
justify-content: center;
box-sizing: border-box;
height: 40px;
margin-top: 10px;
border: 1px dashed light-dark(@dark-blue-50, @beige-50);
border-radius: 3px;
color: light-dark(@dark-blue-50, @beige-50);
}
}
.trigger-data {
width: 100%;
display: flex;

View file

@ -148,7 +148,7 @@
padding: 0 0.375rem;
}
button[data-action=viewParty] {
button[data-action='viewParty'] {
margin-right: 6px;
}
}
@ -195,6 +195,11 @@
.hope-value {
display: flex;
cursor: pointer;
&.scar {
cursor: initial;
opacity: 0.6;
}
}
}
}

View file

@ -207,7 +207,7 @@
.input-section {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
}

View file

@ -39,3 +39,6 @@
@import './items/feature.less';
@import './items/heritage.less';
@import './items/item-sheet-shared.less';
@import './rollTables/sheet.less';
@import './actions/actions.less';

View file

@ -0,0 +1,29 @@
.application.sheet.roll-table-sheet {
.formulas-section {
legend {
margin-left: auto;
margin-right: auto;
}
.formulas-container {
display: grid;
grid-template-columns: 1fr 1fr 40px;
gap: 10px;
text-align: center;
.formula-button {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
}
}
}
.roll-table-view-formula-container {
width: fit-content;
display: flex;
align-items: center;
gap: 4px;
}
}

View file

@ -2,6 +2,7 @@
@import '../../utils/fonts.less';
@import '../../utils/spacing.less';
.daggerheart.chat-sidebar.theme-light,
#interface.theme-light {
.daggerheart.chat.domain-card {
.domain-card-move .domain-card-header {

View file

@ -2,6 +2,7 @@
@import '../../utils/fonts.less';
@import '../../utils/spacing.less';
.daggerheart.chat-sidebar.theme-light,
#interface.theme-light {
.daggerheart.chat.action {
.action-move .action-section {
@ -98,6 +99,61 @@
.description {
padding: 8px;
.summons-header {
font-size: var(--font-size-14);
text-align: center;
display: flex;
align-items: center;
justify-content: center;
span {
width: 100%;
}
&:before,
&:after {
content: ' ';
height: 1px;
width: 100%;
}
&:before {
background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, light-dark(@dark-blue, @golden) 100%);
}
&:after {
background: linear-gradient(90deg, light-dark(@dark-blue, @golden) 0%, rgba(0, 0, 0, 0) 100%);
}
}
.summons-container {
display: flex;
flex-direction: column;
gap: 4px;
.summon-container {
display: flex;
align-items: center;
justify-content: space-between;
.summon-label-container {
flex: 1;
display: flex;
align-items: center;
gap: 4px;
img {
height: 32px;
}
label {
display: flex;
flex-wrap: wrap;
}
}
}
}
}
.ability-card-footer {

View file

@ -2,9 +2,9 @@
@import '../../utils/fonts.less';
@import '../../utils/spacing.less';
.daggerheart.chat-sidebar.theme-light,
#interface.theme-light {
.daggerheart.chat-sidebar .chat-log,
#chat-notifications .chat-log {
.chat-log {
--text-color: @dark-blue;
--bg-color: @dark-blue-40;
@ -14,6 +14,7 @@
color: @dark;
}
&.fate,
&.duality {
background-image: url(../assets/parchments/dh-parchment-dark.png);
@ -66,6 +67,7 @@
}
}
&.fate,
&.critical {
--text-color: @chat-purple;
--bg-color: @chat-purple-40;
@ -80,7 +82,7 @@
}
}
&:not(.duality) {
&:not(.duality .fate) {
.font-20 {
color: @dark;
}
@ -173,6 +175,26 @@
}
}
&.fate {
&.hope {
--text-color: @golden;
--bg-color: @golden-40;
.message-header,
.message-content {
background-color: @golden-bg;
}
}
&.fear {
--text-color: @chat-blue;
--bg-color: @chat-blue-40;
.message-header,
.message-content {
background-color: @chat-blue-bg;
}
}
}
&.duality {
&.hope {
--text-color: @golden;

View file

@ -1,5 +1,6 @@
@import '../../utils/colors.less';
.daggerheart.chat-sidebar.theme-light,
#interface.theme-light {
.daggerheart.chat.damage-summary .token-target-container {
&:hover {

View file

@ -0,0 +1,152 @@
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
@import '../../utils/spacing.less';
#interface.theme-light {
.daggerheart.chat.death-moves {
.death-moves-list .death-move {
&:hover {
background: @dark-blue-10;
}
.death-label {
border-bottom: 1px solid @dark-blue;
.header-label .title {
color: @dark-blue;
}
.header-label .label {
color: @dark;
}
}
.fa-chevron-down {
color: @dark-blue;
}
}
.description {
color: @dark;
}
.result {
color: @dark;
}
.risk-it-all-button {
color: @dark;
}
}
}
.daggerheart.chat {
&.death-moves {
display: flex;
flex-direction: column;
align-items: center;
details[open] {
.fa-chevron-down {
transform: rotate(180deg);
transition: all 0.3s ease;
}
}
.death-moves-list {
display: flex;
flex-direction: column;
gap: 5px;
width: 100%;
.fa-chevron-down {
transition: all 0.3s ease;
margin-left: auto;
}
.death-move {
width: 100%;
.death-label {
display: flex;
align-items: center;
gap: 5px;
border-bottom: 1px solid @golden;
margin: 0 8px;
padding-bottom: 5px;
width: -webkit-fill-available;
&:hover {
background: light-dark(@dark-blue-10, @golden-10);
cursor: pointer;
transition: all 0.3s ease;
}
.death-image {
width: 40px;
height: 40px;
border-radius: 3px;
}
.header-label {
padding: 8px;
.title {
font-size: var(--font-size-16);
color: @golden;
font-weight: 700;
}
.label {
font-size: var(--font-size-12);
color: @beige;
margin: 0;
}
}
}
.description {
padding: 8px;
}
}
.action-use-button-parent {
width: 100%;
.action-use-target {
display: flex;
align-items: center;
justify-content: space-between;
gap: 4px;
width: 100%;
padding: 4px 8px 10px 40px;
font-size: var(--font-size-12);
label {
font-weight: bold;
}
select {
flex: 1;
}
}
}
.action-use-button {
width: -webkit-fill-available;
margin: 0 8px;
font-weight: 600;
height: 40px;
}
}
.result {
padding: 8px;
font-weight: bold;
}
.risk-it-all-button {
width: -webkit-fill-available;
margin: 0 8px;
font-weight: 600;
height: 40px;
}
}
}

View file

@ -2,6 +2,7 @@
@import '../../utils/fonts.less';
@import '../../utils/spacing.less';
.daggerheart.chat-sidebar.theme-light,
#interface.theme-light {
.daggerheart.chat.downtime {
.downtime-moves-list .downtime-move {
@ -103,7 +104,7 @@
width: 100%;
.action-use-target {
display:flex;
display: flex;
align-items: center;
justify-content: space-between;
gap: 4px;
@ -127,7 +128,6 @@
font-weight: 600;
height: 40px;
}
}
}
}

View file

@ -1,5 +1,6 @@
@import '../../utils/colors.less';
.daggerheart.chat-sidebar.theme-light,
#interface.theme-light {
.daggerheart.chat.effect-summary {
.effect-header,

View file

@ -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);
}
}

View file

@ -1,6 +1,7 @@
@import '../../utils/colors.less';
@import '../../utils/fonts.less';
.daggerheart.chat-sidebar.theme-light,
#interface.theme-light {
.chat-message:not(.duality) .message-content {
color: @dark;

View file

@ -6,6 +6,7 @@
@import './chat/effect-summary.less';
@import './chat/group-roll.less';
@import './chat/refresh-message.less';
@import './chat/deathmoves.less';
@import './chat/sheet.less';
@import './combat-sidebar/combat-sidebar.less';

View file

@ -5,6 +5,8 @@
display: flex;
flex-direction: column;
gap: 8px;
overflow: auto;
height: 100%;
}
h2 {

View file

@ -1,4 +1,4 @@
.theme-light #interface #ui-right #sidebar {
.theme-light#interface #ui-right #sidebar {
menu li button img {
filter: @grey-filter;
}