From 81fcc206c8f9eeaa3379fe4a4d0e98f89d916564 Mon Sep 17 00:00:00 2001 From: Selemondev Date: Wed, 16 Aug 2023 09:48:13 +0300 Subject: [PATCH] chore: update eslint rules --- packages/nuxtlabs-ui-vue/src/App.vue | 22 +------------- packages/nuxtlabs-ui-vue/tailwind.config.js | 33 --------------------- 2 files changed, 1 insertion(+), 54 deletions(-) diff --git a/packages/nuxtlabs-ui-vue/src/App.vue b/packages/nuxtlabs-ui-vue/src/App.vue index 829c280..84a6454 100755 --- a/packages/nuxtlabs-ui-vue/src/App.vue +++ b/packages/nuxtlabs-ui-vue/src/App.vue @@ -1,26 +1,6 @@ diff --git a/packages/nuxtlabs-ui-vue/tailwind.config.js b/packages/nuxtlabs-ui-vue/tailwind.config.js index 133bd76..de17a6b 100755 --- a/packages/nuxtlabs-ui-vue/tailwind.config.js +++ b/packages/nuxtlabs-ui-vue/tailwind.config.js @@ -1,41 +1,8 @@ -// /* eslint-disable no-unused-expressions */ -// import tailwindColors from './node_modules/tailwindcss/colors' - -// const colorSafeList = [] - -// // Skip these to avoid a load of deprecated warnings when tailwind starts up -// const deprecated = ['lightBlue', 'warmGray', 'trueGray', 'coolGray', 'blueGray'] - -// for (const colorName in tailwindColors) { -// if (deprecated.includes(colorName)) -// continue - -// const shades = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900] - -// const pallette = tailwindColors[colorName] - -// if (typeof pallette === 'object') { -// shades.forEach((shade) => { -// if (shade in pallette) { -// colorSafeList.push(`text-${colorName}-${shade}`), -// colorSafeList.push(`accent-${colorName}-${shade}`), -// colorSafeList.push(`bg-${colorName}-${shade}`), -// colorSafeList.push(`hover:bg-${colorName}-${shade}`), -// colorSafeList.push(`focus:bg-${colorName}-${shade}`), -// colorSafeList.push(`ring-${colorName}-${shade}`), -// colorSafeList.push(`focus:ring-${colorName}-${shade}`), -// colorSafeList.push(`border-${colorName}-${shade}`) -// } -// }) -// } -// } /** @type {import('tailwindcss').Config} */ -// export const safelist = colorSafeList export const content = ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'] export const darkMode = 'class' export const theme = { extend: { - // colors: tailwindColors, backgroundColor: ['disabled'], textColor: ['disabled'], fontFamily: {