Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

Fix Manual variable css for rainbow-button (#1012)

Criador_Mods52bc69354621
diff --git a/apps/www/content/docs/components/rainbow-button.mdx b/apps/www/content/docs/components/rainbow-button.mdx
index 2e7dfcbe..506c9d8c 100644
--- a/apps/www/content/docs/components/rainbow-button.mdx
+++ b/apps/www/content/docs/components/rainbow-button.mdx
@@ -40,11 +40,11 @@ Add the following to your `globals.css` file:
```css title="app/globals.css" showLineNumbers {2-6}
:root {
- --color-1: 0 100% 63%;
- --color-2: 270 100% 63%;
- --color-3: 210 100% 63%;
- --color-4: 195 100% 63%;
- --color-5: 90 100% 63%;
+ --color-1: hsl(0 100% 63%);
+ --color-2: hsl(270 100% 63%);
+ --color-3: hsl(210 100% 63%);
+ --color-4: hsl(195 100% 63%);
+ --color-5: hsl(90 100% 63%);
}
```