mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-24 03:19:55 +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-style {
|
||||||
.dh-typography();
|
.dh-typography();
|
||||||
}
|
}
|
||||||
|
|
||||||
.dh-style fieldset {
|
|
||||||
.dh-typography();
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue