Once semantic tokens have been added to our tokens package (#236), we should update our components to use these semantic tokens instead of the primitive tokens being currently used.
[x] Loading indicator - update Figma with semantic tokens
[x] Snackbar - update Figma with semantic tokens
[x] Segmented control - update Figma with semantic tokens
[x] Link - update Figma with semantic tokens
[x] Alert - update Figma with semantic tokens
[x] Button - update Figma with semantic tokens
In va-mobile-library
[x] Update tokens package version number in components/package
[x] Segmented control - update code with semantic tokens
[x] Link - update code with semantic tokens
[x] Alert - update code with semantic tokens
[x] Button - update code with semantic tokens
[x] Icon - update code with semantic tokens
Acceptance Criteria
- [x] Update all existing components to use semantic/component tokens instead of primitive tokens
- [x] ~~Update all unit tests to use semantic/component tokens instead of primitive tokens or hex~~ After discussion with Narin and Tim, we decided to revert to hex codes.
Description
Once semantic tokens have been added to our tokens package (#236), we should update our components to use these semantic tokens instead of the primitive tokens being currently used.
See Figma file
In Figma
In va-mobile-library
Acceptance Criteria
- [x] Update all existing components to use semantic/component tokens instead of primitive tokens - [x] ~~Update all unit tests to use semantic/component tokens instead of primitive tokens or hex~~ After discussion with Narin and Tim, we decided to revert to hex codes.