postcss-dark-theme-class is a PostCSS plugin that automatically wraps your CSS rules within a .dark class when a dark theme is enabled. This offers a straightforward way to implement dark mode support using a class-based approach. It effectively creates alternative styles for dark mode without requiring extensive CSS changes, simplifying theming and improving maintainability. Using this plugin is an easy path to implement CSS dark-mode, with no extra dependencies.