Prepend to Default Theme Variable #19820
Unanswered
alexschcom
asked this question in
Help
Replies: 1 comment
-
|
You could consider adding the raw default value into the definition manually: @theme {
--font-sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
I'm trying to use a custom font. I'd like to use the value of
font-sansas the fallback and I don't want to create a separate utility class (likefont-main). I know I can't doas that creates a cyclic dependency --
Is there any way I can prepend the name of my custom font to
font-sans?Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions