Theming with design tokens at Webflow
Blog post from Webflow
Webflow successfully implemented large-scale design updates by utilizing design tokens and CSS variables, facilitating consistent and efficient UI changes across their platform. Design tokens, curated and managed in Figma, are used to create CSS variables that define various style elements such as colors and spacing, which are then integrated into Webflow's codebase. This approach allows for seamless updates by changing token values in one place, automatically applying changes throughout the application, thus eliminating the need for manually adjusting numerous style instances. The system supports multiple themes by using theme configuration files with consistent variable names but different values, enabling easy theme switching. By unifying their styling system and replacing hard-coded values with variables, Webflow has streamlined its development process, allowing for quick responses to customer feedback and potential future enhancements like expanded theme customization.