Skip to content

Conversation

@fhlavac
Copy link
Contributor

@fhlavac 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

Copy link
Collaborator

@Hyperkid123 Hyperkid123 left a 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,
Copy link
Collaborator

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.

Copy link
Contributor Author

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

@fhlavac fhlavac requested a review from Hyperkid123 February 7, 2023 12:12
@Hyperkid123 Hyperkid123 merged commit 3e813c1 into patternfly:main Feb 7, 2023
Copy link
Collaborator

@dlabaj dlabaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

🎉 This PR is included in version 1.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version 1.0.3-alpha.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants