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

@ -48,7 +48,6 @@
}
.formula-label {
font-family: @font-body;
font-style: normal;
font-weight: 500;
font-size: 14px;
@ -81,7 +80,6 @@
button[type='submit'] {
gap: 5px;
flex-direction: row;
font-family: @font-body;
font-weight: bold;
font-size: var(--font-size-14);
height: 40px;

View file

@ -76,7 +76,6 @@
textarea {
color: light-dark(@dark, @beige);
font-family: @font-body;
scrollbar-width: thin;
scrollbar-color: light-dark(@dark-blue, @golden) transparent;
}
@ -126,7 +125,6 @@
select {
background: light-dark(transparent, transparent);
color: light-dark(@dark, @beige);
font-family: @font-body;
outline: 2px solid transparent;
border: 1px solid light-dark(@dark, @beige);
@ -161,7 +159,6 @@
padding: 0.3rem 0.5rem;
color: light-dark(@dark-blue, @golden);
background-color: light-dark(@dark-blue-10, @golden-40);
font-family: @font-body;
border-radius: 3px;
transition: 0.13s ease-out;
gap: 0.5rem;
@ -180,7 +177,6 @@
}
table {
font-family: @font-body;
border-radius: 3px;
thead {
@ -309,7 +305,6 @@
}
legend {
font-family: @font-body;
font-weight: bold;
color: light-dark(@dark-blue, @golden);
}
@ -317,7 +312,6 @@
input[type='text'],
input[type='number'] {
color: light-dark(@dark, @beige);
font-family: @font-body;
transition: all 0.3s ease;
outline: 2px solid transparent;
@ -368,7 +362,6 @@
.form-group {
width: 100%;
label {
font-family: @font-body;
font-weight: bold;
font-size: smaller;
}
@ -407,7 +400,6 @@
display: flex;
flex-direction: column;
white-space: nowrap;
font-family: @font-body;
font-size: 14px;
font-weight: 400;
@ -503,7 +495,6 @@
color: light-dark(@dark-blue, @dark-blue);
white-space: nowrap;
border: 0;
font-family: @font-body;
&:hover {
color: light-dark(@dark-blue, @golden);
@ -604,7 +595,6 @@
label {
font-size: 16px;
font-family: @font-body;
}
.form-fields {
@ -679,7 +669,6 @@
.tagify__dropdown {
border: 1px solid light-dark(@dark, @beige) !important;
font-family: @font-body;
color: light-dark(@dark, @beige);
.tagify__dropdown__wrapper {
@ -774,7 +763,6 @@
}
.preview-text-container {
font-family: @font-body;
padding: 10px 0;
text-align: center;
font-size: 16px;
@ -810,7 +798,6 @@
font-size: 10px;
font-variant: small-caps;
text-align: center;
font-family: @font-body;
font-style: italic;
color: light-dark(@dark-blue-60, @beige-80);
}

View file

@ -24,7 +24,6 @@
align-items: center;
grid-template-columns: 1fr 4fr 1fr;
h4 {
font-family: @font-body;
font-weight: lighter;
color: light-dark(@dark, @beige);
}

View file

@ -12,7 +12,6 @@
padding: 5px;
legend {
font-family: @font-body;
font-weight: bold;
color: light-dark(@dark-blue, @golden);
font-size: var(--font-size-12);

View file

@ -102,7 +102,6 @@
.item-label {
flex: 1;
font-family: @font-body;
align-self: center;
.item-name {
@ -202,7 +201,6 @@
padding: 0 0 0 1.25rem;
li {
font-family: @font-body;
margin-bottom: 0.25rem;
}
}
@ -310,7 +308,6 @@
mask-image: linear-gradient(180deg, transparent 0%, black 20%);
.card-name {
font-family: @font-body;
font-style: normal;
font-weight: 400;
font-size: 12px;

View file

@ -34,7 +34,6 @@
padding: 0 0 0 1.25rem;
li {
font-family: @font-body;
margin-bottom: 0.25rem;
}
}

View file

@ -26,7 +26,6 @@
}
h4 {
font-family: @font-body;
font-weight: lighter;
color: @beige;
}

View file

@ -19,7 +19,6 @@
cursor: pointer;
h4 {
font-family: @font-body;
font-weight: lighter;
color: @beige;
}

View file

@ -26,7 +26,6 @@
}
h4 {
font-family: @font-body;
font-weight: lighter;
color: @beige;
}

View file

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