added Professional Gray Base Palette

This commit is contained in:
Abhijit Bhatnagar 2025-08-16 02:25:28 +05:30
parent 116a05f1b5
commit fc331c2e7c
3 changed files with 77 additions and 62 deletions

File diff suppressed because one or more lines are too long

View file

@ -1,15 +1,25 @@
:root {
/* Helix Color Palette */
--helix-color-1: #f1f4fe; /* lightest */
--helix-color-2: #e4e6ed;
--helix-color-3: #c8cad3;
--helix-color-4: #a9adb9;
--helix-color-5: #9094a3;
--helix-color-6: #7f8496;
--helix-color-7: #777c91;
--helix-color-8: #63687c;
--helix-color-9: #595e72;
--helix-color-10: #4a5167; /* darkest */
/* Warm Professional Gray Base Palette */
--helix-color-1: #fafaf9; /* lightest */
--helix-color-2: #f5f5f4;
--helix-color-3: #e7e5e4;
--helix-color-4: #d6d3d1;
--helix-color-5: #a8a29e;
--helix-color-6: #78716c;
--helix-color-7: #57534e;
--helix-color-8: #44403c;
--helix-color-9: #292524;
--helix-color-10: #1c1917; /* darkest */
/* Accent Colors */
--helix-success: #059669; /* darker green for warm palette */
--helix-success-light: #d1fae5;
--helix-error: #dc2626; /* slightly darker red */
--helix-error-light: #fee2e2;
--helix-warning: #d97706; /* warmer orange */
--helix-warning-light: #fed7aa;
--helix-primary: #2563eb; /* rich blue for primary actions */
--helix-primary-light: #dbeafe;
}
.helix-dashboard {
@ -179,8 +189,8 @@
gap: 0.25rem;
font-size: 0.75rem;
font-weight: 600;
color: #059669;
background: rgba(16, 185, 129, 0.1);
color: var(--helix-success);
background: var(--helix-success-light);
padding: 0.25rem 0.5rem;
border-radius: 6px;
}
@ -297,23 +307,23 @@
}
.helix-status--publish {
background: #dcfce7;
color: #166534;
background: var(--helix-success-light);
color: var(--helix-success);
}
.helix-status--draft {
background: #fef3c7;
color: #92400e;
background: var(--helix-warning-light);
color: var(--helix-warning);
}
.helix-status--approved {
background: #dcfce7;
color: #166534;
background: var(--helix-success-light);
color: var(--helix-success);
}
.helix-status--pending {
background: #fef3c7;
color: #92400e;
background: var(--helix-warning-light);
color: var(--helix-warning);
}
.helix-quick-actions {

View file

@ -1,17 +1,27 @@
/* Helix Settings Page Styles */
:root {
/* Helix Color Palette */
--helix-color-1: #f1f4fe; /* lightest */
--helix-color-2: #e4e6ed;
--helix-color-3: #c8cad3;
--helix-color-4: #a9adb9;
--helix-color-5: #9094a3;
--helix-color-6: #7f8496;
--helix-color-7: #777c91;
--helix-color-8: #63687c;
--helix-color-9: #595e72;
--helix-color-10: #4a5167; /* darkest */
/* Warm Professional Gray Base Palette */
--helix-color-1: #fafaf9; /* lightest */
--helix-color-2: #f5f5f4;
--helix-color-3: #e7e5e4;
--helix-color-4: #d6d3d1;
--helix-color-5: #a8a29e;
--helix-color-6: #78716c;
--helix-color-7: #57534e;
--helix-color-8: #44403c;
--helix-color-9: #292524;
--helix-color-10: #1c1917; /* darkest */
/* Accent Colors */
--helix-success: #059669; /* darker green for warm palette */
--helix-success-light: #d1fae5;
--helix-error: #dc2626; /* slightly darker red */
--helix-error-light: #fee2e2;
--helix-warning: #d97706; /* warmer orange */
--helix-warning-light: #fed7aa;
--helix-primary: #2563eb; /* rich blue for primary actions */
--helix-primary-light: #dbeafe;
}
.helix-settings-page {
@ -84,8 +94,8 @@
.helix-spinner {
width: 24px;
height: 24px;
border: 3px solid #e5e7eb;
border-top: 3px solid #667eea;
border: 3px solid var(--helix-color-3);
border-top: 3px solid var(--helix-primary);
border-radius: 50%;
animation: spin 1s linear infinite;
display: inline-block;
@ -103,11 +113,11 @@
justify-content: center;
margin: 30px 0;
padding: 20px 0;
border-top: 1px solid #e5e7eb;
border-top: 1px solid var(--helix-color-3);
}
.helix-settings-footer {
border-bottom: 1px solid #e5e7eb;
border-bottom: 1px solid var(--helix-color-3);
margin-top: 50px;
}
@ -140,29 +150,29 @@
background: linear-gradient(135deg, var(--helix-color-8) 0%, var(--helix-color-10) 100%);
color: white;
border-color: var(--helix-color-8);
box-shadow: 0 4px 6px -1px rgba(102, 126, 234, 0.2);
box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}
.helix-btn-primary:hover:not(:disabled) {
background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
border-color: #5a6fd8;
background: linear-gradient(135deg, var(--helix-color-7) 0%, var(--helix-color-9) 100%);
border-color: var(--helix-color-7);
transform: translateY(-1px);
box-shadow: 0 8px 15px -3px rgba(102, 126, 234, 0.3);
box-shadow: 0 8px 15px -3px rgba(37, 99, 235, 0.3);
}
.helix-btn-secondary {
background-color: white;
color: var(--helix-color-9);
border-color: #d1d5db;
border-color: var(--helix-color-4);
}
.helix-btn-secondary:hover:not(:disabled) {
background-color: #f9fafb;
border-color: #9ca3af;
background-color: var(--helix-color-2);
border-color: var(--helix-color-5);
}
.helix-save-status {
color: #059669;
color: var(--helix-success);
font-weight: 500;
display: flex;
align-items: center;
@ -176,7 +186,7 @@
.helix-tabs-nav {
display: flex;
border-bottom: 2px solid #e5e7eb;
border-bottom: 2px solid var(--helix-color-3);
overflow-x: auto;
gap: 2px;
}
@ -257,7 +267,7 @@
.helix-settings-section-header {
background: linear-gradient(135deg, var(--helix-color-1) 0%, var(--helix-color-2) 100%);
padding: 24px;
border-bottom: 1px solid rgba(102, 126, 234, 0.1);
border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}
.helix-settings-section-title {
@ -283,7 +293,7 @@
}
.helix-settings-subsection {
border-top: 1px solid #e5e7eb;
border-top: 1px solid var(--helix-color-3);
padding-top: 24px;
margin-top: 24px;
}
@ -309,7 +319,7 @@
}
.helix-required {
color: #ef4444;
color: var(--helix-error);
margin-left: 4px;
}
@ -327,7 +337,7 @@
.helix-form-error {
font-size: 13px;
color: #ef4444;
color: var(--helix-error);
margin: 0;
}
@ -348,7 +358,7 @@
.helix-select-input:focus {
outline: none;
border-color: var(--helix-color-8);
box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.helix-select-input {
@ -462,23 +472,19 @@
}
.helix-notification-success {
border-left: 4px solid #059669;
background-color: #f0fdf4;
background-color: var(--helix-success-light);
}
.helix-notification-error {
border-left: 4px solid #ef4444;
background-color: #fef2f2;
background-color: var(--helix-error-light);
}
.helix-notification-warning {
border-left: 4px solid #f59e0b;
background-color: #fffbeb;
background-color: var(--helix-warning-light);
}
.helix-notification-info {
border-left: 4px solid #667eea;
background-color: #f0f4ff;
background-color: var(--helix-primary-light);
}
.helix-notification-content {
@ -530,13 +536,13 @@
.helix-tab {
justify-content: flex-start;
border-bottom: 1px solid #e5e7eb;
border-bottom: 1px solid var(--helix-color-3);
border-right: none;
}
.helix-tab.active {
border-bottom-color: #e5e7eb;
border-left: 3px solid #667eea;
border-bottom-color: var(--helix-color-3);
border-left: 3px solid var(--helix-primary);
background-color: var(--helix-color-1);
}