Just more mixins and functions with SCSS for more productive projects.
sass-pire
is a lightweight and versatile library of SCSS mixins and functions designed to simplify your development workflow. Whether you're managing styles for a large-scale project or just need handy utilities, sass-pire
helps you write cleaner, more efficient SCSS.
npm i -D sass-pire
yarn add sass-pire --dev
After installing sass-pire
using your favorite package manager, you can import it into any SCSS file.
@use "sass-pire" as *;
Make sure to add the --load-path=node_modules
flag in your sass
command in package.json
:
"scripts": {
"watch:sass": "sass --load-path=node_modules --watch ./src/index.scss"
}
The @import
statement will be deprecated in future versions of Sass
. We strongly recommend using the @use
statement instead.
Reusable Mixins
: Predefined mixins withvendor prefixes
for cross-browser compatibility.Utility Functions
: Handy functions to streamline calculations and style definitions.Media Queries
: Ready-to-use breakpoints for responsive design.- Using
reset-zone
for resetting styles. - Add
utility classes
to your HTML elements.
Contributions are welcome! Here’s how you can help:
- Fork the repository and clone it to your local machine.
- Create a new branch for your feature, bug fix, or issue resolution.
- Submit a pull request describing your changes.
Have an idea for a new feature? Open an issue, label it as Feature
, and describe your suggestion. We'd love to hear your ideas!