1
0
mirror of synced 2025-12-30 12:02:01 -05:00
Files
docs/stylesheets
Kevin Heis 04f38e4779 Parse color_mode cookie in browser (#29738)
* Parse color_mode cookie in browser

* Update useTheme.ts

* Update use-theme.js

* Update use-theme.js

* Add support for dark_high_contrast

Per https://primer.style/css/support/theming

I also checked all the color mode options, this is the only additional working with Primer 20 so far

* Remove gray bg

* Remove  type

* Use defaults instead of types for fn args

* Thicker types
2022-08-09 16:48:18 +00:00
..
2021-10-28 19:17:23 +00:00
2022-06-06 20:46:13 +05:30
2022-05-02 10:10:33 -07:00

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 components (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.