A useful token system usually starts with semantic roles. You define values for background, surface, border, foreground, muted text, primary action, and other recurring responsibilities in the UI.
From there, tokens can be exported into CSS variables, Tailwind config, or JSON depending on the implementation stack.