mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
docs: only safelist valid colors
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import ui from '../src/module'
|
||||
import { excludeColors } from '../src/colors'
|
||||
import colors from 'tailwindcss/colors'
|
||||
|
||||
export default defineNuxtConfig({
|
||||
@@ -27,7 +28,7 @@ export default defineNuxtConfig({
|
||||
ui: {
|
||||
global: true,
|
||||
icons: ['heroicons', 'simple-icons'],
|
||||
safelistColors: Object.keys(colors)
|
||||
safelistColors: excludeColors(colors)
|
||||
},
|
||||
typescript: {
|
||||
strict: false,
|
||||
|
||||
Reference in New Issue
Block a user