The sign-in page reads theme=light or theme=dark from its URL and sets data-theme before the first paint. Anything else, or no parameter, follows the OS as before. The authorization endpoint is the page itself (/login), so an app only adds the parameter to its authorize request; no server code changes.
Checked in headless Chromium: theme=dark on a light OS and theme=light on a dark OS both render the chosen scheme; no parameter still follows the OS. Minified and gzipped copies rebuilt with resources/scripts/minify_html.sh --gzip (the sync test compares them).
The console and webmail sending their current theme come in their own PRs.
The sign-in page reads `theme=light` or `theme=dark` from its URL and sets `data-theme` before the first paint. Anything else, or no parameter, follows the OS as before. The authorization endpoint is the page itself (`/login`), so an app only adds the parameter to its authorize request; no server code changes.
Checked in headless Chromium: `theme=dark` on a light OS and `theme=light` on a dark OS both render the chosen scheme; no parameter still follows the OS. Minified and gzipped copies rebuilt with `resources/scripts/minify_html.sh --gzip` (the sync test compares them).
The console and webmail sending their current theme come in their own PRs.
Refs #375
The page reads theme=light or theme=dark from its URL (the authorization endpoint is the page itself, so an app adds it to its authorize request) and sets data-theme before the first paint. Anything else, or no parameter, follows the OS as before. Minified and gzipped copies rebuilt with resources/scripts/minify_html.sh --gzip.
Refs #375
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
The sign-in page reads
theme=lightortheme=darkfrom its URL and setsdata-themebefore the first paint. Anything else, or no parameter, follows the OS as before. The authorization endpoint is the page itself (/login), so an app only adds the parameter to its authorize request; no server code changes.Checked in headless Chromium:
theme=darkon a light OS andtheme=lighton a dark OS both render the chosen scheme; no parameter still follows the OS. Minified and gzipped copies rebuilt withresources/scripts/minify_html.sh --gzip(the sync test compares them).The console and webmail sending their current theme come in their own PRs.
Refs #375