@-ft/mode-codegen
v0.0.1
Published
mode - codegen version
Downloads
14
Readme
mode-codegen - Theme mode manager
Dark/light theme mode manager for web, especially for environments that requires hydration
Usage
Run npx mode-codegen in directory which has configuration file mode.config.json to generate mode.js which must be loaded before hydration to apply theme mode earlier.
refer to bin.d.ts for more information about configuration file format.
