Sign in

sugarcube.sh

@sugarcube.sh
157 followers 10 following 23 posts

Design tokens in, CSS and components out. 🌐 sugarcube.sh 🐙 github.com/sugarcube-sh/sugarcube 🛠️ @marktomlinson.dev

PostsRepliesMedia
sugarcube.sh @sugarcube.sh · 10/03/2026
Yep yep yep. We could do:
Sugarcube utility config showing two prefixes for the same CSS property - 'bg' for normal usage and 'wp-preset-background-color' with safelist enabled for WordPress integration
100
sugarcube.sh @sugarcube.sh · 10/03/2026
👀 It is not currently possible but something I'd definitely be open to exploring. Maybe something like this? Tell me more about your use case. Would you need non-token-based utility classes on the safelist as well?
Screenshot of IDE with proposed sugarcube utility config, in particular, showing the addition of a safelist property as a solution to the question of generating some utility classes regardless of whether they are used in markup or not.
200