File tree Expand file tree Collapse file tree 2 files changed +19
-20
lines changed Expand file tree Collapse file tree 2 files changed +19
-20
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export default function RootLayout({
1515 children : React . ReactNode ;
1616} ) {
1717 return (
18- < html lang = "en" >
18+ < html lang = "en" data-theme = "myTheme" >
1919 < body className = { montserrat . className } > { children } </ body >
2020 </ html >
2121 ) ;
Original file line number Diff line number Diff line change @@ -8,26 +8,25 @@ const config: Config = {
88 ] ,
99 theme : {
1010 extend : { } ,
11- daisyui : {
12- base : false ,
13- themes : [
14- {
15- myTheme : {
16- primary : "#383D4B" ,
17- secondary : "#22242D " ,
18- accent : "#5ecce0 " ,
19- neutral : "#404559 " ,
20- "base-100" : "#1A1C2C " ,
21- info : "#3abff8 " ,
22- success : "#36d399 " ,
23- warning : "#fbbd23 " ,
24- error : "#f87272 " ,
25- } ,
11+ } ,
12+ daisyui : {
13+ base : true ,
14+ themes : [
15+ {
16+ myTheme : {
17+ primary : "#383D4B " ,
18+ secondary : "#22242D " ,
19+ accent : "#5ecce0 " ,
20+ neutral : "#404559 " ,
21+ "base-100" : "#1A1C2C " ,
22+ info : "#3abff8 " ,
23+ success : "#36d399 " ,
24+ warning : "#fbbd23 " ,
25+ error : "#f87272" ,
2626 } ,
27- ] ,
28- } ,
29- plugins : [ require ( "daisyui" ) ] ,
27+ } ,
28+ ] ,
3029 } ,
31- plugins : [ ] ,
30+ plugins : [ require ( "daisyui" ) ] ,
3231} ;
3332export default config ;
You can’t perform that action at this time.
0 commit comments