* 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
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.