Skip to content

42ts/-ft-mode-codegen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published