How to apply dark mode to AWS UI components
2 min readJan 9, 2021
In How to apply your brand’s theme to AWS UI components, I wrote a guide to applying custom styles to the AWS UI component library. This was the foundation I needed to replicate dark mode for my portfolio when I migrated from Material UI to AWS UI.
Once I was able to modify the values of the AWS UI design tokens (CSS variables), it was just a matter of plugging in the dark mode…