How to use gradient-heading now that GradientHeading component is deprecated? #795
-
Docs mention the following .gradient-heading {
@apply bg-gradient-to-r from-primary-500 to-bg-secondary-500 bg-clip text-transparent box-decoration-clone;
} However, doing that gives the following error The `to-bg-secondary-500` class does not exist. If `to-bg-secondary-500` is a custom class, make sure it is defined within a `@layer` directive. Putting the code in the layer directive doesn't help either. |
Beta Was this translation helpful? Give feedback.
Answered by
endigo9740
Jan 11, 2023
Replies: 1 comment 1 reply
-
@AgarwalPragy Looks like a typo in the docs. Change:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
AgarwalPragy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@AgarwalPragy Looks like a typo in the docs. Change:
to-bg-secondary-500
->to-secondary-500