Added Custom Adversary Types (#1048)

This commit is contained in:
WBHarry 2025-08-23 02:18:25 +02:00 committed by GitHub
parent ee786544c7
commit d5f7e17339
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 156 additions and 10 deletions

View file

@ -21,3 +21,4 @@
@import './settings/settings.less';
@import './settings/homebrew-settings/domains.less';
@import './settings/homebrew-settings/types.less';

View file

@ -0,0 +1,52 @@
.theme-light .daggerheart.dh-style.setting.homebrew-settings .types.tab {
.adversary-types-container .adversary-type-container {
background-image: url('../assets/parchments/dh-parchment-light.png');
}
}
.daggerheart.dh-style.setting.homebrew-settings {
.types.tab {
.adversary-types-container {
width: 100%;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 4px;
.adversary-type-container {
height: 2em;
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
border: 1px solid;
border-radius: 6px;
padding: 0 8px;
border: 1px solid light-dark(@dark-blue, @golden);
color: light-dark(@dark, @beige);
background-image: url('../assets/parchments/dh-parchment-dark.png');
cursor: pointer;
opacity: 0.6;
&:hover {
opacity: 1;
}
&.active {
opacity: 1;
background: var(--color-warm-2);
}
}
}
.type-edit-container {
width: 100%;
display: flex;
flex-direction: column;
gap: 8px;
textarea {
width: 100%;
}
}
}
}