Skip to content
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

Add support for CSS / SCSS modules. #32

Closed
mayank1513 opened this issue Mar 1, 2024 · 0 comments
Closed

Add support for CSS / SCSS modules. #32

mayank1513 opened this issue Mar 1, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mayank1513
Copy link
Member

mayank1513 commented Mar 1, 2024

  1. sass should be added only as a dev dependency.

  2. The final build should produce CSS files following BEM conventions.

    2.1. No hash should be added - to allow library users to use classNames with confidence.
    2.2. In many cases strict BEM convention may not be possible as it will depend on library builders.
    2.3. Treat component folder names as blocks

  3. Multiple CSS files should be created corresponding to each component, as well as the overall CSS file containing styles for all components.

Upvote & Fund

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar
@mayank1513 mayank1513 added enhancement New feature or request help wanted Extra attention is needed labels Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant