mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-07 11:38:50 +08:00
🩹 fix(docs): some colors can not be rendered
This commit is contained in:
parent
ce5214607b
commit
36818cefa2
@ -7,7 +7,6 @@
|
||||
RayineUI is a multi-purpose customizable UI library.
|
||||
|
||||
- [✨ Release Notes](/CHANGELOG.md)
|
||||
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/rayine-ui?file=playground%2Fapp.vue) -->
|
||||
- [📖 Documentation](https://rayui.uniiem.com)
|
||||
|
||||
## Features
|
||||
|
@ -1,6 +1,8 @@
|
||||
import { createResolver } from "@nuxt/kit";
|
||||
import defaultTheme from "tailwindcss/defaultTheme";
|
||||
import module from "../src/module";
|
||||
import { excludeColors } from "#rayui/utils/colors";
|
||||
import colors from "tailwindcss/colors";
|
||||
|
||||
const { resolve } = createResolver(import.meta.url);
|
||||
|
||||
@ -57,7 +59,7 @@ export default defineNuxtConfig({
|
||||
},
|
||||
rayui: {
|
||||
globalComponents: true,
|
||||
safeColors: ["amber", "emerald", "red", "sky", "violet", "cyan"],
|
||||
safeColors: [excludeColors(colors)],
|
||||
},
|
||||
tailwindcss: {
|
||||
config: {
|
||||
|
Loading…
Reference in New Issue
Block a user