docs/stylesheets
Grace Park 21b59b5805
Move mini tocs rest + collapsible (#26069)
* starting minitocs change

* moving rest mini tocs and adding functionality to collapse

* adding some comments

* update margins

* minor updates: fix scroll to top button add padding to resthttpmethod verbs and background color for nested arrows in minitocs

* Update components/rest/RestReferencePage.tsx

Co-authored-by: Rachael Sewell <rachmari@github.com>

* Update components/rest/RestReferencePage.tsx

Co-authored-by: Rachael Sewell <rachmari@github.com>

* fix comment

* fix wording and z index

* bring back articlegridlayout

* updating margins for lg and xl

Co-authored-by: Rachael Sewell <rachmari@github.com>
2022-03-14 10:50:53 -07:00
..
README.md Fix links to primer website 2022-01-13 05:08:29 -03:00
extended-markdown.scss updating table-of-contents pages with actionlist (#23338) 2021-12-02 12:50:04 -08:00
headings.scss Primer 18 b (#22462) 2021-10-28 19:17:23 +00:00
images.scss run prettier on all code in CI (#23482) 2021-12-08 16:11:52 +00:00
index.scss Flash updates for deprecation and header notifications (#22632) 2021-11-09 19:52:20 +00:00
shadows.scss Add btn-primary-matte, ScrollButton, TruncateLines to storybook (#21611) 2021-09-20 23:21:29 +00:00
syntax-highlighting.scss Small highlighting tweak (#22989) 2021-11-19 17:14:47 +00:00
utilities.scss Move mini tocs rest + collapsible (#26069) 2022-03-14 10:50:53 -07:00

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 imports in our Next.js compnents (pages, components).

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

See https://primer.style/ for reference.