File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 22
33TailwindCSS plugin for setting up multiple themes based on css variables
44
5+ ## Examples
6+
7+ https://tailwindcss-variable-themes.ewgenius.me/custom ([ code] ( apps/example/tailwind-custom.config.js ) )
8+ https://tailwindcss-variable-themes.ewgenius.me/radix-colors ([ code] ( apps/example/tailwind-radix.config.js ) )
9+ https://tailwindcss-variable-themes.ewgenius.me/tailwind-colors ([ code] ( apps/example/tailwind-tailwind.config.js ) )
10+
511## Installation
612
713Install the plugin from npm:
Original file line number Diff line number Diff line change @@ -33,6 +33,29 @@ export const ExampleLayout: FC<
3333
3434 < div className = "flex-grow" />
3535
36+ < a
37+ href = "https://www.npmjs.com/package/tailwindcss-variable-themes"
38+ className = "underline opacity-50 hover:no-underline hover:opacity-100"
39+ >
40+ < svg
41+ className = "w-4 h-4"
42+ xmlns = "http://www.w3.org/2000/svg"
43+ width = "24"
44+ height = "24"
45+ viewBox = "0 0 24 24"
46+ fill = "none"
47+ stroke = "currentColor"
48+ stroke-width = "2"
49+ stroke-linecap = "round"
50+ stroke-linejoin = "round"
51+ >
52+ < line x1 = "16.5" y1 = "9.4" x2 = "7.5" y2 = "4.21" > </ line >
53+ < path d = "M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z" > </ path >
54+ < polyline points = "3.29 7 12 12 20.71 7" > </ polyline >
55+ < line x1 = "12" y1 = "22" x2 = "12" y2 = "12" > </ line >
56+ </ svg >
57+ </ a >
58+
3659 < a
3760 href = "https://github.com/ewgenius/tailwindcss-variable-themes"
3861 className = "underline opacity-50 hover:no-underline hover:opacity-100"
You can’t perform that action at this time.
0 commit comments