Enable support for CSS variables in color property value on docs.json
#4659
dgonzalezr
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, the
docs.jsononly allows color values that match the pattern of^#([a-fA-F0-9]{6}|[a-fA-F0-9]{3})$.It will be good if the regexp can be extended so that it also supports CSS variable strings as values. That could give the user more flexibility when creating custom styles for the documentation.
Beta Was this translation helpful? Give feedback.
All reactions