-
I'm trying to use a gradient token here's how it looks export default defineConfig({
//---- snip
theme: {
extend: {
semanticTokens: {
gradients: {
blackGradient: {
value: "linear-gradient(98.29deg, #353535 -4.59%, #000000 100%)",
},
},
fontSizes: {
sm: { value: "12px" },
},
},
},
},
// ------ snip
}); However I cannot use export const PrimaryButton = styled(BaseButton, {
base: {
background: "blackGradient",
// background: "var(--gradients-black-gradient)",
border: "2px solid token(colors.primary)",
_hover: {
background: "black",
color: "white",
},
},
}); Do I have to use the |
Beta Was this translation helpful? Give feedback.
Answered by
astahmer
Jun 16, 2024
Replies: 1 comment 1 reply
-
that seems fine here https://play.panda-css.com/WUiYlvvV3i |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jim4067
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
that seems fine here https://play.panda-css.com/WUiYlvvV3i
can you make a minimal repro ?