Skip to content

Styling

Opsloom makes it easy to style your assistants to suit you or your company's needs. To customize an account's style, submit a palette object in the body of the /account POST request. palette allows you to define custom CSS properties for a given account in both light and dark mode. You can find details on available properties in the table below.


PropertyValues AcceptedDefault Value
backgroundHSL53 100% 95%
foregroundHSL53 5% 10%
cardHSL53 50% 90%
card_foregroundHSL53 5% 15%
popoverHSL53 100% 95%
popover_foregroundHSL53 100% 10%
primaryHSL53 57% 20%
primary_foregroundHSL0 0% 100%
secondaryHSL53 30% 70%
secondary_foregroundHSL0 0% 0%
mutedHSL15 30% 85%
muted_foregroundHSL53 5% 40%
accentHSL15 30% 80%
accent_foregroundHSL53 5% 15%
destructiveHSL0 100% 40%
destructive_foregroundHSL53 5% 90%
borderHSL53 30% 50%
inputHSL53 30% 40%
ringHSL53 57% 20%
radiusREM0.5rem