-
Notifications
You must be signed in to change notification settings - Fork 30
Enable JSS and update scripts #13
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
fhlavac
commented
Feb 6, 2023
- enabled JSS + removed scss
- updated scripts to use npm
- added missing eslint rules
- removed components, which are not needed for now
Hyperkid123
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.
Looks good, but I would use the CSS variables instead of the imported tokens. You can use the CSS variables as in classic CSS. Just wrap them as strings.
| textAlign: 'left', | ||
| backgroundColor: 'white', | ||
| borderStyle: 'solid', | ||
| borderColor: backgroundDark.value, |
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.
I think you can just use the 'var(--pf-...)' strings instead of these tokens. It might be safer than importing the values.
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.
@Hyperkid123 thank you, pushed the update
dlabaj
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.
lgtm
|
🎉 This PR is included in version 1.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
|
🎉 This PR is included in version 1.0.3-alpha.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |