Currently @kaspersky/components uses styled-components and Provider to switch between light and dark theme.
It would be the same quality and more perfomant to use css-only solution like so:
- design tokens defined as css-variables;
- theme switching by data attribute and cascade.