Skip to content

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

🐛 fix: update color

Dillion Verma70baef88fccf
diff --git a/content/components/linear-gradient.mdx b/content/components/linear-gradient.mdx
index 47dc45bb..366c3e9a 100644
--- a/content/components/linear-gradient.mdx
+++ b/content/components/linear-gradient.mdx
@@ -33,12 +33,12 @@ components/magicui/linear-gradient.tsx
### Linear Gradient
-| Prop | Type | Description | Default |
-| --------------- | ------ | --------------------------------------------------------------------------------------- | --------- |
-| from | string | The starting color of the gradient | #00000000 |
-| to | string | The ending color of the gradient | #290A5C |
-| width | string | The width of the gradient | 100% |
-| height | string | The height of the gradient | 100% |
-| transitionPoint | string | The point at which the gradient transitions from the starting color to the ending color | 50% |
-| direction | string | The direction of the gradient | bottom |
-| className | string | The class name of the component | "" |
+| Prop | Type | Description | Default |
+| --------------- | ------ | --------------------------------------------------------------------------------------- | --------------------- |
+| from | string | The starting color of the gradient | #00000000 |
+| to | string | The ending color of the gradient | rgba(120,119,198,0.3) |
+| width | string | The width of the gradient | 100% |
+| height | string | The height of the gradient | 100% |
+| transitionPoint | string | The point at which the gradient transitions from the starting color to the ending color | 50% |
+| direction | string | The direction of the gradient | bottom |
+| className | string | The class name of the component | "" |
diff --git a/content/components/radial-gradient.mdx b/content/components/radial-gradient.mdx
index 4bb24a4f..7e363ea7 100644
--- a/content/components/radial-gradient.mdx
+++ b/content/components/radial-gradient.mdx
@@ -31,11 +31,11 @@ components/magicui/radial-gradient.tsx
### Radial Gradient
-| Prop | Type | Description | Default |
-| --------- | ------ | --------------------------- | ------------------ |
-| type | string | Shape of the gradient | circle |
-| from | string | Color of the gradient start | #290A5C |
-| to | string | Color of the gradient end | hsla(0, 0%, 0%, 0) |
-| size | number | Size of the gradient | 300 |
-| origin | string | Origin of the gradient | center |
-| className | string | Class name of the gradient | "" |
+| Prop | Type | Description | Default |
+| --------- | ------ | --------------------------- | --------------------- |
+| type | string | Shape of the gradient | circle |
+| from | string | Color of the gradient start | rgba(120,119,198,0.3) |
+| to | string | Color of the gradient end | hsla(0, 0%, 0%, 0) |
+| size | number | Size of the gradient | 300 |
+| origin | string | Origin of the gradient | center |
+| className | string | Class name of the gradient | "" |
diff --git a/registry/components/magicui/linear-gradient.tsx b/registry/components/magicui/linear-gradient.tsx
index 38de3005..4f33046f 100644
--- a/registry/components/magicui/linear-gradient.tsx
+++ b/registry/components/magicui/linear-gradient.tsx
@@ -63,7 +63,7 @@ interface LinearGradientProps {
const LinearGradient = ({
from = "#00000000",
- to = "#290A5C",
+ to = "rgba(120,119,198,0.3)",
width = "100%",
height = "100%",
transitionPoint = "50%",
diff --git a/registry/components/magicui/radial-gradient.tsx b/registry/components/magicui/radial-gradient.tsx
index c1499ec1..341d04e9 100644
--- a/registry/components/magicui/radial-gradient.tsx
+++ b/registry/components/magicui/radial-gradient.tsx
@@ -58,7 +58,7 @@ interface RadialProps {
const RadialGradient = ({
type = "circle",
- from = "hsla(263, 80%, 20%, 1)",
+ from = "rgba(120,119,198,0.3)",
to = "hsla(0, 0%, 0%, 0)",
size = 300,
origin = "center",