bratislava / bratislava.sk

Frontend & CMS server of the new bratislava.sk website.
https://bratislava.sk
European Union Public License 1.2
26 stars 3 forks source link

Implement new design tokens as css variables and tailwind classes #1296

Closed radoslavzeman closed 2 months ago

radoslavzeman commented 2 months ago

We introduced new design tokens into figma this year. They are used along with "primitives" (e.g. color-red-500). These new tokens are already implemented in OLO project.

Please introduce them also in bratislava.sk project.

The aim of this task is only to introduce them, to be able to use them in new code, mostly in components copied from OLO. We do not aim to replace all primitives by tokens in older components now.

Tokens should be easily used independently in both projects. If this is not the case, please consult soon.