Skip to content

Commit

Permalink
🩹 fix(docs): some colors can not be rendered
Browse files Browse the repository at this point in the history
  • Loading branch information
HoshinoSuzumi committed Nov 21, 2024
1 parent ce52146 commit 36818ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion docs/nuxt.config.ts
Original file line number Diff line number Diff line change
@@ -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);

Expand Down Expand Up @@ -57,7 +59,7 @@ export default defineNuxtConfig({
},
rayui: {
globalComponents: true,
safeColors: ["amber", "emerald", "red", "sky", "violet", "cyan"],
safeColors: [excludeColors(colors)],
},
tailwindcss: {
config: {
Expand Down

0 comments on commit 36818ce

Please sign in to comment.