Skip to content

Kosai106/tailwind-theming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

πŸ’¨ Easy Theming with TailwindCSS

Topics

Resources

Stars

Watchers

Forks