Dark mode, light mode switching
-
When developing in fse mode
- theme.json -> default mode
- /styles/dark.json -> Different styles
This is how we develop it.
Website administrators can easily modify styles in the editor, but visitors will only see the changed styles.
I would like to support dark mode for users using the color information in dark.json. Please let me know if fse provides this function.
If it is not provided, please let me know if I can retrieve the information set in dark.json using PHP code.
You can provide dark and light modes by simply defining CSS, but
I don’t want to enter color values multiple times.Thanks for reading. Please help.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Dark mode, light mode switching’ is closed to new replies.