File tree Expand file tree Collapse file tree 5 files changed +42
-7
lines changed Expand file tree Collapse file tree 5 files changed +42
-7
lines changed Original file line number Diff line number Diff line change 1
1
## shadcn/ui radix colors theme generator
2
2
3
- Generate custom CSS themes for shadcn/ui effortlessly using vibrant palettes from [ Radix Colors] ( https://www.radix-ui.com/colors ) .
3
+ Generate custom themes for shadcn/ui using vibrant palettes from Radix Colors with ease .
4
4
5
5
https://ui.ewgenius.me/shadcn-radix-colors
6
6
Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ import { ThemeProvider } from "@/components/theme-provider";
6
6
import { TooltipProvider } from "@/components/ui/tooltip" ;
7
7
8
8
export const metadata : Metadata = {
9
- title : "Create Next App" ,
10
- description : "Generated by create next app" ,
9
+ title : "ewgenius/ui" ,
11
10
} ;
12
11
13
12
export default function RootLayout ( {
Original file line number Diff line number Diff line change
1
+ import { ArrowRight } from "lucide-react" ;
2
+ import Link from "next/link" ;
3
+
4
+ export default function HomePage ( ) {
5
+ return (
6
+ < div className = "flex flex-col gap-4 justify-center items-center min-h-screen" >
7
+ < Link
8
+ href = "/shadcn-radix-colors"
9
+ className = "flex items-center gap-2 hover:text-accent transition-colors"
10
+ >
11
+ shadcn-radix-colors < ArrowRight className = "size-4" />
12
+ </ Link >
13
+ </ div >
14
+ ) ;
15
+ }
Original file line number Diff line number Diff line change
1
+ import type { Metadata } from "next" ;
1
2
import { Suspense } from "react" ;
2
3
import { ThemeGenerator } from "./theme-generator" ;
3
4
5
+ export const metadata : Metadata = {
6
+ title : "ewgenius/ui - shadcn-radix-colors" ,
7
+ description :
8
+ "Generate custom themes for shadcn/ui using vibrant palettes from Radix Colors with ease." ,
9
+ } ;
10
+
4
11
export default function ThemeGeneratorPage ( ) {
5
12
return (
6
13
< Suspense >
Original file line number Diff line number Diff line change @@ -116,19 +116,19 @@ export function ThemeGenerator() {
116
116
</ div >
117
117
118
118
< div className = "text-sm" >
119
- Generate custom CSS themes for{ " " }
119
+ Generate custom themes for{ " " }
120
120
< a href = "https://ui.shadcn.com" className = "underline" target = "_blank" >
121
121
shadcn/ui
122
122
</ a > { " " }
123
- components effortlessly using vibrant palettes from{ " " }
123
+ using vibrant palettes from{ " " }
124
124
< a
125
125
href = "https://www.radix-ui.com/colors"
126
126
className = "underline"
127
127
target = "_blank"
128
128
>
129
129
Radix Colors
130
- </ a >
131
- .
130
+ </ a > { " " }
131
+ with ease .
132
132
</ div >
133
133
134
134
< hr className = "border-t" />
@@ -240,6 +240,20 @@ export function ThemeGenerator() {
240
240
< ThemeCodePreview lightTheme = { lightTheme } darkTheme = { darkTheme } />
241
241
</ DialogContent >
242
242
</ Dialog >
243
+
244
+ < hr className = "border-t" />
245
+
246
+ < div className = "text-xs text-muted-foreground" >
247
+ Built by{ " " }
248
+ < a
249
+ href = "https://github.com/ewgenius"
250
+ target = "_blank"
251
+ className = "underline"
252
+ >
253
+ @ewgenius
254
+ </ a >
255
+ .
256
+ </ div >
243
257
</ div >
244
258
245
259
< div className = "md:h-screen p-8 flex flex-col gap-4 bg-base-2" >
You can’t perform that action at this time.
0 commit comments