Skip to content

Code examples unreadable (dark background color) #241

Open
@weedySeaDragon

Description

@weedySeaDragon

The background color for code examples on lodash.com is black which makes the examples totally unreadable. See the 2 screenshots below.

The style that seems to be causing the problem:

.highlight {
    background-color: #283646;
    color: #ddd;
    margin: 0 -999rem;
    padding: 3.2rem 999rem;
    position: relative;
}

I haven't delved into assets/css/_variables.scss or any other .scss files, so the actual root of the problem could certainly be something that indirectly leads to defining that style with those values.

I verified this with both Chrome (Version 91.0.4472.77 (Official Build) (x86_64)) and Firefox (87.0 (64-bit)).


home page:

lodash-lodashComHome-blackBackgroundColor


Array chunk:

lodash-lodashComDocs-examples-blackBackgroundColor

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions