1
1
mirror of https://github.com/primer/css.git synced 2024-12-14 23:12:03 +03:00
css/modules/primer-support
2017-08-09 16:47:28 -04:00
..
docs add support docs for breakpoints, color-system, spacing, and typography 2017-08-09 16:47:28 -04:00
lib Not valuable spacer uses 2017-07-24 14:03:37 -07:00
.npmignore rename packages directory to modules 2017-06-29 12:49:16 -07:00
index.scss rename packages directory to modules 2017-06-29 12:49:16 -07:00
LICENSE rename packages directory to modules 2017-06-29 12:49:16 -07:00
package.json Publish 2017-07-31 14:05:28 -07:00
README.md rename packages directory to modules 2017-06-29 12:49:16 -07:00

Primer CSS Support

npm version Build Status

Support files are Sass variables, mixins, and functions that we import into different bases for use across components, objects, and utilities. Sharing these common properties across GitHub sites helps us to keep our styles more consistent.

Most of the time to include these you'll only need to add @import "support/support"; to the top of your bundle. If you want only a specific partial you can import them separately.

This repository is a module of the full primer-css repository.

Install

This repository is distributed with npm. After installing npm, you can install primer-support with this command.

$ npm install --save primer-support

Usage

The source files included are written in Sass (scss) You can simply point your sass include-path at your node_modules directory and import it like this.

@import "primer-support/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.

Documentation

You can read more about support in the docs.

License

MIT © GitHub