|
1 | | -// /* eslint-disable no-unused-expressions */ |
2 | | -// import tailwindColors from './node_modules/tailwindcss/colors' |
3 | | - |
4 | | -// const colorSafeList = [] |
5 | | - |
6 | | -// // Skip these to avoid a load of deprecated warnings when tailwind starts up |
7 | | -// const deprecated = ['lightBlue', 'warmGray', 'trueGray', 'coolGray', 'blueGray'] |
8 | | - |
9 | | -// for (const colorName in tailwindColors) { |
10 | | -// if (deprecated.includes(colorName)) |
11 | | -// continue |
12 | | - |
13 | | -// const shades = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900] |
14 | | - |
15 | | -// const pallette = tailwindColors[colorName] |
16 | | - |
17 | | -// if (typeof pallette === 'object') { |
18 | | -// shades.forEach((shade) => { |
19 | | -// if (shade in pallette) { |
20 | | -// colorSafeList.push(`text-${colorName}-${shade}`), |
21 | | -// colorSafeList.push(`accent-${colorName}-${shade}`), |
22 | | -// colorSafeList.push(`bg-${colorName}-${shade}`), |
23 | | -// colorSafeList.push(`hover:bg-${colorName}-${shade}`), |
24 | | -// colorSafeList.push(`focus:bg-${colorName}-${shade}`), |
25 | | -// colorSafeList.push(`ring-${colorName}-${shade}`), |
26 | | -// colorSafeList.push(`focus:ring-${colorName}-${shade}`), |
27 | | -// colorSafeList.push(`border-${colorName}-${shade}`) |
28 | | -// } |
29 | | -// }) |
30 | | -// } |
31 | | -// } |
32 | 1 | /** @type {import('tailwindcss').Config} */ |
33 | | -// export const safelist = colorSafeList |
34 | 2 | export const content = ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'] |
35 | 3 | export const darkMode = 'class' |
36 | 4 | export const theme = { |
37 | 5 | extend: { |
38 | | - // colors: tailwindColors, |
39 | 6 | backgroundColor: ['disabled'], |
40 | 7 | textColor: ['disabled'], |
41 | 8 | fontFamily: { |
|
0 commit comments