Commit c746d89 1 parent 204ad22 commit c746d89 Copy full SHA for c746d89
File tree 1 file changed +22
-1
lines changed
1 file changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ let warned = false
2
+
1
3
module . exports = {
2
4
black : '#000' ,
3
5
white : '#fff' ,
@@ -85,7 +87,26 @@ module.exports = {
85
87
800 : '#1e40af' ,
86
88
900 : '#1e3a8a' ,
87
89
} ,
88
- lightBlue : {
90
+ get lightBlue ( ) {
91
+ if ( ! warned ) {
92
+ console . log ( 'warn - As of Tailwind CSS v2.2, `lightBlue` has been renamed to `sky`.' )
93
+ console . log ( 'warn - Please update your color palette to eliminate this warning.' )
94
+ warned = true
95
+ }
96
+ return {
97
+ 50 : '#f0f9ff' ,
98
+ 100 : '#e0f2fe' ,
99
+ 200 : '#bae6fd' ,
100
+ 300 : '#7dd3fc' ,
101
+ 400 : '#38bdf8' ,
102
+ 500 : '#0ea5e9' ,
103
+ 600 : '#0284c7' ,
104
+ 700 : '#0369a1' ,
105
+ 800 : '#075985' ,
106
+ 900 : '#0c4a6e' ,
107
+ }
108
+ } ,
109
+ sky : {
89
110
50 : '#f0f9ff' ,
90
111
100 : '#e0f2fe' ,
91
112
200 : '#bae6fd' ,
You can’t perform that action at this time.
0 commit comments