Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Menu bar background color not following themes #25930

Closed
TheNonexistent opened this issue Jul 17, 2023 · 1 comment
Closed

Menu bar background color not following themes #25930

TheNonexistent opened this issue Jul 17, 2023 · 1 comment
Labels
topic/ui Change the appearance of the Gitea UI type/bug

Comments

@TheNonexistent
Copy link

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

@TheNonexistent TheNonexistent added type/bug topic/ui Change the appearance of the Gitea UI labels Jul 17, 2023
@denyskon
Copy link
Member

denyskon commented Jul 17, 2023

Some variables need to be updated in your theme to work, check the changes to arc-green in #25111 (review)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
topic/ui Change the appearance of the Gitea UI type/bug
Projects
None yet
Development

No branches or pull requests

2 participants