1
0
mirror of synced 2025-12-30 21:02:34 -05:00
Files
docs/middleware
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-05-11 19:14:30 +00:00
2021-07-29 20:28:30 +00:00
2022-05-13 14:46:57 +00:00
2021-07-14 14:35:01 -07:00
2022-01-07 18:34:10 +00:00
2020-09-27 14:10:11 +02:00
2021-07-14 14:35:01 -07:00
2021-11-23 18:56:05 +00:00
2022-06-28 12:57:38 +00:00

Middleware

Each file in this directory exports an Express Middleware function.

For more info, see https://expressjs.com/en/guide/using-middleware.html

Subdirectories

There are subdirectories for different types of middleware: