mirror of
https://github.com/HoshinoSuzumi/rayine-ui.git
synced 2025-04-10 01:28: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.
|
RayineUI is a multi-purpose customizable UI library.
|
||||||
|
|
||||||
- [✨ Release Notes](/CHANGELOG.md)
|
- [✨ Release Notes](/CHANGELOG.md)
|
||||||
<!-- - [🏀 Online playground](https://stackblitz.com/github/your-org/rayine-ui?file=playground%2Fapp.vue) -->
|
|
||||||
- [📖 Documentation](https://rayui.uniiem.com)
|
- [📖 Documentation](https://rayui.uniiem.com)
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
import { createResolver } from "@nuxt/kit";
|
import { createResolver } from "@nuxt/kit";
|
||||||
import defaultTheme from "tailwindcss/defaultTheme";
|
import defaultTheme from "tailwindcss/defaultTheme";
|
||||||
import module from "../src/module";
|
import module from "../src/module";
|
||||||
|
import { excludeColors } from "#rayui/utils/colors";
|
||||||
|
import colors from "tailwindcss/colors";
|
||||||
|
|
||||||
const { resolve } = createResolver(import.meta.url);
|
const { resolve } = createResolver(import.meta.url);
|
||||||
|
|
||||||
@ -57,7 +59,7 @@ export default defineNuxtConfig({
|
|||||||
},
|
},
|
||||||
rayui: {
|
rayui: {
|
||||||
globalComponents: true,
|
globalComponents: true,
|
||||||
safeColors: ["amber", "emerald", "red", "sky", "violet", "cyan"],
|
safeColors: [excludeColors(colors)],
|
||||||
},
|
},
|
||||||
tailwindcss: {
|
tailwindcss: {
|
||||||
config: {
|
config: {
|
||||||
|
Loading…
Reference in New Issue
Block a user