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

Refactor CSS to use @use (mixins) instead of @import #84

Closed
mikewuu opened this issue May 4, 2023 · 0 comments
Closed

Refactor CSS to use @use (mixins) instead of @import #84

mikewuu opened this issue May 4, 2023 · 0 comments
Assignees
Labels
internal Changes that do not directly affect consumers

Comments

@mikewuu
Copy link
Contributor

mikewuu commented May 4, 2023

          @mikewuu Should we follow this convention? https://sass-lang.com/guide

Partials
You can create partial Sass files that contain little snippets of CSS that you can include in other Sass files. This is a great way to modularize your CSS and help keep things easier to maintain. A partial is a Sass file named with a leading underscore. You might name it something like _partial.scss. The underscore lets Sass know that the file is only a partial file and that it should not be generated into a CSS file. Sass partials are used with the @use rule.

Originally posted by @razor-x in #47 (comment)

@mikewuu mikewuu self-assigned this May 4, 2023
@razor-x razor-x added the internal Changes that do not directly affect consumers label May 4, 2023
@razor-x razor-x changed the title CSS - Refactor to use @use (mixins) instead of @import Refactor CSS to use @use (mixins) instead of @import May 4, 2023
@razor-x razor-x closed this as completed May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Changes that do not directly affect consumers
Projects
None yet
Development

No branches or pull requests

2 participants