Replace hardcoded CSS colors with Claro/Gin theme variables#23
Open
Replace hardcoded CSS colors with Claro/Gin theme variables#23
Conversation
… compatibility Replace all hardcoded hex colors with shared Claro/Gin CSS variables using triple-layered fallbacks (--gin-*, --color-*, hardcoded) for dark mode support and compatibility with both Gin and Claro admin themes. - Cards, status bar, empty state: use --gin-bg-layer/--color-white for backgrounds - Text colors: use --gin-color-text-light/--color-text-light - Links: use --gin-color-primary/--color-link - Danger/delete: use --gin-color-danger/--color-maximumred - Priority badges: use theme-aware transparent backgrounds (warning, danger, green) - Checkboxes: replace custom visual with Claro's form-boolean class - Link inputs: add form-element class for native Claro/Gin input styling - Remove ~50 lines of custom checkbox CSS replaced by Claro's built-in styles - Remove custom link input border/focus CSS replaced by form-element class
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #22
--gin-*,--color-*, hardcoded) for dark mode support and theme compatibilityform-booleanclass for checkboxes, removing ~50 lines of custom checkbox CSSform-elementclass for link inputs, removing custom border/focus stylingTest plan