style: 优化暗黑模式下标签样式

This commit is contained in:
2026-08-02 16:46:40 +08:00
parent 67ec0bffee
commit f7b7f7d320
3 changed files with 7 additions and 5 deletions

View File

@@ -118,7 +118,7 @@ const { data: categories } =
.tag {
font-size: 12px;
color: var(--primary);
color: var(--tag-text);
background: var(--tag-bg);
padding: 3px 10px;
border-radius: 999px;

View File

@@ -86,7 +86,7 @@ posts.map((post) => {
background: var(--card-bg);
border-radius: 12px;
box-shadow: var(--shadow);
padding: 20px;
padding: 16px;
transition: transform 0.2s, box-shadow 0.2s;
display: flex;
gap: 22px;
@@ -169,7 +169,7 @@ posts.map((post) => {
.tag {
font-size: 12px;
color: var(--primary);
color: var(--tag-text);
background: var(--tag-bg);
padding: 3px 10px;
border-radius: 999px;