-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor code and add Pinia for state management
- Loading branch information
Showing
13 changed files
with
988 additions
and
889 deletions.
There are no files selected for viewing
This file contains 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
:root { | ||
/* 主题颜色 */ | ||
--color-primary: #3498db; | ||
--color-primary-dark: #2980b9; | ||
--color-success: #2ecc71; | ||
--color-success-dark: #27ae60; | ||
--color-warning: #f1c40f; | ||
--color-warning-dark: #f39c12; | ||
--color-error: #e74c3c; | ||
--color-error-dark: #c0392b; | ||
|
||
/* 背景颜色 */ | ||
--color-bg-primary: #ffffff; | ||
--color-bg-secondary: #f8f9fa; | ||
--color-bg-tertiary: #e9ecef; | ||
|
||
/* 文本颜色 */ | ||
--color-text-primary: #2c3e50; | ||
--color-text-secondary: #6c757d; | ||
|
||
/* 边框颜色 */ | ||
--color-border: #dee2e6; | ||
|
||
/* 阴影 */ | ||
--shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05); | ||
--shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1); | ||
--shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1); | ||
|
||
/* 圆角 */ | ||
--radius-sm: 4px; | ||
--radius-md: 8px; | ||
--radius-lg: 16px; | ||
|
||
/* 间距 */ | ||
--space-1: 0.25rem; | ||
--space-2: 0.5rem; | ||
--space-3: 1rem; | ||
--space-4: 1.5rem; | ||
--space-5: 2rem; | ||
--space-6: 3rem; | ||
|
||
/* 字体大小 */ | ||
--text-xs: 0.75rem; | ||
--text-sm: 0.875rem; | ||
--text-base: 1rem; | ||
--text-lg: 1.125rem; | ||
--text-xl: 1.25rem; | ||
--text-2xl: 1.5rem; | ||
|
||
/* 字体粗细 */ | ||
--font-normal: 400; | ||
--font-medium: 500; | ||
--font-semibold: 600; | ||
--font-bold: 700; | ||
|
||
/* 过渡动画 */ | ||
--transition-fast: 0.15s ease-in-out; | ||
--transition-normal: 0.25s ease-in-out; | ||
--transition-slow: 0.35s ease-in-out; | ||
} |
This file contains 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
Oops, something went wrong.