mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-22 02:19: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-style {
|
||||||
.dh-typography();
|
.dh-typography();
|
||||||
}
|
}
|
||||||
|
|
||||||
.dh-style fieldset {
|
|
||||||
.dh-typography();
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -49,16 +49,15 @@
|
||||||
* 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;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
border: none;
|
border: none;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
input[type='text'],
|
|
||||||
.input[contenteditable] {
|
|
||||||
font-family: @font-title;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
h2,
|
h2,
|
||||||
|
|
@ -86,22 +85,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