development-plugin-for-avalonia

Microsoft Fluent Design and FluentTheme in Avalonia

Table of Contents

  1. Scope and Coverage Contract
  2. Fluent Workflow
  3. Granular Reference Set
  4. Full API Coverage Pointers
  5. First Example
  6. AOT and Runtime Notes
  7. Official Design Resources

Scope and Coverage Contract

This reference lane covers how to build Fluent-inspired Avalonia apps with:

Coverage intent for this lane:

Fluent Workflow

  1. Start with FluentTheme, theme variants, and density.
  2. Configure FluentTheme.Palettes only for palette-level decisions.
  3. Build semantic tokens on top of SystemAccent*, SystemBase*, and SystemChrome* resources.
  4. Add Fluent-aligned component and shell themes.
  5. Define Fluent command language, teaching patterns, and content review rules.
  6. Finish with material, motion, composition, accessibility, content, and wait UX review.

Granular Reference Set

All detailed Fluent references now live under fluent-design/README.md:

Full API Coverage Pointers

For exhaustive lookup beyond these Fluent-specific docs:

First Example

<Application xmlns="https://github.com/avaloniaui"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             RequestedThemeVariant="Default">
  <Application.Styles>
    <FluentTheme DensityStyle="Compact">
      <FluentTheme.Palettes>
        <ColorPaletteResources x:Key="Light"
                               Accent="#0F6CBD"
                               RegionColor="#FFFFFFFF" />
        <ColorPaletteResources x:Key="Dark"
                               Accent="#4CC2FF"
                               RegionColor="#FF111111" />
      </FluentTheme.Palettes>
    </FluentTheme>
  </Application.Styles>
</Application>

AOT and Runtime Notes

Official Design Resources