mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
[Refactor] Inherit font family body on most standard components (#1994)
This commit is contained in:
parent
9f26c53af5
commit
a486ed75a2
2 changed files with 30 additions and 40 deletions
|
|
@ -19,7 +19,3 @@
|
|||
.dh-style {
|
||||
.dh-typography();
|
||||
}
|
||||
|
||||
.dh-style fieldset {
|
||||
.dh-typography();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -49,16 +49,15 @@
|
|||
* 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;
|
||||
margin: 0;
|
||||
border: none;
|
||||
font-weight: normal;
|
||||
input[type='text'],
|
||||
.input[contenteditable] {
|
||||
font-family: @font-title;
|
||||
}
|
||||
}
|
||||
|
||||
h2,
|
||||
|
|
@ -86,22 +85,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