Skip to content

Commit a6bb8b0

Browse files
author
reco_luan
committed
feat: add dark mode(part.6)
1 parent 42b1263 commit a6bb8b0

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

example/docs/views/other/guide.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ categories:
99
![leancloud-storage](https://img.shields.io/badge/leancloud--storage-3.10.1-orange.svg)
1010
![valine](https://img.shields.io/badge/valine-1.3.4-blue.svg)
1111

12+
|a|b|
13+
|-|-|
14+
|这是一个vuepress主题,旨在添加博客所需的分类、TAB墙、分页、评论等能;a|b这是一个vuepress主题,旨在添加博客所需的分类、TAB墙、分页、评论等能;|
15+
|a|b|
16+
|a|b|
17+
|a|b|
18+
1219
::: tip 介绍
1320
1. 这是一个vuepress主题,旨在添加博客所需的分类、TAB墙、分页、评论等能;<br>
1421
2. 主题追求极简,根据 vuepress 的默认主题修改而成,官方的主题配置仍然适用;<br>

styles/theme.styl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,12 +158,12 @@ table
158158
overflow-x: auto
159159

160160
tr
161-
border-top 1px solid #dfe2e5
161+
border-top 1px solid var(--border-color)
162162
&:nth-child(2n)
163-
background-color #f6f8fa
163+
background-color var(--code-color)
164164

165165
th, td
166-
border 1px solid #dfe2e5
166+
border 1px solid var(--border-color)
167167
padding .6em 1em
168168

169169
.theme-container

0 commit comments

Comments
 (0)