Skip to content

Menu bar background color not following themes #25930

Closed
@TheNonexistent

Description

@TheNonexistent

Description

The top menu bar does not follow the color scheme of the selected theme, the css variable --color-nav-bg is always provided by index.css and overrides any changes the theme makes.

Even when manually setting the --color-nav-bg variable inside the theme-<>.css, the variable is stripped from the final file served to the browser.

The default dark theme(arc-green) works as expected as it provides a --color-nav-bg variable.

Screenshots

image
image

Gitea Version

1.20.0 on docker

Can you reproduce the bug on the Gitea demo site?

No

Operating System

Debian Linux (Firefox and Chrome browsers)

Browser Version

Firefox 115.0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic/uiChange the appearance of the Gitea UItype/bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions