example for using Shoelaces Typography #604
Unanswered
chuongtang
asked this question in
Help
Replies: 1 comment 1 reply
-
The design tokens are CSS custom properties, not classes. You're probably looking for #413, but that's still on the roadmap. In the meantime, you can map design tokens to tags/classes yourself: h1 {
font-family: var(--sl-font-sans);
font-weight: var(--sl-font-weight-bold);
color: var(--sl-color-orange-500);
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all, I am exploring some cool features from Shoelaces and can't get the typography classes to work. Does anyone have an example?
Here is my attempt :
<p sl-font-weight-bold sl-color-orange-500> some texts here..</p>
Beta Was this translation helpful? Give feedback.
All reactions