- Home /
Design Tokens
I am planning in making design and color decisions for UI elements on a global scale and I recently read about design tokens. Is there an effective way to implement this?
I thought about a seperate script that sets the variable colour, font sizes, etc for displayed elements but I was wondering if there might be a way to accomplish that more on a lower level to link colours directly to a global set variable?
Thanks for your suggestions!
$$anonymous$$aybe a Scriptable Object could be used to hold all the 'design tokens' and where-ever any UI information is used to make the core style just reference from that one Scriptable Object. Whenever the style needs to be updated, just the Scriptable Object needs to be updated.
Thanks! I am just reading into scriptable objects, it sounds like the solution I was looking for!