Replies: 1 comment
-
I believe these are coming in at build time from the @spectrum-css/vars package via the postcss plugin at @spectrum-css/component-builder: https://github.com/adobe/react-spectrum/blob/main/postcss.config.js |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Just curious how this works,. Some variables get a fallback(?), but I don't understand where they come from.
For example:
in adobe/spectrum-css-temp/components/table/skin.css
I can see it's defined as:
No where do I see
--spectrum-table-row-background-color-selected
defined. And then the output becomes:Where and how does
--spectrum-alias-highlight-selected-hover
get added? I see a bunch of post processing steps, but I don't see where that mapping would logically come from. Searching foralias.*selected
doesn't reveal anything, so is the mapping from another an external package?Would appreciate any insight, just trying to get a clear picture of how this all works, thanks.
Beta Was this translation helpful? Give feedback.
All reactions