Skip to content

API Reference / @gtkx/navigation / Theme

Type Alias: Theme

Theme = object

Defined in: packages/navigation/dist/theme.d.ts:2

Style state handed to useTheme and to option callbacks as theme, mirroring Adwaita's style manager.

Properties

dark

dark: boolean

Defined in: packages/navigation/dist/theme.d.ts:4

Whether the application currently uses the dark color scheme.


highContrast

highContrast: boolean

Defined in: packages/navigation/dist/theme.d.ts:6

Whether the system requested high-contrast styling.

Released under the MPL-2.0 License.