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

Contributors

โšก