Skip to content

Commit 941634a

Browse files
committed
docs: update default theme migration guide
1 parent 7d858f4 commit 941634a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: docs/guide/migration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ The palette system is extracted to [@vuepress/plugin-palette](../reference/plugi
147147

148148
Theme authors can use their own way to allow users to custom styles, and not be limited with stylus.
149149

150-
If you are using default theme, the palette system is still available but migrated to SASS. See [Default Theme > Styles](../reference/default-theme/styles.md).
150+
If you are using default theme, the palette system is still available but migrated to SASS, while most variables have been migrated to CSS variables. See [Default Theme > Styles](../reference/default-theme/styles.md).
151151

152152
### Conventional Files Change
153153

@@ -228,7 +228,7 @@ Removed.
228228

229229
#### Palette System
230230

231-
The palette system of default theme has migrated to SASS.
231+
The palette system of default theme has migrated to SASS and CSS variables.
232232

233233
See [Default Theme > Styles](../reference/default-theme/styles.md).
234234

Diff for: docs/zh/guide/migration.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ VuePress v1 的 Stylus 调色板系统 (即 `styles/palette.styl` 和 `styles/
147147

148148
主题作者可以使用自己的方式来为用户提供自定义样式的能力,而不必被限制在 Stylus 当中。
149149

150-
如果你使用的是默认主题,那么调色板系统仍然存在,但改为使用 SASS 。参考 [默认主题 > 样式](../reference/default-theme/styles.md)
150+
如果你使用的是默认主题,那么调色板系统仍然存在,但改为使用 SASS ,并且大部分变量都迁移为 CSS 变量。参考 [默认主题 > 样式](../reference/default-theme/styles.md)
151151

152152
### 约定文件变更
153153

@@ -228,7 +228,7 @@ VuePress v1 的 Stylus 调色板系统 (即 `styles/palette.styl` 和 `styles/
228228

229229
#### 调色板系统
230230

231-
默认主题的调色板系统迁移为 SASS 。
231+
默认主题的调色板系统迁移为 SASS 和 CSS 变量
232232

233233
参考 [默认主题 > 样式](../reference/default-theme/styles.md)
234234

0 commit comments

Comments
 (0)