Skip to content

Commit

Permalink
fix font-family handling
Browse files Browse the repository at this point in the history
  • Loading branch information
deleonio committed Nov 8, 2023
1 parent 5a14da7 commit e05f9ae
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
10 changes: 7 additions & 3 deletions packages/components/src/components/a11y.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,17 @@
* Minimum size of interactive elements.
*/
--a11y-min-size: 44px;
font-size: inherit;
}
* {
/*
* Verdana is an accessible font that can be used without requiring additional loading time.
*/
font-family: Verdana;
/*
* Allows to adjust the font size from the parent element.
*/
font-size: inherit;
}

* {
/*
* This rule enables the word dividing for all texts. That is important for high zoom levels.
*/
Expand Down
8 changes: 0 additions & 8 deletions packages/components/src/components/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,6 @@ a,
button {
cursor: pointer;
}
/* font-family is NOT inherited all HTML elements. */
button,
input,
option,
select,
textarea {
font-family: inherit;
}
/* This is the text label. */
.icon-only > kol-span-wc > span > span {
display: none;
Expand Down

0 comments on commit e05f9ae

Please sign in to comment.