[PR #13827] [MERGED] 13653 darken code color to work in light and dark modes #14260

Closed
opened 2025-12-29 23:23:28 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/13827
Author: @arthanson
Created: 9/19/2023
Status: Merged
Merged: 9/20/2023
Merged by: @jeremystretch

Base: developHead: 13653-warning-color


📝 Commits (2)

  • 174c6f5 13653 darken code color to work in light and dark modes
  • 5a09e1e 13809 changed to use mx-1 on code block

📊 Changes

3 files changed (+3 additions, -3 deletions)

View changed files

📝 netbox/project-static/dist/netbox-dark.css (+1 -1)
📝 netbox/project-static/styles/theme-dark.scss (+1 -1)
📝 netbox/templates/extras/script_list.html (+1 -1)

📄 Description

Fixes: #13653

Darkens up the warning color for code blocks so they work in both light and dark modes, also added spacing around the code block in the warning message as before it was scrunched together.
Monosnap Scripts | NetBox 2023-09-19 13-46-45
Monosnap Scripts | NetBox 2023-09-19 13-47-03


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/13827 **Author:** [@arthanson](https://github.com/arthanson) **Created:** 9/19/2023 **Status:** ✅ Merged **Merged:** 9/20/2023 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `13653-warning-color` --- ### 📝 Commits (2) - [`174c6f5`](https://github.com/netbox-community/netbox/commit/174c6f56f79643971f643aaae3eeb8a0b25fab06) 13653 darken code color to work in light and dark modes - [`5a09e1e`](https://github.com/netbox-community/netbox/commit/5a09e1e36adcfdb5b8b1e85dc5a750b46400f2d3) 13809 changed to use mx-1 on code block ### 📊 Changes **3 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/netbox-dark.css` (+1 -1) 📝 `netbox/project-static/styles/theme-dark.scss` (+1 -1) 📝 `netbox/templates/extras/script_list.html` (+1 -1) </details> ### 📄 Description ### Fixes: #13653 Darkens up the warning color for code blocks so they work in both light and dark modes, also added spacing around the code block in the warning message as before it was scrunched together. ![Monosnap Scripts | NetBox 2023-09-19 13-46-45](https://github.com/netbox-community/netbox/assets/99642/60b0ad0b-9d24-4da6-991f-3ba6019c823b) ![Monosnap Scripts | NetBox 2023-09-19 13-47-03](https://github.com/netbox-community/netbox/assets/99642/4e3103fd-9c40-4173-87ca-e0ddea66e75d) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:23:28 +01:00
adam closed this issue 2025-12-29 23:23:28 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14260