nautobot / nautobot

Network Source of Truth & Network Automation Platform
https://docs.nautobot.com
Apache License 2.0
944 stars 254 forks source link

SavedView modal JSON field is white in dark mode #5814

Open smk4664 opened 2 weeks ago

smk4664 commented 2 weeks ago

Environment

Steps to Reproduce

  1. Switch to Dark Mode
  2. Go to any list view (Ex. Devices)
  3. Click Saved Views - Save As New View

Expected Behavior

The "New Changes" field is rendered in Dark Mode colors.

Observed Behavior

The "New Changes" field is white.

gsnider2195 commented 1 week ago

image

gsnider2195 commented 1 week ago

Looks like this hard-coded background color needs to be removed:

https://github.com/nautobot/nautobot/blob/6638b3221190fbb3bd7563e7b85843a551b32f34/nautobot/core/templates/utilities/templatetags/saved_view_modal.html#L19