Using spectrum classes/tokens #2094
conormdowney
started this conversation in
General
Replies: 1 comment 1 reply
-
Are you importing the CSS? With most bundlers, you can import it as you would code. Sometimes you need to specify a loader for the CSS as well. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
So Im trying to use the field label as per: https://opensource.adobe.com/spectrum-css/fieldlabel.html
I have the following code, this is a React project:
but when I run my project i dont have the styling on the label. When I inspect i dont see the classes in the styles tab. I have run npm install @spectrum-css/fieldlabel and I see it in my node modules and package.json.
I assume I have to import them into my project somehow but im not sure how.
Beta Was this translation helpful? Give feedback.
All reactions