Inherit font family body on most standard components

This commit is contained in:
Carlos Fernandez 2026-06-11 18:46:45 -04:00
parent 7a631c27a7
commit 2af8d3f914
2 changed files with 30 additions and 36 deletions

View file

@ -19,7 +19,3 @@
.dh-style { .dh-style {
.dh-typography(); .dh-typography();
} }
.dh-style fieldset {
.dh-typography();
}

View file

@ -49,6 +49,9 @@
* Apply default typography styles. * Apply default typography styles.
*/ */
.dh-typography() { .dh-typography() {
--font-body: @font-body;
font-family: @font-body;
h1 { h1 {
--dh-input-color-text: @color-text-emphatic; --dh-input-color-text: @color-text-emphatic;
font-family: @font-title; font-family: @font-title;
@ -86,22 +89,17 @@
font-weight: normal; font-weight: normal;
} }
p, // todo: determine if we can remove these or replace with font-family: inherit
span,
textarea,
label,
select,
multi-select .tags .tag, multi-select .tags .tag,
table, table,
fieldset legend, .tagify__dropdown {
input[type='text'],
input[type='number'],
input[type='search'],
.tagify__dropdown,
li {
font-family: @font-body; font-family: @font-body;
} }
textarea {
font-family: inherit;
}
button span { button span {
font-weight: bold; font-weight: bold;
} }