diff --git a/CHANGELOG.md b/CHANGELOG.md index f482621..154a725 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,19 @@ # Changelog +## v0.0.7 + +[compare changes](https://github.com/selemondev/nuxt-ui-vue/compare/v0.0.9-beta.0...v0.0.7) + +### 🩹 Fixes + +- **app:** Button theme ([7bd2c72](https://github.com/selemondev/nuxt-ui-vue/commit/7bd2c72)) +- **app:** Input theme ([397b13f](https://github.com/selemondev/nuxt-ui-vue/commit/397b13f)) + +### ❤️ Contributors + +- Selemondev + ## v0.0.6 [compare changes](https://github.com/selemondev/nuxt-ui-vue/compare/v0.0.5...v0.0.6) diff --git a/package.json b/package.json index b4b7d60..bbe381b 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nuxt-ui/vue-monorepo", - "version": "0.0.6", + "version": "0.0.7", "private": false, "scripts": { "build": "rimraf packages/*/{dist,es,lib} && nr -r -F \"./packages/nuxt-ui-vue\" build", @@ -44,4 +44,4 @@ "pnpm lint:fix" ] } -} +} \ No newline at end of file diff --git a/packages/nuxt-ui-vue/package.json b/packages/nuxt-ui-vue/package.json index 7826cf6..fe62cbb 100755 --- a/packages/nuxt-ui-vue/package.json +++ b/packages/nuxt-ui-vue/package.json @@ -1,6 +1,6 @@ { "name": "nuxt-ui-vue", - "version": "0.0.9-beta.0", + "version": "0.0.9-beta.1", "private": false, "exports": { ".": { diff --git a/packages/nuxt-ui-vue/tailwind.config.js b/packages/nuxt-ui-vue/tailwind.config.js index e3f2d71..393ff3b 100755 --- a/packages/nuxt-ui-vue/tailwind.config.js +++ b/packages/nuxt-ui-vue/tailwind.config.js @@ -1,41 +1,9 @@ -/* eslint-disable no-unused-expressions */ -import tailwindColors from './node_modules/tailwindcss/colors' - -const colorSafeList = [] - -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:enabled: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} */ module.exports = { content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'], darkMode: 'class', - safelist: colorSafeList, theme: { extend: { - colors: tailwindColors, backgroundColor: ['disabled'], textColor: ['disabled'], fontFamily: { @@ -43,5 +11,5 @@ module.exports = { }, }, }, - plugins: [require('@tailwindcss/forms')], + plugins: [], }