-
Notifications
You must be signed in to change notification settings - Fork 352
Closed
Labels
kind: enhancementNew feature or requestNew feature or request
Description
I was trying to modify the default colors in sphinx-book-theme
so that they reverted to the old defaults, but I could not figure out how to do so. In particular, it says you need to use CSS variables but not SASS variables, and I couldn't get this to work. For ref:
https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/customizing.html
I found these things confusing:
- Theme developers may not know the difference between CSS and SASS variables
- It's unclear if / how it's possible to use both kinds of variables at the same time
- Documenting what
:root
means seems important - The CSS variable syntax that this theme uses
--default-color: 23, 54, 23;
etc, seemed to throw an error with my SCSS compiler. Is this some kind of non-standard syntax?
Perhaps @hoetmaaiers could advise on best-practices here and we can make a docs PR?
EDIT: I think I got it working but I had to use a different syntax:
Metadata
Metadata
Assignees
Labels
kind: enhancementNew feature or requestNew feature or request