[PR #17275] [MERGED] Fixes #16385: Restore support for white, gray, and black background colors #15045

Closed
opened 2025-12-30 00:19:38 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/17275
Author: @jeremystretch
Created: 8/27/2024
Status: Merged
Merged: 8/27/2024
Merged by: @jeremystretch

Base: developHead: 16385-fix-unsupported-colors


📝 Commits (1)

  • 77fd5ee Fixes #16385: Restore support for white, gray, and black background colors

📊 Changes

2 files changed (+12 additions, -1 deletions)

View changed files

📝 netbox/project-static/dist/netbox.css (+1 -1)
📝 netbox/project-static/styles/overrides/_bootstrap.scss (+11 -0)

📄 Description

Fixes: #16385

Adds the following CSS classes for label & badge color support:

  • text-bg-black
  • text-bg-gray
  • text-bg-white

screenshot1

screenshot2


🔄 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/17275 **Author:** [@jeremystretch](https://github.com/jeremystretch) **Created:** 8/27/2024 **Status:** ✅ Merged **Merged:** 8/27/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `16385-fix-unsupported-colors` --- ### 📝 Commits (1) - [`77fd5ee`](https://github.com/netbox-community/netbox/commit/77fd5eed39efea96bf6a0f67313d702a5c1e1d3b) Fixes #16385: Restore support for white, gray, and black background colors ### 📊 Changes **2 files changed** (+12 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/project-static/dist/netbox.css` (+1 -1) 📝 `netbox/project-static/styles/overrides/_bootstrap.scss` (+11 -0) </details> ### 📄 Description ### Fixes: #16385 Adds the following CSS classes for label & badge color support: - `text-bg-black` - `text-bg-gray` - `text-bg-white` ![screenshot1](https://github.com/user-attachments/assets/2fce1a96-e9d1-4472-96ab-9aeb1c14860e) ![screenshot2](https://github.com/user-attachments/assets/683582c7-b475-4cb0-b9cb-fdbb9dac518a) --- <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-30 00:19:38 +01:00
adam closed this issue 2025-12-30 00:19:38 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#15045