reactjs - CSS custom properties not working in react production build - Stack Overflow
GitHub - yairEO/ui-switch: React Switch component based on native checkbox input, using CSS variables (custom properties) as much as possible. Easily customisable and super lightweight.
Dynamically Update React and JavaScript with CSS Variables | Engineering Education (EngEd) Program | Section