mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-24 11:29:54 +02:00
Inherit font family body on most standard components
This commit is contained in:
parent
7a631c27a7
commit
2af8d3f914
2 changed files with 30 additions and 36 deletions
|
|
@ -19,7 +19,3 @@
|
|||
.dh-style {
|
||||
.dh-typography();
|
||||
}
|
||||
|
||||
.dh-style fieldset {
|
||||
.dh-typography();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,6 +49,9 @@
|
|||
* Apply default typography styles.
|
||||
*/
|
||||
.dh-typography() {
|
||||
--font-body: @font-body;
|
||||
font-family: @font-body;
|
||||
|
||||
h1 {
|
||||
--dh-input-color-text: @color-text-emphatic;
|
||||
font-family: @font-title;
|
||||
|
|
@ -86,22 +89,17 @@
|
|||
font-weight: normal;
|
||||
}
|
||||
|
||||
p,
|
||||
span,
|
||||
textarea,
|
||||
label,
|
||||
select,
|
||||
// todo: determine if we can remove these or replace with font-family: inherit
|
||||
multi-select .tags .tag,
|
||||
table,
|
||||
fieldset legend,
|
||||
input[type='text'],
|
||||
input[type='number'],
|
||||
input[type='search'],
|
||||
.tagify__dropdown,
|
||||
li {
|
||||
.tagify__dropdown {
|
||||
font-family: @font-body;
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
button span {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue