1
0
mirror of synced 2025-12-30 21:02:34 -05:00
Files
docs/components
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
..
2022-08-03 10:51:21 -07:00
2022-03-14 08:25:48 -07:00
2021-09-30 20:22:13 +00:00

Components

⚠️ This area is a work-in-progress.

This is the main source for our React components. They can be rendered by the server or the client via Next.js. The starting point for any component usage is the pages/ directory, which uses a file-system routing paradigm to match paths to pages that then render these components.