Skip to content
This repository was archived by the owner on Sep 24, 2024. It is now read-only.

Commit 455dec1

Browse files
authored
Merge pull request #115 from selemondev/clean-up
chore: clean up
2 parents f8c10a2 + cb31031 commit 455dec1

File tree

4 files changed

+17
-36
lines changed

4 files changed

+17
-36
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# Changelog
22

33

4+
## v0.0.7
5+
6+
[compare changes](https://github.com/selemondev/nuxt-ui-vue/compare/v0.0.9-beta.0...v0.0.7)
7+
8+
### 🩹 Fixes
9+
10+
- **app:** Button theme ([7bd2c72](https://github.com/selemondev/nuxt-ui-vue/commit/7bd2c72))
11+
- **app:** Input theme ([397b13f](https://github.com/selemondev/nuxt-ui-vue/commit/397b13f))
12+
13+
### ❤️ Contributors
14+
15+
- Selemondev <selemondev@Selemondevs-MacBook-Pro.local>
16+
417
## v0.0.6
518

619
[compare changes](https://github.com/selemondev/nuxt-ui-vue/compare/v0.0.5...v0.0.6)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nuxt-ui/vue-monorepo",
3-
"version": "0.0.6",
3+
"version": "0.0.7",
44
"private": false,
55
"scripts": {
66
"build": "rimraf packages/*/{dist,es,lib} && nr -r -F \"./packages/nuxt-ui-vue\" build",
@@ -44,4 +44,4 @@
4444
"pnpm lint:fix"
4545
]
4646
}
47-
}
47+
}

packages/nuxt-ui-vue/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt-ui-vue",
3-
"version": "0.0.9-beta.0",
3+
"version": "0.0.9-beta.1",
44
"private": false,
55
"exports": {
66
".": {
Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,15 @@
1-
/* eslint-disable no-unused-expressions */
2-
import tailwindColors from './node_modules/tailwindcss/colors'
3-
4-
const colorSafeList = []
5-
6-
const deprecated = ['lightBlue', 'warmGray', 'trueGray', 'coolGray', 'blueGray']
7-
8-
for (const colorName in tailwindColors) {
9-
if (deprecated.includes(colorName))
10-
continue
11-
12-
const shades = [50, 100, 200, 300, 400, 500, 600, 700, 800, 900]
13-
14-
const pallette = tailwindColors[colorName]
15-
16-
if (typeof pallette === 'object') {
17-
shades.forEach((shade) => {
18-
if (shade in pallette) {
19-
colorSafeList.push(`text-${colorName}-${shade}`),
20-
colorSafeList.push(`accent-${colorName}-${shade}`),
21-
colorSafeList.push(`bg-${colorName}-${shade}`),
22-
colorSafeList.push(`hover:enabled:bg-${colorName}-${shade}`),
23-
colorSafeList.push(`focus:bg-${colorName}-${shade}`),
24-
colorSafeList.push(`ring-${colorName}-${shade}`),
25-
colorSafeList.push(`focus:ring-${colorName}-${shade}`),
26-
colorSafeList.push(`border-${colorName}-${shade}`)
27-
}
28-
})
29-
}
30-
}
311
/** @type {import('tailwindcss').Config} */
322
module.exports = {
333
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'],
344
darkMode: 'class',
35-
safelist: colorSafeList,
365
theme: {
376
extend: {
38-
colors: tailwindColors,
397
backgroundColor: ['disabled'],
408
textColor: ['disabled'],
419
fontFamily: {
4210
Roboto: 'Roboto',
4311
},
4412
},
4513
},
46-
plugins: [require('@tailwindcss/forms')],
14+
plugins: [],
4715
}

0 commit comments

Comments
 (0)