netbox-community / netbox

The premier source of truth powering network automation. Open source under Apache 2. Try NetBox Cloud free: https://netboxlabs.com/free-netbox-cloud/
http://netboxlabs.com/oss/netbox/
Apache License 2.0
16.38k stars 2.6k forks source link

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

Open Azmodeszer opened 6 months ago

Azmodeszer commented 6 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 6 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 6 months ago

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

ljarasius commented 6 months ago

I'm happy to take this one @jeremystretch

arthanson commented 3 months ago

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

ljarasius commented 3 months 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 3 months ago

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

ljarasius commented 3 months 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.