# IThemeVariantRoot

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/styling/trait-ithemevariantroot/

**trait** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
trait IThemeVariantRoot
```

Marks an object that can be the root of theme variant resolution: at a
root, the default theme variant resolves to the variant of the platform
instead of being inherited.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/styling/i_theme_variant_root.rs#L4)

## Members

- [`is_theme_variant_root`](#function-is_theme_variant_root)

<a id="function-is_theme_variant_root"></a>

### is_theme_variant_root

```rust
fn is_theme_variant_root(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/styling/i_theme_variant_root.rs#L5)

## Availability

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