From e3332b7d06e889f57601c0c4662296bb24557d8a Mon Sep 17 00:00:00 2001 From: cabbage9 Date: Thu, 10 Jun 2021 13:55:17 +0800 Subject: [PATCH 1/5] docs(cn): features/variant-groups translation --- features/variant-groups.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/variant-groups.md b/features/variant-groups.md index 27bb509c..e748d7a9 100644 --- a/features/variant-groups.md +++ b/features/variant-groups.md @@ -1,12 +1,12 @@ -# Variant Groups +# 可变修饰组 -Apply utilities for the same variant by grouping them with parenthesis. +通过使用括号对相同的工具类进行分组,将其应用于同一可变修饰。 ```html
``` -Play with it: +尝试修改一下: Date: Thu, 10 Jun 2021 14:23:04 +0800 Subject: [PATCH 2/5] docs(cn): features/variant-groups translation --- features/variant-groups.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/variant-groups.md b/features/variant-groups.md index e748d7a9..d87cda47 100644 --- a/features/variant-groups.md +++ b/features/variant-groups.md @@ -1,4 +1,4 @@ -# 可变修饰组 +# 可变修饰组 {#variant-groups} 通过使用括号对相同的工具类进行分组,将其应用于同一可变修饰。 From 7799a2cc3e1a3ca5367ef4c6f43646a688c88568 Mon Sep 17 00:00:00 2001 From: cabbage Date: Thu, 10 Jun 2021 15:09:30 +0800 Subject: [PATCH 3/5] docs(cn): features/variant-groups translation --- features/variant-groups.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/variant-groups.md b/features/variant-groups.md index d87cda47..03b47a31 100644 --- a/features/variant-groups.md +++ b/features/variant-groups.md @@ -1,6 +1,6 @@ # 可变修饰组 {#variant-groups} -通过使用括号对相同的工具类进行分组,将其应用于同一可变修饰。 +通过使用括号对相同的工具类进行编组,将其应用于同一可变修饰。 ```html
From 1a862ae0a6368fb280d5ad572ea81cbdb9f109fc Mon Sep 17 00:00:00 2001 From: cabbage9 Date: Sun, 13 Jun 2021 18:29:53 +0800 Subject: [PATCH 4/5] docs(cn): utilities/colors translation --- utilities/colors.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utilities/colors.md b/utilities/colors.md index 5f011682..eb842e2f 100644 --- a/utilities/colors.md +++ b/utilities/colors.md @@ -1,23 +1,23 @@ -# Colors +# 颜色 {#colors} -## Customization +## 自定义 {#customization} ```ts // windi.config.js export default { theme: { colors: { - // Configure your color palette here + // 在这里配置你的调色板 }, }, } ``` -### Reuse Colors +### 颜色复用 {#reuse-colors} -All the colors from the palette are enabled by default. If you want to set alias or reuse some colors from the palette, you can import them from `windicss/colors` module. +默认情况下,调色板中的所有颜色都是可用的。如果你想从调色板中设置别名或复用一些颜色,你可以从 `windicss/colors` 模块中导入它们。 ```ts import colors from 'windicss/colors' From a96910567d56289b4fad0daafddcfa7d6986ce5c Mon Sep 17 00:00:00 2001 From: cabbage Date: Sun, 13 Jun 2021 21:55:34 -0500 Subject: [PATCH 5/5] docs(cn): utilities/colors translation Co-authored-by: Kim Yang --- utilities/colors.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/colors.md b/utilities/colors.md index eb842e2f..d9de7597 100644 --- a/utilities/colors.md +++ b/utilities/colors.md @@ -17,7 +17,7 @@ export default { ### 颜色复用 {#reuse-colors} -默认情况下,调色板中的所有颜色都是可用的。如果你想从调色板中设置别名或复用一些颜色,你可以从 `windicss/colors` 模块中导入它们。 +默认情况下,调色板中的所有颜色都是可用的。如果你想给调色板中的颜色设置别名或复用其中一些颜色,你可以从 `windicss/colors` 模块中导入它们。 ```ts import colors from 'windicss/colors'