Description
Themify is a PostCSS plugin for managing themes in web applications. You define a light and a dark palette in a simple JSON format, and during the build it replaces your CSS colours with CSS variables, with a fallback for browsers that do not support variables, such as IE11. The theme can be used directly in Sass files, and the project says no JavaScript is required for that. Themify also supports runtime replacement, so you can change the active palette for the whole application or for a single HTML container, which makes white-labelling possible when clients choose their own colours. The options cover whether CSS variables are generated, the palette, a class prefix for generated theme classes, whether a legacy fallback is created, and the paths for a fallback stylesheet. The package is installed from npm as @datorama/themify. The repository sits under the Salesforce organisation on GitHub and describes Themify as an opinionated solution for themes.β¦
Highlights
- Light and dark palettes defined in JSON
- CSS colours replaced with CSS variables at build time
- Runtime palette switching for white-labelling
- Works directly in Sass files
- Fallback for legacy browsers such as IE11
Ratings & Reviews
No ratings yet
Be the first to rate Themify.
People also visit
zippy starter's shadcn/ui theme generator
Easily create custom themes from a single colour
Themify FAQ
What is Themify?
A PostCSS plugin that generates themes during the build, with a light and a dark palette and CSS variables for the colours.
How do I install it?
Run npm install @datorama/themify --save, then add the plugin to your PostCSS setup.
Does it need JavaScript?
The site says the theme can be used directly in your Sass files without JavaScript. Changing palettes at runtime is a separate feature.
Does it support old browsers?
Yes. It can generate a fallback for browsers that do not support CSS variables, including IE11.
What are the best Themify alternatives?
Popular alternatives to Themify include daisyUI, Themesberg and butterfly_css. See all Themify alternatives









