From 9e0dc4220024d20ab881369823e43b9566c8f625 Mon Sep 17 00:00:00 2001
From: yuzh <46953451+yuzh0816@users.noreply.github.com>
Date: Tue, 8 Oct 2024 23:34:58 +0800
Subject: [PATCH 01/10] Modify docs to improve readability.
---
docs/docs/documentation/faq/custom-font.md | 12 ++++--------
docs/docs/zh/documentation/faq/custom-font.md | 12 ++++--------
2 files changed, 8 insertions(+), 16 deletions(-)
diff --git a/docs/docs/documentation/faq/custom-font.md b/docs/docs/documentation/faq/custom-font.md
index 7b8f650fd..4d379e682 100644
--- a/docs/docs/documentation/faq/custom-font.md
+++ b/docs/docs/documentation/faq/custom-font.md
@@ -1,6 +1,6 @@
# How to use Custom Font
-Here is the `App.axaml` after creating the SukiUI project:
+Here is the `App.axaml` after creating your SukiUI project:
```xml
```
-Assuming that there exists a font file `Assets/MiSans-Bold.ttf` and set the build action of that to `AvaloniaResource`
+Assuming that there exists a font file `Assets/FontName-xxx.ttf` and set the build action of that to `AvaloniaResource`
Then replace the `DefaultFontFamily` with your font:
@@ -37,7 +37,7 @@ Then replace the `DefaultFontFamily` with your font:
// [!code highlight]
// [!code highlight]
- avares://SukiTest/Assets/MiSans-Bold.ttf#MiSans // [!code highlight]
+ avares://YourProject/Assets#FontName // [!code highlight]
// [!code highlight]
// [!code highlight]
@@ -49,8 +49,4 @@ Then replace the `DefaultFontFamily` with your font:
-```
-
-::: tip
-`#MiSans` is not the same in other font files, you can use a program like `Windows Font Viewer` to see the font name
-:::
\ No newline at end of file
+```
\ No newline at end of file
diff --git a/docs/docs/zh/documentation/faq/custom-font.md b/docs/docs/zh/documentation/faq/custom-font.md
index c97f9d36a..8f29fee0b 100644
--- a/docs/docs/zh/documentation/faq/custom-font.md
+++ b/docs/docs/zh/documentation/faq/custom-font.md
@@ -1,6 +1,6 @@
# 如何使用自定义字体
-以下是创建一个新的 SukiUI 项目后的 `App.axaml` 文件:
+以下是创建一个新的基于 SukiUI 项目后的 `App.axaml` 文件:
```xml
```
-假设存在一个字体文件 `Assets/MiSans-Bold.ttf`,并将其构建行为设置为 `AvaloniaResource`
+假设存在一组字体文件 `Assets/FontName-xxx.ttf`,并将其构建行为设置为 `AvaloniaResource`
然后替换 `DefaultFontFamily` 为你的字体:
@@ -37,7 +37,7 @@
// [!code highlight]
// [!code highlight]
- avares://SukiTest/Assets/MiSans-Bold.ttf#MiSans // [!code highlight]
+ avares://YourProject/Assets#FontName // [!code highlight]
// [!code highlight]
// [!code highlight]
@@ -49,8 +49,4 @@
-```
-
-::: tip
-`#MiSans` 在其他字体中的名称都不一样,你可以使用类似 `Windows 字体查看器` 等软件查看字体名称
-:::
\ No newline at end of file
+```
\ No newline at end of file
From 26ecd9ea108c8dbf781048f33128dd94b5e3fca8 Mon Sep 17 00:00:00 2001
From: AuroraZiling
Date: Wed, 9 Oct 2024 10:25:09 +0800
Subject: [PATCH 02/10] docs: Radiobutton
---
.../controls/inputs/radiobutton.md | 7 ------
.../controls/inputs/radiobutton.md | 22 +++++++++++++++----
2 files changed, 18 insertions(+), 11 deletions(-)
diff --git a/docs/docs/documentation/controls/inputs/radiobutton.md b/docs/docs/documentation/controls/inputs/radiobutton.md
index 647bdf29b..f1afd09a6 100644
--- a/docs/docs/documentation/controls/inputs/radiobutton.md
+++ b/docs/docs/documentation/controls/inputs/radiobutton.md
@@ -6,8 +6,6 @@ A control used for collecting the user's choice.
![{3562E3E6-C5A7-4D5C-BB1A-BF95347A6AA3}](https://github.com/user-attachments/assets/3157a435-10dd-4d84-ac91-e83739023ee9)
-
-
```xml
```
@@ -28,9 +24,6 @@ A control used for collecting the user's choice.
![{466C440E-25EE-4CF1-985F-EC8105043D22}](https://github.com/user-attachments/assets/aea0e668-c02c-432c-9f3f-e8621e726444)
-
-
-
```xml
```
diff --git a/docs/docs/zh/documentation/controls/inputs/radiobutton.md b/docs/docs/zh/documentation/controls/inputs/radiobutton.md
index 2fa46a8d3..d97b223e4 100644
--- a/docs/docs/zh/documentation/controls/inputs/radiobutton.md
+++ b/docs/docs/zh/documentation/controls/inputs/radiobutton.md
@@ -2,11 +2,9 @@
收集用户单项选择的控件
-## 展示
+## Base
-
-
-## 示例
+![{3562E3E6-C5A7-4D5C-BB1A-BF95347A6AA3}](https://github.com/user-attachments/assets/3157a435-10dd-4d84-ac91-e83739023ee9)
```xml
```
+## Chips
+
+![{6BB65B0C-C0E8-4F6E-ADC0-EB29FFDD93DA}](https://github.com/user-attachments/assets/7d573d74-65b0-4379-a4b7-2830bfd381cf)
+
+```xml
+
+```
+
+## GigaChips
+
+![{466C440E-25EE-4CF1-985F-EC8105043D22}](https://github.com/user-attachments/assets/aea0e668-c02c-432c-9f3f-e8621e726444)
+
+```xml
+
+```
+
## 参阅
[Demo: SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml](https://github.com/kikipoulet/SukiUI/blob/main/SukiUI.Demo/Features/ControlsLibrary/TogglesView.axaml)
\ No newline at end of file
From 5cdebef3a9e7975630069c2b29d6ff1c77359b1a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Sepulchre?=
Date: Wed, 9 Oct 2024 11:31:41 +0200
Subject: [PATCH 03/10] Update README.md
---
README.md | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/README.md b/README.md
index 519566771..a064b72eb 100644
--- a/README.md
+++ b/README.md
@@ -80,7 +80,8 @@ SukiUI offer a versatile way to display unique toasts, to help you create nice i
-![dialogs](https://github.com/user-attachments/assets/f786d724-0cae-417a-bc60-69e4d1a2bfc0)
+![dialogslight](https://github.com/user-attachments/assets/51f05964-e847-4ed6-a1f7-78616eea9cee)
+