Editor toolbox icons not visible when selected while using dark app theme color on dark mode #4283

Closed
opened 2026-02-05 08:25:14 +03:00 by OVERLORD · 6 comments
Owner

Originally created by @reddexx on GitHub (Oct 30, 2023).

Describe the Bug

In Edit Mode Right Side
image

Steps to Reproduce

Go To Edit Mod with Dark Mode

Expected Behaviour

Empty Icon see

Screenshots or Additional Context

No response

Browser Details

Chrome

Exact BookStack Version

23.10

Originally created by @reddexx on GitHub (Oct 30, 2023). ### Describe the Bug In Edit Mode Right Side ![image](https://github.com/BookStackApp/BookStack/assets/6242840/e1ebe1cd-7fc3-4395-ac29-f62d67397bd8) ### Steps to Reproduce Go To Edit Mod with Dark Mode ### Expected Behaviour Empty Icon see ### Screenshots or Additional Context _No response_ ### Browser Details Chrome ### Exact BookStack Version 23.10
OVERLORD added the 🐛 Bug label 2026-02-05 08:25:14 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Oct 30, 2023):

Thanks for reporting @reddexx.
I'm assuming you have a dark primary app color (header bar color) set for dark mode?

I've used the primary color here but the link color may be more appropriate instead.

@ssddanbrown commented on GitHub (Oct 30, 2023): Thanks for reporting @reddexx. I'm assuming you have a dark primary app color (header bar color) set for dark mode? I've used the primary color here but the link color may be more appropriate instead.
Author
Owner

@reddexx commented on GitHub (Oct 30, 2023):

yes is the Primary Color

image

@reddexx commented on GitHub (Oct 30, 2023): yes is the Primary Color ![image](https://github.com/BookStackApp/BookStack/assets/6242840/a4bc9f37-a423-4d96-ab28-ac3ced9fc721)
Author
Owner

@reddexx commented on GitHub (Oct 30, 2023):

I have change this CSS

.floating-toolbox .tabs-inner>button:hover, .floating-toolbox.open .tabs-inner>button.active {
background-color: var(--color-primary-light);
color: #fff9f9;
border-bottom: 1px solid #000;
border-top: 1px solid #000;
}

unfortunately the declaration is often bound with many ID, see GIF
chrome_0K9md135Tk

@reddexx commented on GitHub (Oct 30, 2023): I have change this CSS .floating-toolbox .tabs-inner>button:hover, .floating-toolbox.open .tabs-inner>button.active { background-color: var(--color-primary-light); color: #fff9f9; border-bottom: 1px solid #000; border-top: 1px solid #000; } unfortunately the declaration is often bound with many ID, see GIF ![chrome_0K9md135Tk](https://github.com/BookStackApp/BookStack/assets/6242840/7c5096c9-75b9-4a2b-8d7b-d0afa6625586)
Author
Owner

@reddexx commented on GitHub (Oct 30, 2023):

@ssddanbrown this Working

.floating-toolbox .tabs-inner>button:active, .floating-toolbox.open .tabs-inner>button.active {
background-color: var(--color-primary-light);
color: #fff9f9;
border-bottom: 1px solid #000;
border-top: 1px solid #000;
}
chrome_4NeeCM7hFp

@reddexx commented on GitHub (Oct 30, 2023): @ssddanbrown this Working .floating-toolbox .tabs-inner>button:active, .floating-toolbox.open .tabs-inner>button.active { background-color: var(--color-primary-light); color: #fff9f9; border-bottom: 1px solid #000; border-top: 1px solid #000; } ![chrome_4NeeCM7hFp](https://github.com/BookStackApp/BookStack/assets/6242840/98bc0017-d6c4-43e3-a412-768ca0ce8d94)
Author
Owner

@ssddanbrown commented on GitHub (Oct 30, 2023):

yes is the Primary Color

Thanks for confirming. I've assigned to the next patch release, with an aim to just use the link color instead of the primary app color (Or a lighter grey as demoed above if that does not suit).

@ssddanbrown commented on GitHub (Oct 30, 2023): > yes is the Primary Color Thanks for confirming. I've assigned to the next patch release, with an aim to just use the link color instead of the primary app color (Or a lighter grey as demoed above if that does not suit).
Author
Owner

@ssddanbrown commented on GitHub (Nov 2, 2023):

This has now been addressed within 02d140120a, to be part of the next patch release.

Thanks again for reporting @reddexx!

@ssddanbrown commented on GitHub (Nov 2, 2023): This has now been addressed within 02d140120ac6c00987ec536ad9adb4250aeeb3d8, to be part of the next patch release. Thanks again for reporting @reddexx!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4283