refactor: 样式调整和代码优化
This commit is contained in:
@@ -9,9 +9,8 @@ page {
|
||||
|
||||
/* 自定义扩展变量 */
|
||||
--wot-button-normal-bg: #ffffff;
|
||||
--wot-card-bg: #ffffff;
|
||||
--wot-color-bg: #ffffff;
|
||||
--wot-color-bg-light: #f3f4f6;
|
||||
--wot-dark-color: #333333;
|
||||
|
||||
/* 文本颜色变量 */
|
||||
--wot-color-text: #333333;
|
||||
@@ -20,7 +19,6 @@ page {
|
||||
|
||||
/* 边框和背景变量 */
|
||||
--wot-color-border: #e5e7eb;
|
||||
--wot-color-bg-container: #f5f5f5;
|
||||
}
|
||||
|
||||
/* 暗黑主题 (dark) */
|
||||
@@ -32,17 +30,12 @@ page {
|
||||
--wot-color-danger: #ff4757;
|
||||
|
||||
/* 自定义扩展变量 */
|
||||
--wot-button-normal-bg: #2a2a2a;
|
||||
--wot-card-bg: #1b1b1b;
|
||||
--wot-color-bg: #1b1b1b;
|
||||
--wot-color-bg-light: #2a2a2a;
|
||||
--wot-dark-color: #ffffff;
|
||||
|
||||
/* 暗黑模式下的文本颜色变量 */
|
||||
--wot-color-text: #ffffff;
|
||||
--wot-color-text-secondary: #cccccc;
|
||||
--wot-color-text-placeholder: #999999;
|
||||
|
||||
/* 暗黑模式下的边框和背景变量 */
|
||||
--wot-color-border: #374151;
|
||||
--wot-color-bg-container: #111111;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user