@@ -31,7 +31,6 @@ export const addOptionsSchema = z.object({
3131 all : z . boolean ( ) ,
3232 path : z . string ( ) . optional ( ) ,
3333 silent : z . boolean ( ) ,
34- cssVariables : z . boolean ( ) ,
3534} )
3635
3736export const add = new Command ( )
@@ -48,8 +47,6 @@ export const add = new Command()
4847 . option ( "-a, --all" , "add all available components" , false )
4948 . option ( "-p, --path <path>" , "the path to add the component to." )
5049 . option ( "-s, --silent" , "mute output." , false )
51- . option ( "--css-variables" , "use css variables for theming." , true )
52- . option ( "--no-css-variables" , "do not use css variables for theming." )
5350 . action ( async ( components , opts ) => {
5451 try {
5552 const options = addOptionsSchema . parse ( {
@@ -184,7 +181,7 @@ export const add = new Command()
184181 skipPreflight : false ,
185182 silent : options . silent && ! hasNewRegistries ,
186183 isNewProject : false ,
187- cssVariables : options . cssVariables ,
184+ cssVariables : true ,
188185 rtl : false ,
189186 installStyleIndex,
190187 components : [ initUrl , ...( options . components ?? [ ] ) ] ,
@@ -224,7 +221,7 @@ export const add = new Command()
224221 skipPreflight : true ,
225222 silent : ! hasNewRegistries && options . silent ,
226223 isNewProject : true ,
227- cssVariables : options . cssVariables ,
224+ cssVariables : true ,
228225 rtl : false ,
229226 installStyleIndex,
230227 components : [ initUrl , ...( options . components ?? [ ] ) ] ,
0 commit comments