#designToken

Sasha FirsovSuns@fosstodon.org
2025-04-21

On cross-road what should be used as source of truth for UI Design Tokens: css, ts, or JSON?

Design tokens require type-checking to ensure valid values across themes. While JSON and Figma lack this, TypeScript, Java, and modern CSS offer structured solutions like APIs, nested classes, and utilities for checks like ADA compliance. Balancing accessibility, structure, and DX is key to effective #DesignToken usage.

blog.firsov.net/2025/04/ux-des

#DesignToken #WebDesign #WebDev

Inautiloinautilo
2025-03-12


Design systems need a color space · Ignoring color spaces is no longer an option ilo.im/162qtm

_____

Lukas Oppermannlukasoppermann
2024-11-12

operations are not hear yet, but feel like an integral part of design tokens, without which they will not be sustainable in the long run. @donnie has a neat writeup: buff.ly/3BsZ5nd

Personally, I gravitate to the simpler solution suggested in the w3c repo: buff.ly/4dmoOeg as it makes it easier for tools to adopt quickly and covers most cases.

Example of a design token json with operations
Inautiloinautilo
2024-10-23


Design systems glossaries and primitive tokens · The ideas driving conversations about design systems ilo.im/160gmd

_____

Lukas Oppermannlukasoppermann
2024-09-30

Interesting post on for : linkedin.com/pulse/decision-tr

They are a great way of helping folks pick the right component or .

Doctolib decision tree
Inautiloinautilo
2024-06-29


A structured approach to custom properties · How can we manage CSS variables effectively? ilo.im/15zcqz

_____

Inautiloinautilo
2024-06-14


Better know a design system: CSS frameworks! · “Arguably, CSS frameworks are design systems for the web.” ilo.im/15z72v

_____

2024-06-05

Our #DesignSystem's #DesignToken pipeline has become more of a hydra...

Figma vars & styles
|
+-> DTCG file
|
+-> CSS custom properties
+-> CSS utility classes
+-> Storybook stories for util classes
+-> TS code
+-> TS interface

...and there's more to come: React Native components, docs, etc.

Also, longterm I want to make Figma an output from the DTCG file (or have some kind of 2 way sync), rather than it being the source.

Lukas Oppermannlukasoppermann
2024-05-10

A fresh and interesting take on naming: uxdesign.cc/warhol-design-toke

While I am not a big fan of introducing new naming ideas that have to be memorized, others may disagree.

It is definitely food for thought and re-evaluating your own naming convention.

The system applied to dark mode
2024-04-12

I know it's been done a million times (incl. a few by my past self), but it still feels like magic when demoing a #DesignToken pipeline.

In our case, the demo was:
- Static HTML, React & Angular web apps are all open in browser windows, displaying some of p
our #DesignSystem components
- An Android emulator running a React Native app, also using DS components, is open too.
- I open a Figma library, edit the color of a variable
...

Jakirdezakir
2024-03-25

🎁🎁 Exciting News Alert! 🚀🚀
We present to you, the Keep Design System new update v1.5. 🎉
- keepdesign.io

🆕 What's New:
* ✨ New Look
* 🧩 Design Tokens
* 🌈 Figma Variables + Dark Mode
* ⚛️ React Version
* ...and much more!

2024-01-30

Quite pleased with the #DesignToken pipeline I've just cobbled together:

Figma vars ➡️ Tokens Brücke ➡️ DTCG file in a git repo ➡️ Cobalt UI (configured to output CSS vars) ➡️ PostCSS (with CSSNano) ➡️ CSS file

The hard part was that our source Figma lib has *multiple* modes AND I wanted the final output to only include semantic tier tokens (so all the brand-specific color ramps and whatnot are just internal implementation details of our theme). Had to make a custom Cobalt plugin for that.

Lukas Oppermannlukasoppermann
2023-12-08

Great article by @smashingmag on . Interesting approaches like hot Potatoe and the loop by : smart-interface-design-pattern

I agree that you need to find out what works for you and your team. But it's also important to understand that it depends on the phase of a project and the kind of project. Starting a new product is very different to implementing a new strategy.

Graphic showing the triple diamond design process
Lukas Oppermannlukasoppermann
2023-09-01

.@zetareticoli comments on a context dilemma with :
designtokens.substack.com/p/th I feel context specific are still the way to go. Repetition in this case is no problem. Ease of use without knowledge of the system should be the primary goal of any set.

Example of context specific design tokens: e.g. specific tokens for background and text
:rss: Qiita - 人気の記事qiita@rss-mstdn.studiofreesia.com
2023-08-13
Alberto Fernández #UX #DESIGNla_fernandez
2023-06-30

Creating a flexible design token taxonomy for Intuit’s Design System | by Nate Baldwin | Jun, 2023 | Medium medium.com/@NateBaldwin/creati

Lukas Oppermannlukasoppermann
2023-04-10

is hard and must be done well. You only get one chance, afterwards it will be breaking changes for your users.

I have written a guide to get you started with naming your tokens: medium.com/user-experience-des

The Practical Token Naming Guide
Lukas Oppermannlukasoppermann
2023-02-15

Very neat approach to visualizations/annotations in by @Disco_lu twitter.com/disco_lu/status/16. Personally I feel it is a bit too much work, but what do you think? I guess if you have issues with hand-overs it may be worth it. 🤔

2023-01-12

Has anyone succeeded in automating design tokens (system) from the designer to developers? I try Specificy but it can extract Figma token just first level in group? I am interested in Style-Dictionary but not sure it’s going to work. #react #designsystem #designtoken

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst