UNPKG

@primer/css

Version:

Primer is the CSS framework that powers GitHub's front-end design. primer includes 23 packages that are grouped into 3 core meta-packages for easy install. Each package and meta-package is independently versioned and distributed via npm, so it's easy to i

37 lines (23 loc) 1.21 kB
# Primer Marketing CSS Utilities This repository is a module of the full [primer-marketing-css][primer-marketing-css] repository. ## Usage The source files included are written in [Sass][sass] (`scss`) You can simply point your sass `include-path` at your `node_modules` directory and import it like this. ```scss @import "primer-marketing-utilities/index.scss"; ``` You can also import specific portions of the module by importing those partials from the `/lib/` folder. _Make sure you import any requirements along with the modules._ ## Build For a compiled **css** version of this module, a npm script is included that will output a css version to `build/build.css` The built css file is also included in the npm package. ``` $ npm run build ``` ## Documentation Find further documentation at [primer.style/css/utilities](https://primer.style/css/utilities). ## License [MIT](./LICENSE) © [GitHub](https://github.com/) [primer]: https://github.com/primer/css [docs]: https://primer.style/css [npm]: https://www.npmjs.com/ [install-npm]: https://docs.npmjs.com/getting-started/installing-node [sass]: http://sass-lang.com/ [primer-marketing-css]: https://github.com/primer/css-marketing