Skip to content

App.getAccentColor method

App › getAccentColor

Unofficial

Get the accent color of the application.

Signature:

getAccentColor(): string

Returns: stringThe accent color string.

Remarks:

Often a better alternative than app.vault.getConfig('accentColor') as it returns an empty string if no accent color was set.