mirror of
https://ghproxy.net/https://github.com/abhijitb/helix.git
synced 2025-08-28 06:26:00 +08:00
added Professional Gray Base Palette
This commit is contained in:
parent
116a05f1b5
commit
fc331c2e7c
3 changed files with 77 additions and 62 deletions
File diff suppressed because one or more lines are too long
|
@ -1,15 +1,25 @@
|
||||||
:root {
|
:root {
|
||||||
/* Helix Color Palette */
|
/* Warm Professional Gray Base Palette */
|
||||||
--helix-color-1: #f1f4fe; /* lightest */
|
--helix-color-1: #fafaf9; /* lightest */
|
||||||
--helix-color-2: #e4e6ed;
|
--helix-color-2: #f5f5f4;
|
||||||
--helix-color-3: #c8cad3;
|
--helix-color-3: #e7e5e4;
|
||||||
--helix-color-4: #a9adb9;
|
--helix-color-4: #d6d3d1;
|
||||||
--helix-color-5: #9094a3;
|
--helix-color-5: #a8a29e;
|
||||||
--helix-color-6: #7f8496;
|
--helix-color-6: #78716c;
|
||||||
--helix-color-7: #777c91;
|
--helix-color-7: #57534e;
|
||||||
--helix-color-8: #63687c;
|
--helix-color-8: #44403c;
|
||||||
--helix-color-9: #595e72;
|
--helix-color-9: #292524;
|
||||||
--helix-color-10: #4a5167; /* darkest */
|
--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 {
|
.helix-dashboard {
|
||||||
|
@ -179,8 +189,8 @@
|
||||||
gap: 0.25rem;
|
gap: 0.25rem;
|
||||||
font-size: 0.75rem;
|
font-size: 0.75rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #059669;
|
color: var(--helix-success);
|
||||||
background: rgba(16, 185, 129, 0.1);
|
background: var(--helix-success-light);
|
||||||
padding: 0.25rem 0.5rem;
|
padding: 0.25rem 0.5rem;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
@ -297,23 +307,23 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-status--publish {
|
.helix-status--publish {
|
||||||
background: #dcfce7;
|
background: var(--helix-success-light);
|
||||||
color: #166534;
|
color: var(--helix-success);
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-status--draft {
|
.helix-status--draft {
|
||||||
background: #fef3c7;
|
background: var(--helix-warning-light);
|
||||||
color: #92400e;
|
color: var(--helix-warning);
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-status--approved {
|
.helix-status--approved {
|
||||||
background: #dcfce7;
|
background: var(--helix-success-light);
|
||||||
color: #166534;
|
color: var(--helix-success);
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-status--pending {
|
.helix-status--pending {
|
||||||
background: #fef3c7;
|
background: var(--helix-warning-light);
|
||||||
color: #92400e;
|
color: var(--helix-warning);
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-quick-actions {
|
.helix-quick-actions {
|
||||||
|
|
|
@ -1,17 +1,27 @@
|
||||||
/* Helix Settings Page Styles */
|
/* Helix Settings Page Styles */
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
/* Helix Color Palette */
|
/* Warm Professional Gray Base Palette */
|
||||||
--helix-color-1: #f1f4fe; /* lightest */
|
--helix-color-1: #fafaf9; /* lightest */
|
||||||
--helix-color-2: #e4e6ed;
|
--helix-color-2: #f5f5f4;
|
||||||
--helix-color-3: #c8cad3;
|
--helix-color-3: #e7e5e4;
|
||||||
--helix-color-4: #a9adb9;
|
--helix-color-4: #d6d3d1;
|
||||||
--helix-color-5: #9094a3;
|
--helix-color-5: #a8a29e;
|
||||||
--helix-color-6: #7f8496;
|
--helix-color-6: #78716c;
|
||||||
--helix-color-7: #777c91;
|
--helix-color-7: #57534e;
|
||||||
--helix-color-8: #63687c;
|
--helix-color-8: #44403c;
|
||||||
--helix-color-9: #595e72;
|
--helix-color-9: #292524;
|
||||||
--helix-color-10: #4a5167; /* darkest */
|
--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 {
|
.helix-settings-page {
|
||||||
|
@ -84,8 +94,8 @@
|
||||||
.helix-spinner {
|
.helix-spinner {
|
||||||
width: 24px;
|
width: 24px;
|
||||||
height: 24px;
|
height: 24px;
|
||||||
border: 3px solid #e5e7eb;
|
border: 3px solid var(--helix-color-3);
|
||||||
border-top: 3px solid #667eea;
|
border-top: 3px solid var(--helix-primary);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
animation: spin 1s linear infinite;
|
animation: spin 1s linear infinite;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
@ -103,11 +113,11 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
margin: 30px 0;
|
margin: 30px 0;
|
||||||
padding: 20px 0;
|
padding: 20px 0;
|
||||||
border-top: 1px solid #e5e7eb;
|
border-top: 1px solid var(--helix-color-3);
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-settings-footer {
|
.helix-settings-footer {
|
||||||
border-bottom: 1px solid #e5e7eb;
|
border-bottom: 1px solid var(--helix-color-3);
|
||||||
margin-top: 50px;
|
margin-top: 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,29 +150,29 @@
|
||||||
background: linear-gradient(135deg, var(--helix-color-8) 0%, var(--helix-color-10) 100%);
|
background: linear-gradient(135deg, var(--helix-color-8) 0%, var(--helix-color-10) 100%);
|
||||||
color: white;
|
color: white;
|
||||||
border-color: var(--helix-color-8);
|
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) {
|
.helix-btn-primary:hover:not(:disabled) {
|
||||||
background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
|
background: linear-gradient(135deg, var(--helix-color-7) 0%, var(--helix-color-9) 100%);
|
||||||
border-color: #5a6fd8;
|
border-color: var(--helix-color-7);
|
||||||
transform: translateY(-1px);
|
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 {
|
.helix-btn-secondary {
|
||||||
background-color: white;
|
background-color: white;
|
||||||
color: var(--helix-color-9);
|
color: var(--helix-color-9);
|
||||||
border-color: #d1d5db;
|
border-color: var(--helix-color-4);
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-btn-secondary:hover:not(:disabled) {
|
.helix-btn-secondary:hover:not(:disabled) {
|
||||||
background-color: #f9fafb;
|
background-color: var(--helix-color-2);
|
||||||
border-color: #9ca3af;
|
border-color: var(--helix-color-5);
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-save-status {
|
.helix-save-status {
|
||||||
color: #059669;
|
color: var(--helix-success);
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -176,7 +186,7 @@
|
||||||
|
|
||||||
.helix-tabs-nav {
|
.helix-tabs-nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
border-bottom: 2px solid #e5e7eb;
|
border-bottom: 2px solid var(--helix-color-3);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
}
|
}
|
||||||
|
@ -257,7 +267,7 @@
|
||||||
.helix-settings-section-header {
|
.helix-settings-section-header {
|
||||||
background: linear-gradient(135deg, var(--helix-color-1) 0%, var(--helix-color-2) 100%);
|
background: linear-gradient(135deg, var(--helix-color-1) 0%, var(--helix-color-2) 100%);
|
||||||
padding: 24px;
|
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 {
|
.helix-settings-section-title {
|
||||||
|
@ -283,7 +293,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-settings-subsection {
|
.helix-settings-subsection {
|
||||||
border-top: 1px solid #e5e7eb;
|
border-top: 1px solid var(--helix-color-3);
|
||||||
padding-top: 24px;
|
padding-top: 24px;
|
||||||
margin-top: 24px;
|
margin-top: 24px;
|
||||||
}
|
}
|
||||||
|
@ -309,7 +319,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-required {
|
.helix-required {
|
||||||
color: #ef4444;
|
color: var(--helix-error);
|
||||||
margin-left: 4px;
|
margin-left: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -327,7 +337,7 @@
|
||||||
|
|
||||||
.helix-form-error {
|
.helix-form-error {
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: #ef4444;
|
color: var(--helix-error);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -348,7 +358,7 @@
|
||||||
.helix-select-input:focus {
|
.helix-select-input:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
border-color: var(--helix-color-8);
|
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 {
|
.helix-select-input {
|
||||||
|
@ -462,23 +472,19 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-notification-success {
|
.helix-notification-success {
|
||||||
border-left: 4px solid #059669;
|
background-color: var(--helix-success-light);
|
||||||
background-color: #f0fdf4;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-notification-error {
|
.helix-notification-error {
|
||||||
border-left: 4px solid #ef4444;
|
background-color: var(--helix-error-light);
|
||||||
background-color: #fef2f2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-notification-warning {
|
.helix-notification-warning {
|
||||||
border-left: 4px solid #f59e0b;
|
background-color: var(--helix-warning-light);
|
||||||
background-color: #fffbeb;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-notification-info {
|
.helix-notification-info {
|
||||||
border-left: 4px solid #667eea;
|
background-color: var(--helix-primary-light);
|
||||||
background-color: #f0f4ff;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-notification-content {
|
.helix-notification-content {
|
||||||
|
@ -530,13 +536,13 @@
|
||||||
|
|
||||||
.helix-tab {
|
.helix-tab {
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
border-bottom: 1px solid #e5e7eb;
|
border-bottom: 1px solid var(--helix-color-3);
|
||||||
border-right: none;
|
border-right: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.helix-tab.active {
|
.helix-tab.active {
|
||||||
border-bottom-color: #e5e7eb;
|
border-bottom-color: var(--helix-color-3);
|
||||||
border-left: 3px solid #667eea;
|
border-left: 3px solid var(--helix-primary);
|
||||||
background-color: var(--helix-color-1);
|
background-color: var(--helix-color-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue