refactor font-family styles to avoid unecessary diplicities (#983)

This commit is contained in:
Murilo Brito 2025-08-17 09:37:39 -03:00 committed by GitHub
parent 2820c96259
commit 96d26a1e5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
69 changed files with 220 additions and 246 deletions

View file

@ -32,9 +32,7 @@
width: 30px;
}
span {
font-family: @font-body;
flex: 1;
font-weight: bold;
}
}
}
@ -55,7 +53,6 @@
display: flex;
align-items: center;
gap: 10px;
font-family: @font-body;
flex: 1;
i {
text-align: center;

View file

@ -210,7 +210,6 @@
button {
flex: 1;
font-family: @font-body;
font-weight: bold;
height: 40px;
}

View file

@ -7,7 +7,6 @@
border-top: 0;
a {
font-family: @font-body;
color: light-dark(@dark-blue, @golden);
&[disabled] {

View file

@ -26,7 +26,6 @@
display: flex;
align-items: center;
gap: 10px;
font-family: @font-body;
cursor: pointer;
flex: 1;
i {
@ -50,7 +49,6 @@
button {
flex: 1;
height: 40px;
font-family: @font-body;
font-weight: 600;
}
}

View file

@ -100,7 +100,6 @@
color: light-dark(@dark-blue, @golden);
.label {
font-family: @font-body;
font-style: normal;
font-weight: 400;
font-size: 14px;
@ -126,7 +125,6 @@
transition: all 0.3s ease;
.label {
font-family: @font-body;
font-style: normal;
font-weight: 400;
font-size: 14px;
@ -174,7 +172,6 @@
flex: 1;
height: 100%;
font-weight: bold;
font-family: @font-body;
}
}
}

View file

@ -15,8 +15,6 @@
}
.daggerheart.dh-style.views.downtime {
font-family: @font-body;
.downtime-container {
.activities-grouping {
width: 280px;
@ -39,7 +37,7 @@
.activity-marker {
font-size: 8px;
flex: none;
color: light-dark(#18162e, #f3c267);
color: light-dark(@dark-blue, @golden);
margin-right: 4px;
}
@ -93,9 +91,6 @@
.refreshable-title {
font-weight: bold;
}
.refreshable-name {
}
}
}
@ -107,7 +102,6 @@
button {
flex: 1;
height: 40px;
font-family: @font-body;
font-weight: 600;
}
}

View file

@ -10,7 +10,6 @@
gap: 10px;
button {
font-family: @font-body;
font-weight: bold;
height: 40px;
}

View file

@ -19,7 +19,6 @@
a,
span {
font-family: @font-body;
color: light-dark(@dark-blue, @golden);
}
}

View file

@ -30,10 +30,6 @@
width: 80%;
}
span {
font-family: @font-body;
}
.achievement-experience-marker {
border: 1px solid;
border-radius: 50%;
@ -127,7 +123,6 @@
margin-bottom: 10px;
h3 {
font-family: @font-subtitle;
color: light-dark(@dark, @beige);
margin: 0;
white-space: nowrap;

View file

@ -9,7 +9,6 @@
margin-bottom: 10px;
h3 {
font-family: @font-subtitle;
color: light-dark(@dark, @beige);
margin: 0;
white-space: nowrap;
@ -43,7 +42,6 @@
align-items: center;
gap: 4px;
font-size: 14px;
font-family: @font-body;
color: light-dark(@dark, @beige);
}
@ -52,7 +50,6 @@
align-items: center;
gap: 4px;
font-size: 16px;
font-family: @font-subtitle;
color: light-dark(@dark, @beige);
margin-bottom: 5px;
}
@ -66,7 +63,6 @@
border-radius: 3px;
padding: 0 4px;
font-size: 14px;
font-family: @font-body;
color: light-dark(@dark, @beige);
}
}

View file

@ -60,7 +60,6 @@
}
.checkbox-group-label {
font-family: @font-body;
font-size: 12px;
font-style: italic;
}

View file

@ -1,3 +1,5 @@
@import '../../utils/colors.less';
.theme-light .daggerheart.dh-style.dialog.multiclass-choice {
.multiclass-container .domain-choice-container button label {
background-image: url(../assets/parchments/dh-parchment-light.png);
@ -42,7 +44,6 @@
label {
position: absolute;
top: 4px;
font-family: @font-body;
border-radius: 6px;
border: 2px solid;
padding: 0 2px;