Skip to content

Where are default global styles documented? How to override, how to use spacing values in custom components? #826

Closed Answered by strlns
strlns asked this question in Q&A
Discussion options

You must be logged in to vote

My question 1 is kind of resolved, as I can override styles if I really need to in my current SSG setup, I just need to be specific enough. Which leads to

Question 2:
Geist-UI apparently just requires sticking to CSS-in-JS, it uses styled-jsx which uses inline styles, overriding them instead of configuring the theme is an uphill battle. Although my CSS modules are also injected as inline style tags in the SSG setup I currently use, which makes overriding geist a little easier.

Still, all of this is brittle and the preferred way would seemingly be to just properly configure the theme and/or use styled-jsx.

I find theme configuration to be a little hard in some places, especially with SSG, …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by strlns
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant