Skip to content
Nuvyntra Labs

Foundation

NVTheme

NVTheme XAML, every kit attribute, and what each attribute does. Runtime light / dark + accent.

Preview

Captured from NuvyntraLabs.UIKit.Sample on a phone. This is the control as Lumina paints it.

NVTheme captured from the UIKit sample on a phone

About

Runtime light / dark + accent.

API

NVTheme is not a XAML view. Register the kit with UseNuvyntraUIKit(), then call the members below.

<!-- Theme is not a control. Bind colors from code or NVTheme.Current. -->

Members

custom names are Lumina API. Unmarked names match familiar MAUI / forms usage.

AttributeTypeDefaultKindExplanation
Currentmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Modemember—customLumina-specific foundation member.
Accentmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Densitymember—customLumina-specific foundation member.
IsDarkmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Papermember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Surfacemember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
SurfaceRaisedmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
SurfaceSunkenmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Inkmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Mistmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Fogmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Mutedmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
AccentSoftmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
AccentDeepmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
AccentLiftmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Hairlinemember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Highlightmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Scrimmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Dangermember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Warnmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Okmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
OnAccentmember—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Mixmethod—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
UseLuminamethod—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
SetModemethod—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
SetAccentmethod—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().
Token(key)method—familiarFoundation member. Register fonts and theme with UseNuvyntraUIKit().

Discussion

Comment on UIKit(MAUI). The thread lives on this component's GitHub repository (nuvyntralabs/NuvyntraLabs.UIKit). Sign in with GitHub — Giscus uses Discussions, Utterances uses Issues.