From 7c26fbbb2ea1d35b94dde809c2a2a3ae272163d9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 18 Apr 2021 00:23:38 +0900 Subject: New Crowdin updates (#7451) * New translations ja-JP.yml (English) * New translations theme.md (English) * New translations ja-JP.yml (Ukrainian) * New translations ja-JP.yml (Chinese Traditional) * New translations theme.md (Chinese Simplified) * New translations ja-JP.yml (Chinese Simplified) * New translations ja-JP.yml (Japanese, Kansai) * New translations mfm.md (Czech) * New translations timelines.md (Czech) * New translations theme.md (Czech) * New translations reaction.md (Czech) * New translations pages.md (Czech) * New translations mute.md (Czech) * New translations follow.md (Czech) * New translations ja-JP.yml (Italian) * New translations theme.md (German) * New translations ja-JP.yml (German) * New translations keyboard-shortcut.md (Czech) * New translations custom-emoji.md (Czech) * New translations ja-JP.yml (Spanish) * New translations theme.md (French) * New translations stream.md (French) * New translations reversi-bot.md (French) * New translations create-plugin.md (Czech) * New translations aiscript.md (Czech) * New translations ja-JP.yml (Czech) * New translations ja-JP.yml (Arabic) * New translations ja-JP.yml (Polish) * New translations ja-JP.yml (Russian) * New translations mute.md (Korean) * New translations keyboard-shortcut.md (Korean) * New translations follow.md (Korean) * New translations custom-emoji.md (Korean) * New translations create-plugin.md (Korean) * New translations api.md (Korean) * New translations ja-JP.yml (Korean) * New translations reaction.md (Korean) * New translations pages.md (Korean) * New translations reversi-bot.md (Korean) * New translations stream.md (Korean) * New translations deck.md (Korean) * New translations timelines.md (Korean) * New translations theme.md (Korean) --- src/docs/zh-CN/theme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/docs/zh-CN') diff --git a/src/docs/zh-CN/theme.md b/src/docs/zh-CN/theme.md index 1f33c00b41..a0d0c10bcd 100644 --- a/src/docs/zh-CN/theme.md +++ b/src/docs/zh-CN/theme.md @@ -43,7 +43,7 @@ * `props` ... 关于主题样式的定义,下面是详细介绍。 ### 主题样式定义 -在 `props` 下,你可以定义主题的样式。 键是 CSS 变量名,值是指定的内容。 请注意,`props` 对象是从基础主题集继承的。 如果这个主题的 `base` 是 `light`,则基础主题为 [_light.json5](https://github.com/misskey-dev/misskey/blob/develop/src/client/themes/_light.json5);如果 `dark`,则基础主题为 [_dark.json5](https://github.com/misskey-dev/misskey/blob/develop/src/client/themes/_dark.json5)。 换句话说,即使这个主题中的 `props` 中没有定义关键的 `panel`,也会继承在基础主题中所拥有 `panel`。 +在 `props` 下,你可以定义主题的样式。 键是 CSS 变量名,值是指定的内容。 请注意,`props` 对象是从基础主题集继承的。 如果这个主题的 `base` 是 `light`,则基础主题为 [_light.json5](https://github.com/syuilo/misskey/blob/develop/src/client/themes/_light.json5);如果 `dark`,则基础主题为 [_dark.json5](https://github.com/syuilo/misskey/blob/develop/src/client/themes/_dark.json5)。 换句话说,即使这个主题中的 `props` 中没有定义关键的 `panel`,也会继承在基础主题中所拥有 `panel`。 #### 可以在值中使用的语法 * 以十六进制表示的颜色 -- cgit v1.2.3-freya