-
Notifications
You must be signed in to change notification settings - Fork 1
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
AT-79: Add style generation for Lit #6
Conversation
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.
Requesting a change to the file names, but otherwise looks good 👍
esbuild doesn't currently support tree-shaking namespaced wildcard exports such as the following: export * as FdsCss from './style-properties'
This will tell bundlers such as esbuild that calling unsafeCSS has no side effects when such import is unused
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.
Looks real good, only still pondering whether we should go with FdsCss or Fds, give your input on this.
… -> Fds in exported names
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.
👌
tokens.json
tokenVar
from coreui-components and export it fromlib
(see AT-79: Use Lit styles and tokenVar function from coreui-css fds-coreui-components#39)