# ferroui_themes_macos

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

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

```rust
module ferroui_themes_macos
```

A separately selectable macOS 26 theme for FerroUI.

The compiled-XAML control foundation is copied from `ferroui-themes-winui`;
the macOS package owns its resources, control templates, namespace and loader.
It has no dependency on the WinUI theme crate. The original input, binding,
template-part and accessibility contracts remain in FerroUI controls.

```ignore
use ferroui_themes_macos::{ControlSize, MacOSTheme};
let theme = MacOSTheme::new();
theme.set_control_size(ControlSize::Regular);
application.styles().add(theme.as_style());
```

`ReduceMotion`, `ReduceTransparency`, `IncreaseContrast`, `WindowActive`,
`AccentColor` and `ControlSize` are live properties usable in Rust and XAML.
Glass surfaces use the existing composition material contract, with an opaque
fallback on unsupported backends. Exact AppKit optical and animation fidelity
requires the native comparison procedure in `docs/porting/macos26-theme.md`.
SF Pro is resolved from the host; Apple fonts and symbols are not bundled.

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

## Contents

- [`accents`](/docs/0.5.0/api/ferroui-themes-macos/accents/) — module
- [`converters`](/docs/0.5.0/api/ferroui-themes-macos/converters/) — module
- [`primitives`](/docs/0.5.0/api/ferroui-themes-macos/primitives/) — module
- [`excluded_documents`](/docs/0.5.0/api/ferroui-themes-macos/function-excluded_documents/) — function
- [`ExcludedDocument`](/docs/0.5.0/api/ferroui-themes-macos/struct-excludeddocument/) — struct
- [`register_types`](/docs/0.5.0/api/ferroui-themes-macos/function-register_types/) — function
- [`ASSEMBLY`](/docs/0.5.0/api/ferroui-themes-macos/static-assembly/) — static
- [`ControlSize`](/docs/0.5.0/api/ferroui-themes-macos/enum-controlsize/) — enum
- [`DensityStyle`](/docs/0.5.0/api/ferroui-themes-macos/enum-densitystyle/) — enum
- [`MacOSTheme`](/docs/0.5.0/api/ferroui-themes-macos/struct-macostheme/) — struct

## Availability

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