Where is located the style for Vanilla CSS used in Starter kits? #6162
-
I can download a ZIP file or Preview, but I am looking for the source of the CSS. is it located in other repo or non-public one? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think this is what you're looking for react-spectrum/scripts/extractStarter.mjs Line 99 in e6923d9 which shows us the theme is defined here https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/example-theme/src/index.css and then the actual CSS if we open the starter shows and import from that theme, plus some styles and selectors We pull the CSS out of our docs and place it in the starter example. |
Beta Was this translation helpful? Give feedback.
I think this is what you're looking for
react-spectrum/scripts/extractStarter.mjs
Line 99 in e6923d9
which shows us the theme is defined here https://github.com/adobe/react-spectrum/blob/main/packages/%40react-aria/example-theme/src/index.css
and then the actual CSS if we open the starter shows and import from that theme, plus some styles and selectors
Downloads/react-aria-starter.48e54b651/src/Button.css
This CSS matches the expanded CSS under the examples on the docs page you linked to. https://react-spectrum.adobe.com/react-aria/Button.html
We pull the CSS out of our docs and plac…