Describe the bug
Setting the caretColor prop on an input element to a color defined in theme.colors renders broken CSS.
To Reproduce
Steps to reproduce the behavior:
accent: "#FF0000".caretColor prop to "accent" on an input:<input sx={{ caretColor: "accent" }}>...</input>caret-color: accent.Expected behavior
Expected rendered CSS to be caret-color: #FF0000.
This property is not currently mapped to the theme.colors scale -- in the meantime, you can use functional values
https://github.com/system-ui/theme-ui/pull/780 will close this issue :)
Most helpful comment
This property is not currently mapped to the
theme.colorsscale -- in the meantime, you can use functional values