@@ -4,12 +4,39 @@ const prompts = require("prompts");
44const postgres = require ( "postgres" ) ;
55const dotenv = require ( "dotenv" ) ;
66const { LANGUAGES } = require ( "@chaibuilder/sdk/actions" ) ;
7- const defaultTheme = require ( "./constants/default-theme.json" ) ;
87dotenv . config ( ) ;
98
109/**
1110 * ChaiBuilder Create App CLI
1211 */
12+ const defaultTheme = {
13+ fontFamily : {
14+ heading : "Inter" ,
15+ body : "Inter" ,
16+ } ,
17+ borderRadius : "6px" ,
18+ colors : {
19+ background : [ "#FFFFFF" , "#09090B" ] ,
20+ foreground : [ "#09090B" , "#FFFFFF" ] ,
21+ primary : [ "#2563EB" , "#3B82F6" ] ,
22+ "primary-foreground" : [ "#FFFFFF" , "#FFFFFF" ] ,
23+ secondary : [ "#F4F4F5" , "#27272A" ] ,
24+ "secondary-foreground" : [ "#09090B" , "#FFFFFF" ] ,
25+ muted : [ "#F4F4F5" , "#27272A" ] ,
26+ "muted-foreground" : [ "#71717A" , "#A1A1AA" ] ,
27+ accent : [ "#F4F4F5" , "#27272A" ] ,
28+ "accent-foreground" : [ "#09090B" , "#FFFFFF" ] ,
29+ destructive : [ "#EF4444" , "#7F1D1D" ] ,
30+ "destructive-foreground" : [ "#FFFFFF" , "#FFFFFF" ] ,
31+ border : [ "#E4E4E7" , "#27272A" ] ,
32+ input : [ "#E4E4E7" , "#27272A" ] ,
33+ ring : [ "#2563EB" , "#3B82F6" ] ,
34+ card : [ "#FFFFFF" , "#09090B" ] ,
35+ "card-foreground" : [ "#09090B" , "#FFFFFF" ] ,
36+ popover : [ "#FFFFFF" , "#09090B" ] ,
37+ "popover-foreground" : [ "#09090B" , "#FFFFFF" ] ,
38+ } ,
39+ } ;
1340
1441const EXIT_CODES = {
1542 SUCCESS : 0 ,
0 commit comments