Commit 65bf7755 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Add font-related utility classes

These are interim until we establish a typography pattern layer, and
are intended to keep individual font rules from littering component styles.
parent cd415bdd
......@@ -3,6 +3,11 @@
@use './variables' as var;
// Utility classes
// These will be extracted and considered when developing typography patterns
.u-font--small {
@include utils.font--small;
}
.u-font--large {
@include utils.font--large;
......@@ -11,6 +16,19 @@
.u-font--xlarge {
@include utils.font--xlarge;
}
.u-font--bold {
font-weight: bold;
}
.u-font--italic {
font-style: italic;
}
.u-line-height {
line-height: 1;
}
// Icons
// These utilities establish dimensions appropriate for icon elements
......@@ -44,6 +62,10 @@
color: var.$color-text--light;
}
.u-color-text {
color: var.$color-text;
}
// TODO: This is a temporary utility class to allow elements in the sidebar
// (e.g. panels, thread cards, etc.)
// to apply margins such that they are evenly spaced. In the future, the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment