🩹 fix(docs): some colors can not be rendered

This commit is contained in:
Timothy Yin 2024-11-22 01:29:40 +08:00
parent ce5214607b
commit 36818cefa2
2 changed files with 3 additions and 2 deletions

View File

@ -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) -->
- [📖 &nbsp;Documentation](https://rayui.uniiem.com)
## Features

View File

@ -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: {