Namespace List Button Not Colored in Dark Mode #2001

Closed
opened 2022-12-31 01:21:00 +00:00 by rconnorjohnstone · 8 comments

Description

The button for the namespace list menu option stays light upon a switch to dark mode.

I think the following should fix it

--- a/src/components/home/navigation.vue
+++ b/src/components/home/navigation.vue
@@ -460,6 +460,7 @@ $vikunja-nav-selected-width: 0.4rem;
                font-weight: bold;
                font-family: $vikunja-font;
                color: $vikunja-nav-color;
+               background-color: var(--button-text-hover-background-color);
                font-weight: 600;
                min-height: 2.5rem;
                padding-top: 0;

But I've never developed a vue.js app, so I'm not 100% sure.

Vikunja Frontend Version

0.20.2

Vikunja API Version

0.20.2

Browser and version

qutebrowser (chromium)

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

No response

### Description The button for the namespace list menu option stays light upon a switch to dark mode. I think the following should fix it ``` --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -460,6 +460,7 @@ $vikunja-nav-selected-width: 0.4rem; font-weight: bold; font-family: $vikunja-font; color: $vikunja-nav-color; + background-color: var(--button-text-hover-background-color); font-weight: 600; min-height: 2.5rem; padding-top: 0; ``` But I've never developed a vue.js app, so I'm not 100% sure. ### Vikunja Frontend Version 0.20.2 ### Vikunja API Version 0.20.2 ### Browser and version qutebrowser (chromium) ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots _No response_
rconnorjohnstone added the
kind/bug
label 2022-12-31 01:21:00 +00:00
Owner

Can you share a screenshot? It looks fine for me.

Can you share a screenshot? It looks fine for me.

I believe I shared a couple in the attachments of the issue. Perhaps I did that wrong.

I believe I shared a couple in the attachments of the issue. Perhaps I did that wrong.

I should note that on firefox it seems to be ok

I should note that on firefox it seems to be ok
Owner

Ah yes, now I see them, sorry.

It looks fine for me on chromium on android and in Firefox on desktop, will check in qutebrowser once I get back to my laptop. Does it work in standard chromium for you?

Ah yes, now I see them, sorry. It looks fine for me on chromium on android and in Firefox on desktop, will check in qutebrowser once I get back to my laptop. Does it work in standard chromium for you?

It does work fine on standard chromium

It does work fine on standard chromium
Owner

I looked at qutebrowser and it looks like they replace the stylings for the buttons with their own. Not sure how to solve this and it's definitely non-standard behavior.

The patch you sent fixes only the namespace menu button:

image

The underlying problem is not fixed as the issue appears in a few other places. And the button still does not look good. I believe this is a problem with qutebrowser. Can you open an issue there?

I looked at qutebrowser and it looks like they replace the stylings for the buttons with their own. Not sure how to solve this and it's definitely non-standard behavior. The patch you sent fixes only the namespace menu button: ![image](/attachments/c20b5dbb-d7d9-42b8-b448-ee7cfde4313e) The underlying problem is not fixed as the issue appears in a few other places. And the button still does not look good. I believe this is a problem with qutebrowser. Can you open an issue there?
3.9 KiB

Just a note that this issue was related to Qutebrowser's use of an outdated chromium version not seeing the CSS "where" selectors. In the beta qt6 branch of qutebrowser, this is not a problem.

Just a note that this issue was related to Qutebrowser's use of an outdated chromium version not seeing the CSS "where" selectors. In the beta qt6 branch of qutebrowser, this is not a problem.
Member

That makes sense!

That makes sense!
Sign in to join this conversation.
No Milestone
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#2001
No description provided.