Logo FluentUI

ColorResource QML Type

A container for themed Fluent color tokens. More...

Import Statement: import FluentUI.Controls 1.0

Properties

Detailed Description

ColorResource holds approximately 80 semantic color tokens organized by usage category (text fills, control fills, strokes, backgrounds, accents, system feedback colors). Each token automatically adapts to the active light or dark theme. This type is typically accessed through the Theme singleton.

Property Documentation

accentFillColorDisabled : color

The accent fill color used when the accent element is disabled.

acrylicBackgroundColor : color

The Acrylic material background color.

cardStrokeColorDefault : color

The default stroke color for card surfaces.

controlFillColorDefault : color

The default fill color for controls.

controlFillColorDisabled : color

The fill color for disabled controls.

controlFillColorSecondary : color

The secondary fill color for controls.

controlStrokeColorDefault : color

The default stroke color for controls.

dividerStrokeColorDefault : color

The default stroke color for dividers.

micaBackgroundColor : color

The Mica material background color.

solidBackgroundFillColorBase : color

The base solid background fill color.

systemFillColorCaution : color

The system color used to indicate caution or warning states.

systemFillColorCritical : color

The system color used to indicate critical error states.

systemFillColorNeutral : color

The system color used for neutral informational states.

systemFillColorSuccess : color

The system color used to indicate success states.

textFillColorDisabled : color

The text fill color used for disabled content.

textFillColorPrimary : color

The primary text fill color.

textFillColorSecondary : color

The secondary text fill color.

textOnAccentFillColorPrimary : color

The primary text color used on top of accent fills.