Skip to content

What's the best approach to customize styles in Docusaurus? #5003

Answered by slorber
sivaraam asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Unfortunately, the goal of the beta is to improve the theming system, and this requires refactoring the theme to define a more explicit API surface for style-related components (also separating technical components from style-related components).

This means that your customizations will likely break a bit in the future. I'd recommend to wait for more heavy customizations, or it's at your own risks. You can also stick to a given stable version and do the customizations on it, and then try to backport those customizations later once we have refactored the theme properly.

To make the theming system more robust in the future, we have to break things now unfortunately. I can't tell exactly…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sivaraam
Comment options

Answer selected by sivaraam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants