API reference
UserTheme
Public types, functions, and constants declared in this header.
No matching API members.
fluent::UserTheme
Methods
void apply()Install built-in Fluent tokens plus user JSON overrides into ThemeRegistry.
bool applyOverrides(const QJsonObject& overrides)Applies sparse in-memory overrides to the current global theme without writing files.
void applyAccentOverride(const QColor& accent)Apply an in-memory accent override to current ThemeRegistry colors.
QString filePath()Absolute path of the user-editable Fluent override file.
QString directory()Directory holding user-editable Fluent token override files.
bool exportTemplate(bool overwrite = false)Explicitly exports a schema-versioned editable theme template.
void setAccent(const QColor& accent)Persist a custom accent into the Fluent override file.
void clearAccent()Remove the persisted custom accent override.
QColor defaultAccent(bool dark)Built-in Fluent accent for light/dark mode.