Custom link button colour(s) affected by dark mode #9717

Closed
opened 2025-12-29 21:21:32 +01:00 by adam · 7 comments
Owner

Originally created by @Azmodeszer on GitHub (May 22, 2024).

Originally assigned to: @arthanson on GitHub.

Deployment Type

Self-hosted

NetBox Version

v4.0.2

Python Version

3.11

Steps to Reproduce

  1. Create a custom link with Button class "White".
  2. Enable dark mode.

Expected Behavior

Button stays white.

Observed Behavior

Button turns black.

Originally created by @Azmodeszer on GitHub (May 22, 2024). Originally assigned to: @arthanson on GitHub. ### Deployment Type Self-hosted ### NetBox Version v4.0.2 ### Python Version 3.11 ### Steps to Reproduce 1. Create a custom link with Button class "White". 2. Enable dark mode. ### Expected Behavior Button stays white. ### Observed Behavior Button turns black.
adam added the type: bugnetboxtopic: UI/UXseverity: low labels 2025-12-29 21:21:32 +01:00
adam closed this issue 2025-12-29 21:21:32 +01:00
Author
Owner

@Andres1357 commented on GitHub (May 22, 2024):

Same bug with White, Gray or Black.
There's a similar issue with Default and Link class links where they become invisible in dark mode.

@Andres1357 commented on GitHub (May 22, 2024): Same bug with White, Gray or Black. There's a similar issue with Default and Link class links where they become invisible in dark mode.
Author
Owner

@jeremystretch commented on GitHub (May 29, 2024):

I believe we're missing custom CSS classes for .btn-white and .btn-black.

@jeremystretch commented on GitHub (May 29, 2024): I believe we're missing custom CSS classes for `.btn-white` and `.btn-black`.
Author
Owner

@ljarasius commented on GitHub (May 30, 2024):

I'm happy to take this one @jeremystretch

@ljarasius commented on GitHub (May 30, 2024): I'm happy to take this one @jeremystretch
Author
Owner

@arthanson commented on GitHub (Aug 13, 2024):

@ljarasius any updates on this? Are you still able to work on this?

@arthanson commented on GitHub (Aug 13, 2024): @ljarasius any updates on this? Are you still able to work on this?
Author
Owner

@ljarasius commented on GitHub (Aug 13, 2024):

@ljarasius any updates on this? Are you still able to work on this?

@arthanson sorry I haven't allocated any time as of yet to this, is this being covered under the 4.1 UI refresh or still needing investigation?

@ljarasius commented on GitHub (Aug 13, 2024): > @ljarasius any updates on this? Are you still able to work on this? @arthanson sorry I haven't allocated any time as of yet to this, is this being covered under the 4.1 UI refresh or still needing investigation?
Author
Owner

@jeremystretch commented on GitHub (Aug 13, 2024):

@ljarasius the v4.1 beta has been released and is available for you to test.

@jeremystretch commented on GitHub (Aug 13, 2024): @ljarasius the [v4.1 beta](https://github.com/netbox-community/netbox/releases/tag/v4.1-beta1) has been released and is available for you to test.
Author
Owner

@ljarasius commented on GitHub (Aug 13, 2024):

@ljarasius the v4.1 beta has been released and is available for you to test.

Looks to be still an issue, will try and find some time this week to investigate further.

@ljarasius commented on GitHub (Aug 13, 2024): > @ljarasius the [v4.1 beta](https://github.com/netbox-community/netbox/releases/tag/v4.1-beta1) has been released and is available for you to test. Looks to be still an issue, will try and find some time this week to investigate further.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#9717