Customisation
Learn how to customise your command bar
Changing the primary color (Free tier)
You can change your primary color scheme to make sure the command bar fits into your style schema.
const cmdBar = new CommandBarApi<{}>();
cmdBar.customise().setPrimaryColor('0.704 0.14 182.503', '500', 'oklch');
cmdBar.customise().setPrimaryColor('#42344', '500', 'hex');
Last updated