News for hackers. Stuff that matters.
Re:Design Token-Based UI Architecture by kaelig on Wednesday December 18, 2024 @01:53PM (#42453560)
It's not too different, as the concept was heavily influenced by localization libraries.

That said they're not always constants. A design token can mutate based on device, light/dark/high-contrast mode, viewport size, user preference, locale, brand, product, theme, etc. This mutation can apply at runtime or at build time depending on the use-case.

There are no comments on this comment yet.