Skip to content

Commit 20c65df

Browse files
committed
ui: 调整主题样式
1 parent ea08377 commit 20c65df

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

components/TimeLineItem.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const attrs = useAttrs()
2222
</script>
2323
<style>
2424
.color {
25-
color: #fff;
25+
color: var(--vp-c-text-1);
2626
}
2727
2828
.timeline {
@@ -35,7 +35,7 @@ const attrs = useAttrs()
3535
}
3636
3737
.timeline:not(:first-child) {
38-
border-top: 1px solid #e4e6eb;
38+
border-top: 1px solid var(--vp-c-text-1);
3939
padding-top: 6px;
4040
}
4141
@@ -45,8 +45,7 @@ const attrs = useAttrs()
4545
width: 120px;
4646
height: 80px;
4747
margin-left: 24px;
48-
background-color: #fff;
49-
border-radius: 4px;
48+
border-radius: 8px;
5049
}
5150
5251
.timeline-wrapper {

0 commit comments

Comments
 (0)