An open API service indexing awesome lists of open source software.

https://github.com/sandtechstuff/xamlresourcedocs

WinUI2 Static/Theme Resource documentation
https://github.com/sandtechstuff/xamlresourcedocs

Last synced: 2 days ago
JSON representation

WinUI2 Static/Theme Resource documentation

Awesome Lists containing this project

README

          

# XamlResourceDocs

Static/Theme Resource WinUI2 documentation, found by looking through its source code, PRI files, or generic xaml stylesheets.

## Table of Contents

- [Glossary](#glossary)
- [Colors](#colors)
- [New WinUI common background colors](#new-winui-common-background-colors-gridviewitem-navigationview-etc)
- [New WinUI button colors](#new-winui-button-colors)
- [AcrylicBrush](#acrylicbrush)
- [Windows Calculator background Acrylic](#windows-calculator-background-acrylic)
- [Windows 10 Settings sidebar Acrylic](#windows-10-settings-sidebar-acrylic)
- [Windows 10 Start/Taskbar/Tray flyout Acrylic](#windows-10-starttaskbartray-flyout-acrylic)
- [Default new WinUI backdrop Acrylic](#default-new-winui-backdrop-acrylic)
- [Windows 11 Start/Taskbar/Tray flyout Acrylic](#windows-11-starttaskbartray-flyout-acrylic)

## Glossary

* __New WinUI:__ Refers to the versions of WinUI2 after 2.6 that follow the Windows 11 design principles.
* __Old WinUI:__ Refers to the versions of WinUI2 before 2.6 that follow the Windows 10 design principles.
* __Theme aware alternative:__ A variant of a brush that is less accurate, but uses pre-defined colors to respond to user Light/Dark mode preferences. The mode listed as "favoring" is the mode that will look the most accurate. Some brushes already use these pre-defined colors, and will not have a theme aware alternative provided.

## Colors

### New WinUI common background colors (GridViewItem, NavigationView, etc.)

- #### Light Mode

- #### PointerOver

```xaml
#09000000
```

- #### Pressed

```xaml
#06000000
```

- #### Dark Mode

- #### PointerOver

```xaml
#0FFFFFFF
```

- #### Pressed

```xaml
#0AFFFFFF
```

### New WinUI button colors

- #### Light Mode

- #### Normal

```xaml
#B3FFFFFF
```

- #### PointerOver

```xaml
#80F9F9F9
```

- #### Pressed

```xaml
#4DF9F9F9
```

- #### Disabled

```xaml
#4DF9F9F9
```
- #### Dark Mode

- #### Normal

```xaml
#0FFFFFFF
```

- #### PointerOver

```xaml
#15FFFFFF
```

- #### Pressed

```xaml
#08FFFFFF
```

- #### Disabled

```xaml
#0BFFFFFF
```

## AcrylicBrush

### Windows Calculator background Acrylic

```xaml

```

### Windows 10 Settings sidebar Acrylic

```xaml

```

### Windows 10 Start/Taskbar/Tray flyout Acrylic

```xaml

```

### Default new WinUI backdrop Acrylic

- #### Light Mode

```xaml

```

- #### Dark Mode

```xaml

```

### Windows 11 Start/Taskbar/Tray flyout Acrylic

- #### Light Mode

```xaml

```

- #### Dark Mode

```xaml

```

- #### Theme aware alternative (favoring Light)

```xaml

```

- #### Theme aware alternative (favoring Dark)

```xaml

```