Skip to content

Default to prefers-color-scheme without JS #7

@tfardet

Description

@tfardet

At the moment, ar5iv theme defaults to light when javascript is disabled.

It would be nice to default to prefers-color-scheme instead so that:

  1. it works without JS
  2. it does not blink from white to dark on slow connections or devices

This could be done by following the example of the CSS of the furo theme, for instance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions