-
Notifications
You must be signed in to change notification settings - Fork 96
Revert .css => .styles.ts
#1865
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
lindsaym-fa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
styles/utilities/size.css and styles/utilities/variants.css were both imported in native styles, so these are the results we're getting for native buttons and such now:
I'd recommend:
- Moving
size.styles.tsandvariants.styles.tsto thestyles/component/directory - Restoring
size.cssandvariants.cssin thestyles/utilities/directory and removing the:host()selector for each rule in these files
Does that make sense to you, @claviska? (And let me know if you'd like me to make those changes.)
|
@lindsaym-fa nice catch. It looks like the visually hidden utilities were also affected so I updated those as well. Let me know if you see anything else! |
|
Note: I also removed the |
lindsaym-fa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One small comment. All else looks good!
lindsaym-fa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

This PR fixes #1812 by reverting the component CSS files to Lit's preferred syntax. Since this updates the base class, I'll update pro after this is merged.