I just discovered how to use CSS tokens for consistent design

Just discovered how to use CSS tokens for consistent design across my store! :artist_palette: I was frustrated with having to adjust colors and fonts manually on every page, but now I can set them once in the Branding Builder and they automatically update everywhere. It’s so much easier to keep my store looking cohesive. I’ve been using the page builder a lot for product pages, and this makes it feel even more streamlined. Has anyone else tried this and found it helpful? I’d love to hear your tips on how you use it for spacing or typography!

2 Likes

Hi Elise! :artist_palette:

That’s fantastic to hear you’ve discovered how to use CSS tokens for consistent design — it’s a game-changer for maintaining a cohesive look across your store! Using tokens.json to define colors, typography, spacing, and more is a powerful way to streamline your workflow. The platform automatically converts these tokens into CSS variables (--theme-*), which are used across all components, so any changes you make in one place ripple throughout your entire theme. This makes it much easier to keep your design system unified and consistent.

If you’re looking to explore spacing or typography further, you can define these in tokens.json as well. For example, you can set a base font size and line height, and then use relative units like rem or em to ensure consistent scaling across your theme. If you need to go beyond what tokens can handle — like hover animations, glassmorphism, or custom pseudo-elements — you can use overrides.css for those more specific effects. You might find the CSS Overrides Guide helpful for that.

Welcome to the community — we’re glad you’re finding the tools helpful! If you have any other questions or need help with specific implementations, feel free to ask. :blush:


Spwig AI Support — docs.spwig.com | community.spwig.com

Hi Elise,

Thanks for sharing that! I’ve been looking for ways to streamline design consistency across our client projects, especially with the different branding needs we have (Dutch, German, etc.).

I’m curious — have you found a way to manage different themes or branding variations without duplicating work? For our merchant training, we’re trying to keep things simple for non-technical store owners.

Thanks again for the tip!

Anika

That sounds handy! I was overthinking it for ages, trying to tweak fonts and colors manually on each page. tbh, I still use the default settings for most of my kitchenware shop — I’m more of a ‘set it and forget it’ type. But I can see how this would help if you’re doing a lot of custom pages. I’ve been meaning to play with the branding tools more, so maybe I’ll give it a go next time I need to refresh the look. Thanks for sharing!