From 918caeff1a68eaa0aaa25b79c3c4f369d4802369 Mon Sep 17 00:00:00 2001 From: Matthew Rajala Date: Mon, 14 Aug 2023 10:09:42 -0400 Subject: [PATCH] fix: various spacing and missing lines --- doc/controls/CardAndCardContentControl.md | 4 +++- doc/controls/ChipAndChipGroup.md | 1 + doc/controls/NavigationBar.md | 1 + doc/controls/TabBarAndTabBarItem.md | 1 + doc/lightweight-styling.md | 14 +++++++------- doc/toc.yml | 5 ++++- 6 files changed, 17 insertions(+), 9 deletions(-) diff --git a/doc/controls/CardAndCardContentControl.md b/doc/controls/CardAndCardContentControl.md index 056d0e21b..c76e80b6b 100644 --- a/doc/controls/CardAndCardContentControl.md +++ b/doc/controls/CardAndCardContentControl.md @@ -89,7 +89,8 @@ xmlns:utu="using:Uno.Toolkit.UI" ### Examples ![](../assets/card-samples.png) -## Lightweight styling +## Lightweight Styling + Key|Type|Value -|-|- ContentTemplateForeground|SolidColorBrush|OnSurfaceMediumBrush @@ -209,6 +210,7 @@ xmlns:utu="using:Uno.Toolkit.UI" ![](../assets/cardcontentcontrol-samples.png) ## Lightweight Styling + Key|Type|Value -|-|- FilledCardContentBackground|SolidColorBrush|SurfaceBrush diff --git a/doc/controls/ChipAndChipGroup.md b/doc/controls/ChipAndChipGroup.md index 0ac563d44..58af55a97 100644 --- a/doc/controls/ChipAndChipGroup.md +++ b/doc/controls/ChipAndChipGroup.md @@ -80,6 +80,7 @@ xmlns:utu="using:Uno.Toolkit.UI" ``` ## Lightweight Styling + Key|Type|Value -|-|- ChipCheckGlyphSize|Double|20 diff --git a/doc/controls/NavigationBar.md b/doc/controls/NavigationBar.md index a38a370ef..23a98944c 100644 --- a/doc/controls/NavigationBar.md +++ b/doc/controls/NavigationBar.md @@ -393,6 +393,7 @@ Remarks: Only supports `BitmapImage` ## Lightweight Styling + Key|Type|Value -|-|- NavigationBarCommandBarEllipsisIconForegroundDisabled|SolidColorBrush|TextFillColorDisabledBrush diff --git a/doc/controls/TabBarAndTabBarItem.md b/doc/controls/TabBarAndTabBarItem.md index ab0b10083..e6c748bc9 100644 --- a/doc/controls/TabBarAndTabBarItem.md +++ b/doc/controls/TabBarAndTabBarItem.md @@ -504,6 +504,7 @@ xmlns:utu="using:Uno.Toolkit.UI" ``` ## Lightweight Styling + Key|Type|Value -|-|- NavigationTabBarWidthOrHeight|Double|80 diff --git a/doc/lightweight-styling.md b/doc/lightweight-styling.md index d351ddfc7..3b4e29b04 100644 --- a/doc/lightweight-styling.md +++ b/doc/lightweight-styling.md @@ -1,6 +1,6 @@ # Lightweight Styling -[Lightweight styling](https://learn.microsoft.com/en-us/windows/apps/design/style/xaml-styles#lightweight-styling) is a way to customize the appearance of XAML controls by **overriding** the system brushes that they use. Lightweight styling is applied in the Resources of the control itself: +[Lightweight styling](https://learn.microsoft.com/windows/apps/design/style/xaml-styles#lightweight-styling) is a way to customize the appearance of XAML controls by **overriding** the system brushes that they use. Lightweight styling is applied in the Resources of the control itself: ```xml @@ -37,11 +37,11 @@ Most controls have multiple states, such as **PointerOver** (mouse is hovered ov ## Resource Keys For more information about the lightweight styling resource keys used in each control, check out the following links: -- [Card](styles/Card.md) -- [CardContentControl](styles/CardContentControl.md) -- [Chip](styles/Chip.md) -- [NavigationBar](styles/NavigationBar.md) -- [TabBar](styles/TabBar.md) +- [Card](controls/CardAndCardContentControl.md#lightweight-styling) +- [CardContentControl](controls/CardAndCardContentControl.md#lightweight-styling-1) +- [Chip](controls/ChipAndChipGroup.md#lightweight-styling) +- [NavigationBar](controls/NavigationBar.md#lightweight-styling) +- [TabBar](controls/TabBarAndTabBarItem.md#lightweight-styling) ### Further Reading -https://learn.microsoft.com/en-us/windows/apps/design/style/xaml-styles#lightweight-styling \ No newline at end of file +https://learn.microsoft.com/windows/apps/design/style/xaml-styles#lightweight-styling \ No newline at end of file diff --git a/doc/toc.yml b/doc/toc.yml index 55a40b11a..6d7b82f43 100644 --- a/doc/toc.yml +++ b/doc/toc.yml @@ -2,12 +2,15 @@ - name: Overview href: getting-started.md items: - # ***************** Material ******************* + # ***************** Material ******************* - name: Material href: material-getting-started.md # ***************** Cupertino ****************** - name: Cupertino href: cupertino-getting-started.md + # ***************** Lightweight Styling ******** + - name: Lightweight Styling + href: lightweight-styling.md # ******************* Learn ********************** #- name: Learn