Ensure consistent text color for modal overlay across themes

This commit is contained in:
Mustan Ali
2025-11-07 10:42:52 +05:00
parent 51721cf44a
commit 6fb02c12fb
2 changed files with 86 additions and 76 deletions

View File

@@ -26,6 +26,7 @@
--text: #1e293b;
--text-secondary: #64748b;
--text-muted: #94a3b8;
--text-modal: #4a5568;
--border: #e2e8f0;
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
@@ -424,6 +425,10 @@
padding: 1rem;
}
.modal-overlay {
color: var(--text-modal);
}
.modal-content {
background: var(--bg);
border-radius: 0.75rem;

View File

@@ -26,6 +26,7 @@
--text: #1e293b;
--text-secondary: #64748b;
--text-muted: #94a3b8;
--text-modal: #4a5568;
--border: #e2e8f0;
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
@@ -424,6 +425,10 @@
padding: 1rem;
}
.modal-overlay {
color: var(--text-modal);
}
.modal-content {
background: var(--bg);
border-radius: 0.75rem;