Font Variables #2065
Faf4a
started this conversation in
Feature Requests
Font Variables
#2065
Replies: 1 comment 1 reply
-
Thanks for the suggestion @Faf4a! Re: code fonts — this is already possible using the :root {
--sl-font-mono: "JetBrainsMono";
} |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of
starlight
are you using?0.23.4
What is your idea?
I recently tried to modify the font of the headers, and found out that there is no font variable for just headers, there's only a universal font variable (
--sl-font
).It would be great if we had something like
--sl-header-font
to easily change the header fonts as you currently have to do this:Doing this:
Would be way easier.
Why is this feature necessary?
quality of life change
Do you have examples of this feature in other projects?
No response
Participation
Beta Was this translation helpful? Give feedback.
All reactions