CSS Reference
General Colors
There are two generic color codes in Peaka’s Design System. Most of the UI components use these color options. General colors have 5 different variants per class asbase
, hover
, dark
, light
, lighter
Primary Colors
You can change the primary colors of the Peaka with overriding following css variablesSecondary Colors
You can override the secondary colors of the Peaka with following css variables.Severity Colors
There are 6 severity option in Peaka’s Design System. These areSuccess
, Error
, Warning
, Informative
, Neutral
and Updating
.
Each severity option has 5 different variants like general colors.
Success Colors
Success colors are used for express result for successful activities or harmless actions.Warning Colors
Warning colors are used in components that the user should be warn.Error Colors
Error colors are used for errors and actions that user should reconsider the action.Informative Colors
These colors are used for informationsNeutral Colors
These are also used for informations. These can be thought as secondary for iformative colorsUpdating Colors
These colors are used in ongoing processes in Peaka. Such as caching process.Text Colors
These are the colors that used in text fields in Peaka.Border Colors
These are the border colors that used in form components, containers, cards etc.Background Colors
Peaka uses 5 different background token in its Design System. You can override these tokens to implement your own look and feelFonts
Font Family
You can use your own font families via overrride this variable.Note: It should be imported the font families that you mentioned in the font family variable.