This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #113 from selemondev/fix-button-theme
fix: button theme
- Loading branch information
Showing
6 changed files
with
87 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,35 @@ | ||
# Changelog | ||
|
||
|
||
## v0.0.6 | ||
|
||
[compare changes](https://github.com/selemondev/nuxt-ui-vue/compare/v0.0.5...v0.0.6) | ||
|
||
### 🚀 Enhancements | ||
|
||
- **app:** #110 remove image validation ([#110](https://github.com/selemondev/nuxt-ui-vue/issues/110)) | ||
|
||
### 🏡 Chore | ||
|
||
- **release:** V0.0.5 ([50d9dfd](https://github.com/selemondev/nuxt-ui-vue/commit/50d9dfd)) | ||
|
||
### ❤️ Contributors | ||
|
||
- System Administrator <[email protected]> | ||
- Selemondev <[email protected]> | ||
|
||
## v0.0.5 | ||
|
||
[compare changes](https://github.com/selemondev/nuxt-ui-vue/compare/v0.0.5...v0.0.5) | ||
|
||
### 🚀 Enhancements | ||
|
||
- **app:** #110 remove image validation ([#110](https://github.com/selemondev/nuxt-ui-vue/issues/110)) | ||
|
||
### ❤️ Contributors | ||
|
||
- Selemondev <[email protected]> | ||
|
||
## v0.0.4 | ||
|
||
[compare changes](https://github.com/selemondev/nuxtlabs-ui-vue/compare/v0.1.7...v0.0.4) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "nuxt-ui-vue", | ||
"version": "0.0.8", | ||
"version": "0.0.9-beta.0", | ||
"private": false, | ||
"exports": { | ||
".": { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,47 @@ | ||
/* 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} */ | ||
export const content = ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'] | ||
export const darkMode = 'class' | ||
export const theme = { | ||
extend: { | ||
backgroundColor: ['disabled'], | ||
textColor: ['disabled'], | ||
fontFamily: { | ||
Roboto: 'Roboto', | ||
module.exports = { | ||
content: ['./index.html', './src/**/*.{vue,js,ts,jsx,tsx}'], | ||
darkMode: 'class', | ||
safelist: colorSafeList, | ||
theme: { | ||
extend: { | ||
colors: tailwindColors, | ||
backgroundColor: ['disabled'], | ||
textColor: ['disabled'], | ||
fontFamily: { | ||
Roboto: 'Roboto', | ||
}, | ||
}, | ||
}, | ||
plugins: [require('@tailwindcss/forms')], | ||
} | ||
export const plugins = [require('@tailwindcss/forms')] |