Skip to content

Low contrast when JS is disabled #2041

Open
@progval

Description

@progval

Problem

Here is https://rust-lang.github.io/mdBook/ with JS enabled:

Screenshot 2023-03-04 at 12-23-54 Introduction - mdBook Documentation

and with JS disabled (or failed to load or whatever):

Screenshot 2023-03-04 at 12-24-02 Introduction - mdBook Documentation

The second one has much lower contrast, making it harder to read

Steps

  1. Disable JS
  2. Go to https://rust-lang.github.io/mdBook/

Possible Solution(s)

Apply theme and/or colors using CSS only instead of JS

Notes

No response

Version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-JavaScriptArea: JavascriptA-StyleArea: Style (CSS, etc.)C-bugCategory: A bug, incorrect or unintended behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions