Autodesk / Autodesk/hig

Reformat roles

Open
#1,206 0 comments 0 reactions 1 assignee Claimed by @arirusso View on GitHub
2pt theme data
Dominant language
JavaScript
Stars
193
Forks
112
PR merge metrics
No merged PRs in 30d

Description

As a developer
I can access style dictionary roles in a comfortable and clear way
so I can make my components themable

---

Today theme data roles are formatted like this:
```
themeData["BASICS.COLORS.BLACK"]
themeData["SKELETON-ITEM.BACKGROUND-COLOR"]
theneData["COLOR_SCHEME.ACCENT_COLOR"]
```

Let's reformat them to make them more natural to type:
```
themeData["basics.colors.black"]
themeData["skeletonItem.backgroundColor"]
themeData["colorScheme.accentColor"]
```

---

_Acceptance notes_

- Change all references to roles to the new format within all packages

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.