primer-css 0 travis-ci npm

The base coat of GitHub. Our internal CSS toolkit and guidelines.

2 years after

Primer CSS

NPM version Build Status

Primer is the CSS toolkit that powers GitHub's front-end design. It's purposefully limited to common components to provide our developers with the most flexibility, and to keep GitHub uniquely GitHubby. It's built with SCSS and available via NPM, so it's easy to include all or part of it within your own project.

This repository is a compilation of several CSS modules.

Install

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

$ npm install --save primer-css

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-css/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

You can read more about primer in the docs.

License

MIT © GitHub

Related Repositories

primer-markdown

primer-markdown

Stylesheets for rendering GitHub Flavored Markdown with Primer. ...

Pattern-Primer-Jekyll

Pattern-Primer-Jekyll

Jekyll project for generating styled patterns from a folder of markup snippets. ...

compass-pattern-primer

compass-pattern-primer

Create Style Guides in HTML and CSS with Sass & Compass ...

primer-rails

primer-rails

Primer (Github's) CSS framework implementation in Rails ...

primer-core

primer-core

The core modules of the primer framework. Shared between our product and marketi ...


Top Contributors

mdo jonrohan muan amosie bkeepers josh cvrebert jedcn RobLoach thomastuts vsn4ik BrianCS cmcky croaky flovan jackmoore jasonlong jensechu Johann-S jdan Jastrzebowski kennethlove lukecaputo tarebyte mortonfox nicoder nickmccurdy outsideris pborreli iamphill

Releases

-   v4.4.0 zip tar
-   v4.3.0 zip tar
-   v4.2.0 zip tar
-   v4.1.0 zip tar
-   v4.0.2 zip tar
-   v4.0.1 zip tar
-   v4.0.0 zip tar
-   v3.0.1 zip tar
-   v3.0.0 zip tar
-   v2.7.1 zip tar
-   v2.7.0 zip tar
-   v2.6.0 zip tar
-   v2.5.0 zip tar
-   v2.4.0 zip tar
-   v2.3.5 zip tar
-   v2.3.4 zip tar
-   v2.3.3 zip tar
-   v2.3.2 zip tar
-   v2.3.1 zip tar
-   v2.3.0 zip tar
-   v2.2.1 zip tar
-   v2.2.0 zip tar
-   v2.1.0 zip tar
-   v2.0.3 zip tar
-   v2.0.2 zip tar
-   v1.1.3 zip tar
-   v1.0.1 zip tar
-   v0.39.0 zip tar
-   v0.38.0 zip tar
-   v0.37.0 zip tar