We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 204ad22 commit c746d89Copy full SHA for c746d89
colors.js
@@ -1,3 +1,5 @@
1
+let warned = false
2
+
3
module.exports = {
4
black: '#000',
5
white: '#fff',
@@ -85,7 +87,26 @@ module.exports = {
85
87
800: '#1e40af',
86
88
900: '#1e3a8a',
89
},
- 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: {
110
50: '#f0f9ff',
111
100: '#e0f2fe',
112
200: '#bae6fd',
0 commit comments