mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-20 21:00:41 +00:00
Refactor styles to utilize Tailwind CSS utility classes for improved consistency and maintainability across forms, motion, shell, and vault components. Remove deprecated reduced-motion styles and consolidate motion-related animations. Update color tokens for better contrast and accessibility. Introduce a new Tailwind CSS configuration file.
This commit is contained in:
@@ -1,21 +1,28 @@
|
||||
:root {
|
||||
--bg-accent: #e7edf8;
|
||||
--panel: #f9fbff;
|
||||
--panel-soft: #f2f6fd;
|
||||
--panel-muted: #e8eff9;
|
||||
--line: rgba(128, 152, 192, 0.32);
|
||||
--line-soft: rgba(143, 167, 206, 0.18);
|
||||
--bg-accent: #eef3fa;
|
||||
--panel: #ffffff;
|
||||
--panel-soft: #f6f8fc;
|
||||
--panel-muted: #edf2f8;
|
||||
--panel-subtle: #f8fafc;
|
||||
--line: rgba(113, 132, 163, 0.28);
|
||||
--line-soft: rgba(113, 132, 163, 0.16);
|
||||
--text: #0b1730;
|
||||
--muted: #60708b;
|
||||
--muted-strong: #334765;
|
||||
--muted: #5f6f85;
|
||||
--muted-strong: #2f4058;
|
||||
--primary: #2563eb;
|
||||
--primary-hover: #1d4ed8;
|
||||
--primary-strong: #0f3f98;
|
||||
--danger: #d92d57;
|
||||
--success: #0f766e;
|
||||
--warning: #b45309;
|
||||
--overlay-strong: rgba(15, 23, 42, 0.56);
|
||||
--shadow-sm: 0 10px 22px rgba(13, 31, 68, 0.045);
|
||||
--shadow-md: 0 22px 48px rgba(13, 31, 68, 0.08);
|
||||
--shadow-lg: 0 28px 76px rgba(13, 31, 68, 0.11);
|
||||
--shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
|
||||
--shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
|
||||
--shadow-lg: 0 14px 38px rgba(15, 23, 42, 0.10);
|
||||
--radius-sm: 8px;
|
||||
--radius-md: 10px;
|
||||
--radius-lg: 14px;
|
||||
--radius-xl: 18px;
|
||||
--ease-out-strong: cubic-bezier(0.22, 1, 0.36, 1);
|
||||
--ease-out-soft: cubic-bezier(0.24, 0.8, 0.32, 1);
|
||||
--ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
|
||||
@@ -26,21 +33,24 @@
|
||||
}
|
||||
|
||||
:root[data-theme='dark'] {
|
||||
--bg-accent: #06111d;
|
||||
--panel: #0d192b;
|
||||
--panel-soft: #112136;
|
||||
--panel-muted: #0a1626;
|
||||
--line: rgba(108, 141, 190, 0.28);
|
||||
--line-soft: rgba(120, 152, 198, 0.16);
|
||||
--text: #edf4ff;
|
||||
--muted: #8fa6c6;
|
||||
--muted-strong: #c3d5ef;
|
||||
--primary: #84b6ff;
|
||||
--primary-hover: #a6ccff;
|
||||
--primary-strong: #f3f8ff;
|
||||
--danger: #ff8ba8;
|
||||
--overlay-strong: rgba(2, 8, 20, 0.84);
|
||||
--shadow-sm: 0 14px 28px rgba(1, 7, 18, 0.24);
|
||||
--shadow-md: 0 24px 52px rgba(1, 7, 18, 0.36);
|
||||
--shadow-lg: 0 34px 88px rgba(1, 7, 18, 0.46);
|
||||
--bg-accent: #0b1020;
|
||||
--panel: #111827;
|
||||
--panel-soft: #0f172a;
|
||||
--panel-muted: #0b1324;
|
||||
--panel-subtle: #151e2e;
|
||||
--line: rgba(148, 163, 184, 0.20);
|
||||
--line-soft: rgba(148, 163, 184, 0.12);
|
||||
--text: #e5edf8;
|
||||
--muted: #9aa8bb;
|
||||
--muted-strong: #c7d2e2;
|
||||
--primary: #8bb8ff;
|
||||
--primary-hover: #a9ccff;
|
||||
--primary-strong: #dceaff;
|
||||
--danger: #fb7185;
|
||||
--success: #5eead4;
|
||||
--warning: #fbbf24;
|
||||
--overlay-strong: rgba(2, 6, 23, 0.74);
|
||||
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.26);
|
||||
--shadow-md: 0 8px 24px rgba(0, 0, 0, 0.30);
|
||||
--shadow-lg: 0 14px 38px rgba(0, 0, 0, 0.34);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user