netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Public demo: https://demo.netbox.dev
http://netboxlabs.com/oss/netbox/
Apache License 2.0
15.67k stars 2.53k forks source link

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

Open Azmodeszer opened 3 months ago

Azmodeszer commented 3 months ago

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.

Andres1357 commented 3 months ago

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.

jeremystretch commented 3 months ago

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

ljarasius commented 3 months ago

I'm happy to take this one @jeremystretch

arthanson commented 2 weeks ago

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

ljarasius commented 2 weeks ago

@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?

jeremystretch commented 2 weeks ago

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

ljarasius commented 2 weeks ago

@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.