Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

focusBorderColor does not work with semanticTokens #8439

Open
mhamid3d opened this issue Apr 14, 2024 · 0 comments
Open

focusBorderColor does not work with semanticTokens #8439

mhamid3d opened this issue Apr 14, 2024 · 0 comments

Comments

@mhamid3d
Copy link

mhamid3d commented Apr 14, 2024

Description

When I use a color value that is defined in semanticTokens of my theme, it is ignored by focusBorderColor. However if I use a color defined in the colors of my theme, it will work. This in unexpected because it was shown as an example to be working here:

#7708 (comment)

Link to Reproduction

https://codesandbox.io/p/sandbox/chakra-focusbordercolor-zcm8wq?file=%2Fsrc%2Findex.tsx%3A13%2C45

Steps to reproduce

  1. Create a theme
  2. Make a custom color in semantic tokens
  3. Use that color as a prop for focusBorderColor

Chakra UI Version

2.8.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant