Skip to content

Commit

Permalink
fix: various spacing and missing lines
Browse files Browse the repository at this point in the history
  • Loading branch information
rajamatt committed Aug 14, 2023
1 parent 6ea354e commit 918caef
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 9 deletions.
4 changes: 3 additions & 1 deletion doc/controls/CardAndCardContentControl.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -209,6 +210,7 @@ xmlns:utu="using:Uno.Toolkit.UI"
![](../assets/cardcontentcontrol-samples.png)

## Lightweight Styling

Key|Type|Value
-|-|-
FilledCardContentBackground|SolidColorBrush|SurfaceBrush
Expand Down
1 change: 1 addition & 0 deletions doc/controls/ChipAndChipGroup.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ xmlns:utu="using:Uno.Toolkit.UI"
```

## Lightweight Styling

Key|Type|Value
-|-|-
ChipCheckGlyphSize|Double|20
Expand Down
1 change: 1 addition & 0 deletions doc/controls/NavigationBar.md
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ Remarks:
Only supports `BitmapImage`

## Lightweight Styling

Key|Type|Value
-|-|-
NavigationBarCommandBarEllipsisIconForegroundDisabled|SolidColorBrush|TextFillColorDisabledBrush
Expand Down
1 change: 1 addition & 0 deletions doc/controls/TabBarAndTabBarItem.md
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,7 @@ xmlns:utu="using:Uno.Toolkit.UI"
```

## Lightweight Styling

Key|Type|Value
-|-|-
NavigationTabBarWidthOrHeight|Double|80
Expand Down
14 changes: 7 additions & 7 deletions doc/lightweight-styling.md
Original file line number Diff line number Diff line change
@@ -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
<utu:Chip Content="Default Chip Style" Style="{StaticResource FilterChipStyle}" />
Expand Down Expand Up @@ -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
https://learn.microsoft.com/windows/apps/design/style/xaml-styles#lightweight-styling
5 changes: 4 additions & 1 deletion doc/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 918caef

Please sign in to comment.