Expand description
ferroui-themes-fluent
The Fluent theme: the control themes of the control set, the colour palettes and the resources they use, in a light and a dark variant and in a normal and a compact density.
The theme is markup: FluentTheme.xaml (the document of the
FluentTheme class), Accents/*.xaml (palette, resources and
brushes), DensityStyles/Compact.xaml, Strings/InvariantResources.xaml,
Controls/FluentControls.xaml (the list of the control themes) and one
document per control under Controls/. The documents
belong to the assembly FerroUI.Themes.Fluent, with the URIs
ferres://FerroUI.Themes.Fluent/<path>. They are compiled into the crate,
as upstream’s compiler compiles them, and are not embedded as assets: a
load by URI goes to the loader table of the compiled markup, which
answers the public document FluentTheme.xaml (see build.rs).
application.styles().add(FluentTheme::new().as_style());Modules§
Structs§
- Color
Palette Resources - Represents a specialized resource dictionary that contains color resources used by FluentTheme elements.
- Color
Palette Resources Collection - The colour palettes of a
FluentThemeby theme variant: a dictionary that is also the resource provider of the palette of the requested variant. - Excluded
Document - A control theme document that is embedded but not part of the theme yet, because it names types that are not ported.
- Fluent
Theme - Includes the fluent theme in an application.
Enums§
- Density
Style - How much space the controls of the Fluent theme take.
Statics§
- ASSEMBLY
- What this crate states about itself for markup: its assembly name and the namespace the XML namespace of the framework maps to.
Functions§
- excluded_
documents - The control theme documents
Controls/FluentControls.xamldoes not merge yet, fromControls/excluded.txt. - register_
types - Registers the namespaces, the types, the assembly, the embedded documents and the document loader of this crate (and of the crates it is built on). Cheap and idempotent.