[PR #279] [MERGED] Fix AlertColors info style in site config for consistent dark mode appearance #2466

Closed
opened 2025-11-20 05:30:10 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/community-scripts/ProxmoxVE/pull/279
Author: @BramSuurdje
Created: 11/16/2024
Status: Merged
Merged: 11/16/2024
Merged by: @havardthom

Base: mainHead: fix-alert-contrast-colors


📝 Commits (3)

  • 2a09167 Fix AlertColors info style in site config for consistent dark mode appearance
  • c735b70 Enhance alert icon display in Alerts component for improved clarity with new icons
  • 7a02800 Remove unused icon import in Alerts component to streamline icon usage and improve code clarity

📊 Changes

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

View changed files

📝 frontend/src/app/scripts/_components/ScriptItems/Alerts.tsx (+6 -2)
📝 frontend/src/config/siteConfig.tsx (+1 -1)

📄 Description

Note

We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged.

Description

This pull request includes a small change to the frontend/src/config/siteConfig.tsx file. The change modifies the info alert color configuration to adjust the order of the dark mode background and border classes.

Fixes # (issue)

Type of change

Please check the relevant option(s):

  • Bug fix (non-breaking change that resolves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (a fix or feature that would cause existing functionality to change unexpectedly)
  • New script (a fully functional and thoroughly tested script or set of scripts.)

Prerequisites

The following efforts must be made for the PR to be considered. Please check when completed:

  • Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions)
  • Testing performed (I have tested my changes, ensuring everything works as expected)
  • Documentation updated (I have updated any relevant documentation)

Additional Information (optional)

Provide any additional context or screenshots about the feature or fix here.

If there are other pull requests or discussions related to this change, please link them here:

  • Related PR #

🔄 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/community-scripts/ProxmoxVE/pull/279 **Author:** [@BramSuurdje](https://github.com/BramSuurdje) **Created:** 11/16/2024 **Status:** ✅ Merged **Merged:** 11/16/2024 **Merged by:** [@havardthom](https://github.com/havardthom) **Base:** `main` ← **Head:** `fix-alert-contrast-colors` --- ### 📝 Commits (3) - [`2a09167`](https://github.com/community-scripts/ProxmoxVE/commit/2a091674a22dcc4fa03f1cfc2dde22165c49610e) Fix AlertColors info style in site config for consistent dark mode appearance - [`c735b70`](https://github.com/community-scripts/ProxmoxVE/commit/c735b70ebaaf43c91b04c525a880b4b25bde11d1) Enhance alert icon display in Alerts component for improved clarity with new icons - [`7a02800`](https://github.com/community-scripts/ProxmoxVE/commit/7a02800ad364ea460bf11540f849dbb8d7ceb74a) Remove unused icon import in Alerts component to streamline icon usage and improve code clarity ### 📊 Changes **2 files changed** (+7 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/app/scripts/_components/ScriptItems/Alerts.tsx` (+6 -2) 📝 `frontend/src/config/siteConfig.tsx` (+1 -1) </details> ### 📄 Description > [!NOTE] > We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged. ## Description This pull request includes a small change to the `frontend/src/config/siteConfig.tsx` file. The change modifies the `info` alert color configuration to adjust the order of the dark mode background and border classes. * [`frontend/src/config/siteConfig.tsx`](diffhunk://#diff-0baba4dc08677b4a0aeea59e4dd7b3c43254f50f04a44e450a1d277b62c7e0c3L40-R40): Adjusted the order of the dark mode background and border classes in the `info` alert color configuration. Fixes # (issue) ## Type of change Please check the relevant option(s): - [x] Bug fix (non-breaking change that resolves an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly) - [ ] New script (a fully functional and thoroughly tested script or set of scripts.) ## Prerequisites The following efforts must be made for the PR to be considered. Please check when completed: - [x] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions) - [x] Testing performed (I have tested my changes, ensuring everything works as expected) - [ ] Documentation updated (I have updated any relevant documentation) ## Additional Information (optional) Provide any additional context or screenshots about the feature or fix here. ## Related Pull Requests / Discussions If there are other pull requests or discussions related to this change, please link them here: - Related PR # --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2025-11-20 05:30:10 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/ProxmoxVE#2466