@mozaic-ds/postcss-prepend
v1.76.0
Published
PostCSS plugin that adds content to the beginning of your CSS/SCSS file.
Readme
🎨 Getting started
ADEO Design System is a global and collaborative design system that facilitates the designer and developer experience, enabling them to create universal interfaces perfectly aligned with the business strategy of Adeo.
Learn more about the vision and guidelines by visiting the main documentation website.
📦 Install
To install the postcss-prepend in your project, you will need to run the following command using npm:
npm install --save-dev @mozaic-ds/postcss-prependIf you prefer Yarn, use the following command instead:
yarn add -D @mozaic-ds/postcss-prepend📝 Usage
The postcss-prepend plugin is used in the same way as all PostCSS plugins.
Simply import it into your postcss.config.js configuration file at the root of your project, and then add it to the plugins key in your PostCSS configuration object.
You can then select the content of your choice to be inserted at the beginning of your CSS/SCSS files.
Example:
// postcss.config.js
const MozaicCssPrepend = require('@mozaic-ds/postcss-prepend')
const config = {
plugins: [
MozaicCssPrepend(`$mozaic-prepend: true;`),
]
}
module.exports = config📰 Changelog
Releases are managed with GitHub Releases, including the changelog for each one. Access to the Changelog to find out about the detailed changes to each release.
📣 Stay in touch
- Join the #mozaic-support channel on Slack
- Join our Workplace group
🐞 Bugs and feature requests
Have a bug or a feature request? Please open an issue and use the template associated with your request.
🧑💻 Contributors
Owners
Maintainers
📄 Licensing
This project is licensed under the Apache V2 License. See LICENSE for more information.
