/tailwind-theming

πŸ’¨ Easy Theming with TailwindCSS

Primary LanguageJavaScript

This example shows how to utilize TailwindCSS (v3.1) together with CSS variables in order to implement a very dynamic theming solution for your websites and applications.

Here's the list of files touched in order to achieve the result shown in the video:

root
β”œβ”€β”€ components/
β”‚   └── ThemeSwitcher.js
β”œβ”€β”€ hooks/
β”‚   └── useTheme.js
β”œβ”€β”€ pages/
β”‚   β”œβ”€β”€ _app.js
β”‚   └── index.js
β”œβ”€β”€ styles/
β”‚   └── globals.css
└── tailwind.config.js

Thanks for watching.

Kevin Østerkilde