Palette variables
This part of the documentation refers to the new version of the theming and customization system which won’t work with the old system, please refer to the theme-v2 documentation to learn more about the new system or CSS and Theming if you need documentation for the old system (also known as v1 or version 1).
A color palette is defined inside the library that used to define default values for the global theme variables. If you want to work with the default theme but want to adjust the shades (for example, change blue500
to a lighter color), you can update the palette variables. However, if you want to change the color scheme of the theme (for example, change the primary color from blue to green), you should take a look at global theme variables.
Name | Value(s) |
---|
--str-chat__blue950 | |
--str-chat__blue900 | |
--str-chat__blue800 | |
--str-chat__blue700 | |
--str-chat__blue600 | |
--str-chat__blue500 | |
--str-chat__blue400 | |
--str-chat__blue300 | |
--str-chat__blue200 | |
--str-chat__blue100 | |
--str-chat__blue50 | |
--str-chat__grey950 | |
--str-chat__grey900 | |
--str-chat__grey800 | |
--str-chat__grey700 | |
--str-chat__grey600 | |
--str-chat__grey500 | |
--str-chat__grey400 | |
--str-chat__grey300 | |
--str-chat__grey200 | |
--str-chat__grey100 | |
--str-chat__grey50 | |
--str-chat__red900 | |
--str-chat__red800 | |
--str-chat__red700 | |
--str-chat__red600 | |
--str-chat__red500 | |
--str-chat__red400 | |
--str-chat__red300 | |
--str-chat__red200 | |
--str-chat__red100 | |
--str-chat__green900 | |
--str-chat__green800 | |
--str-chat__green700 | |
--str-chat__green600 | |
--str-chat__green500 | |
--str-chat__green400 | |
--str-chat__green300 | |
--str-chat__green200 | |
--str-chat__green100 | |
--str-chat__yellow900 | |
--str-chat__yellow800 | |
--str-chat__yellow700 | |
--str-chat__yellow600 | |
--str-chat__yellow500 | |
--str-chat__yellow400 | |
--str-chat__yellow300 | |
--str-chat__yellow200 | |
--str-chat__yellow100 | |
Palette variables are defined in: https://github.com/GetStream/stream-chat-css/blob/main/src-v2/styles/_palette-variables.scss