You can customize the theme of @suiet/wallet-kit components to support dark mode by overriding color-related CSS variables.
To support users who have dark mode enabled at the system level, wrap your variable overrides in the @media (prefers-color-scheme: dark) media query. Alternatively, you can use the [data-theme='dark']:root selector if your application manages theme state via a data attribute.
Important: Your dark mode CSS rules must be imported or declared AFTER the default @suiet/wallet-kit CSS file to ensure your overrides take precedence.
@media (prefers-color-scheme: dark) {
:root {
--wkit-accent-hs: 166, 91%;
--wkit-on-accent-rgb: 255, 255, 255;
--wkit-bg-rgb: 40, 40, 40;
--wkit-on-bg-rgb: 241, 241, 241;
}
}