feat: 完善暗色主题
This commit is contained in:
@@ -114,8 +114,8 @@ const { data: categories } =
|
|||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #4f6df5;
|
color: var(--primary);
|
||||||
background: #eef1fe;
|
background: var(--tag-bg);
|
||||||
padding: 3px 10px;
|
padding: 3px 10px;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
|
|||||||
@@ -169,8 +169,8 @@ posts.map((post) => {
|
|||||||
|
|
||||||
.tag {
|
.tag {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #4f6df5;
|
color: var(--primary);
|
||||||
background: #eef1fe;
|
background: var(--tag-bg);
|
||||||
padding: 3px 10px;
|
padding: 3px 10px;
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
transition: background 0.2s;
|
transition: background 0.2s;
|
||||||
@@ -180,7 +180,6 @@ posts.map((post) => {
|
|||||||
background: #dfe6fd;
|
background: #dfe6fd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* ========== 分页 ========== */
|
/* ========== 分页 ========== */
|
||||||
.pagination {
|
.pagination {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
@@ -7,10 +7,11 @@
|
|||||||
--shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
--shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
|
||||||
--shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.10);
|
--shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.10);
|
||||||
--card-bg: #ffffff;
|
--card-bg: #ffffff;
|
||||||
|
--tag-bg: #eef1fe;
|
||||||
--text-color: #2b2f36;
|
--text-color: #2b2f36;
|
||||||
--text-secondary: #6b7280;
|
--text-secondary: #6b7280;
|
||||||
--border: #e5e7eb;
|
--border: #e5e7eb;
|
||||||
--primary: #2b2f36;
|
--primary: #4f6df5;
|
||||||
}
|
}
|
||||||
|
|
||||||
.dark {
|
.dark {
|
||||||
@@ -19,7 +20,8 @@
|
|||||||
--text-color: #ffffff;
|
--text-color: #ffffff;
|
||||||
--text-secondary: #e5e7eb;
|
--text-secondary: #e5e7eb;
|
||||||
--border: #e5e7eb;
|
--border: #e5e7eb;
|
||||||
--primary: #3d414a;
|
--primary: #1e293b;
|
||||||
|
--tag-bg: #e0f2fe;;
|
||||||
}
|
}
|
||||||
|
|
||||||
html,
|
html,
|
||||||
|
|||||||
Reference in New Issue
Block a user