Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapping a chronologic system token-set to another token-set #1207

Closed
bewarai opened this issue Aug 21, 2022 · 1 comment
Closed

Mapping a chronologic system token-set to another token-set #1207

bewarai opened this issue Aug 21, 2022 · 1 comment
Labels
☠️ Archive Suggest to remove issue, fixed, duplicate, stale enhancement Internal new feature or functionality

Comments

@bewarai
Copy link

bewarai commented Aug 21, 2022

I have a system-tokenset setup of font-sizes based on a typescale.

The root size and multiple typescales. I output that way about 20 type-sizes using a formula of root-(number) x typescale.
I map these now manually to my theme tokens.

Ex. I have:
...
System.desktop.DT-font-size-12
System.desktop.DT-font-size-13
System.desktop.DT-font-size-14
...
System.desktop.DT-font-size-20

and map these to

Theme.desktop.titles.heading-2xl ({System.desktop.DT-font-size-12})
Theme.desktop.titles.heading-xl ({System.desktop.DT-font-size-11})
Theme.desktop.titles.heading-l ({System.desktop.DT-font-size-10})
...
Theme.desktop.titles.heading-2xs ({System.desktop.DT-font-size-6})

Mapping those sizes takes a lot of time because I have to remap them in each new project which could be solved by having them mapped chronologically:

if I would be able to just set my heading 2xl from ({System.desktop.DT-font-size-12}) to ({System.desktop.DT-font-size-11}) the rest would automatically follow based on the chronology of my system-tokens. Now I have to do that manually for each project.

Could be done for colors as well

@six7 six7 moved this to 📥 Triage in Tokens Studio for Figma Roadmap Dec 10, 2022
@six7 six7 moved this from 📥 Triage to 🗃️ Backlog in Tokens Studio for Figma Roadmap Jan 13, 2023
@six7 six7 added enhancement Internal new feature or functionality and removed 👀 triage labels Jan 13, 2023
@SamIam4Hyma
Copy link
Collaborator

@six7 Suggest to close b/c it's stale and we can reimagine when we focus on typography in a future epic.

@SamIam4Hyma SamIam4Hyma added the ☠️ Archive Suggest to remove issue, fixed, duplicate, stale label Mar 21, 2024
@github-actions github-actions bot closed this as completed Apr 3, 2024
@github-project-automation github-project-automation bot moved this from 🗃️ Backlog to ✅ Done in Tokens Studio for Figma Roadmap Apr 3, 2024
@six7 six7 closed this as not planned Won't fix, can't repro, duplicate, stale Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
☠️ Archive Suggest to remove issue, fixed, duplicate, stale enhancement Internal new feature or functionality
Projects
Status: ✅ Done
Development

No branches or pull requests

3 participants