docs/stylesheets
..
README.md
article.scss
dev-toc.scss
directory.scss
explorer.scss
gradient.scss
index.scss
nav.scss
new-mktg.scss
opacity.scss
overrides.scss
print.scss
product-landing.scss
product-sublanding.scss
release-notes.scss
scroll-button.scss
search.scss
shadows.scss
sidebar.scss
syntax-highlighting.scss
tables.scss
type.scss

README.md

Styles

This website uses a Sass preprocessor, and gets most of its styles from GitHub's Primer design system.

All styles come from:

<link rel="stylesheet" href="/dist/index.css">

index.css is a compiled version of index.scss, where all imported scss files are declared.

In general, we use Primer's utility classes as much as we can, and avoid writing custom styles whenever possible.

See styleguide.github.com/primer for reference.

We use Webpack to process the files - see javascripts/README.md for more information on how these files are compiled.