# ferroui_themes_simple

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-themes-simple/

**module** · [`ferroui-themes-simple`](/docs/0.5.0/api/ferroui-themes-simple/) · v0.5.0

```rust
module ferroui_themes_simple
```

ferroui-themes-simple

The Simple theme: the control themes of the control set and the
resources they use, in a light and a dark variant.

The theme is markup: `SimpleTheme.xaml` (the document of the
[`SimpleTheme`](/docs/0.5.0/api/ferroui-themes-simple/struct-simpletheme/) class), `Accents/Base.xaml` (colours and brushes of the
variants), `Controls/SimpleControls.xaml` (the list of the control
themes) and one document per control under `Controls/`. The documents
belong to the assembly `FerroUI.Themes.Simple`, with the URIs
`ferres://FerroUI.Themes.Simple/<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 `SimpleTheme.xaml` (see `build.rs`).

```ignore
application.styles().add(SimpleTheme::new().upcast::<Styles>());
```

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Themes.Simple/lib.rs#L1)

## Contents

- [`excluded_documents`](/docs/0.5.0/api/ferroui-themes-simple/function-excluded_documents/) — function
- [`ExcludedDocument`](/docs/0.5.0/api/ferroui-themes-simple/struct-excludeddocument/) — struct
- [`register_types`](/docs/0.5.0/api/ferroui-themes-simple/function-register_types/) — function
- [`ASSEMBLY`](/docs/0.5.0/api/ferroui-themes-simple/static-assembly/) — static
- [`SimpleTheme`](/docs/0.5.0/api/ferroui-themes-simple/struct-simpletheme/) — struct

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
