Skip to content

chore: exclude token source from formatting#11918

Merged
jcfranco merged 1 commit intodevfrom
jcfranco/exclude-token-source-from-formatting
Apr 10, 2025
Merged

chore: exclude token source from formatting#11918
jcfranco merged 1 commit intodevfrom
jcfranco/exclude-token-source-from-formatting

Conversation

@jcfranco
Copy link
Copy Markdown
Member

@jcfranco jcfranco commented Apr 9, 2025

Related Issue: N/A

Summary

Source tokens are managed by the Tokens Studio plugin, which syncs directly with GitHub. This bypasses pre-commit hooks, so it's not able to lint the JSON as expected, leading to inconsistent diffs in design token PRs.

@jcfranco jcfranco requested a review from alisonailea as a code owner April 9, 2025 22:41
@github-actions github-actions Bot added the chore Issues with changes that don't modify src or test files. label Apr 9, 2025
@jcfranco jcfranco requested a review from matgalla April 9, 2025 22:43
@jcfranco jcfranco added the skip visual snapshots Pull requests that do not need visual regression testing. label Apr 9, 2025
@jcfranco jcfranco requested a review from benelan April 9, 2025 22:45
@jcfranco jcfranco merged commit b191dab into dev Apr 10, 2025
18 checks passed
@jcfranco jcfranco deleted the jcfranco/exclude-token-source-from-formatting branch April 10, 2025 16:14
@github-actions github-actions Bot added this to the 2025-04-29 - Apr Milestone milestone Apr 10, 2025
matgalla added a commit that referenced this pull request Apr 11, 2025
…11924)

**Related Issue:** #11581 

## Summary
Adds `low-saturation` colors that are missing when compared to the
original [Calcite Colors](https://github.com/Esri/calcite-colors) repo:


![image](https://github.com/user-attachments/assets/9fd59ef8-ead2-43be-b80f-9a6cd8e89f14)


Adds `medium-saturation` colors that are missing when compared to the
original [Calcite Colors](https://github.com/Esri/calcite-colors) repo:


![image](https://github.com/user-attachments/assets/89f58c96-7f25-40b6-a6ae-1efd998c100f)


Fixes incorrect value for `--calcite-color-vibrant-blue-v-bb-180`:


![image](https://github.com/user-attachments/assets/f250cf04-b0de-48b8-9e99-581541ec7b68)


Fixes incorrect value for `--calcite-color-dark-green-d-gg-430`:


![image](https://github.com/user-attachments/assets/80eef2e1-26d7-4311-b9d8-69353cf83b1a)


NOTE: In this PR, Tokens Studio changed some minor formatting for all
otherwise unchanged token JSON files. This is due to Tokens Studio
bypassing the linting process. Addressed in @jcfranco's recent PR here:
#11918

This PR is a part of a series of updates that address token-related
issues and set them up for use with Tokens Studio.

## Criteria for completion
- [x] change `--calcite-color-vibrant-blue-v-bb-180` token value to
#0089DE
- [x] change `--calcite-color-dark-green-d-gg-430` token value to
#11AD1D
- [x] add all `low-saturation` color tokens
- [x] add all `medium-saturation` color tokens

## Previous steps
- [x] #11655 
- [x] #11852 

## Next steps
- Audit the structural differences between tokens and Figma variables
- Restructure tokens to align with Figma variables where necessary
- Address #10050 
- Address #11565 
- Address #11725 
- Address #11903 
- Audit the value differences between tokens and Figma variables (mainly
for percentages and typography)
- Finalize token and Figma variable values with Calcite designers and
developers
- Update token values to align with Figma variables where necessary
- Document the new token creation and modification process

---------

Co-authored-by: JC Franco <jfranco@esri.com>
benelan pushed a commit that referenced this pull request May 14, 2025
**Related Issue:** N/A  

## Summary  

Source tokens are managed by the Tokens Studio plugin, which syncs
directly with GitHub. This bypasses pre-commit hooks, so it's not able
to lint the JSON as expected, leading to inconsistent diffs in design
token PRs.
benelan pushed a commit that referenced this pull request May 14, 2025
…11924)

**Related Issue:** #11581 

## Summary
Adds `low-saturation` colors that are missing when compared to the
original [Calcite Colors](https://github.com/Esri/calcite-colors) repo:


![image](https://github.com/user-attachments/assets/9fd59ef8-ead2-43be-b80f-9a6cd8e89f14)


Adds `medium-saturation` colors that are missing when compared to the
original [Calcite Colors](https://github.com/Esri/calcite-colors) repo:


![image](https://github.com/user-attachments/assets/89f58c96-7f25-40b6-a6ae-1efd998c100f)


Fixes incorrect value for `--calcite-color-vibrant-blue-v-bb-180`:


![image](https://github.com/user-attachments/assets/f250cf04-b0de-48b8-9e99-581541ec7b68)


Fixes incorrect value for `--calcite-color-dark-green-d-gg-430`:


![image](https://github.com/user-attachments/assets/80eef2e1-26d7-4311-b9d8-69353cf83b1a)


NOTE: In this PR, Tokens Studio changed some minor formatting for all
otherwise unchanged token JSON files. This is due to Tokens Studio
bypassing the linting process. Addressed in @jcfranco's recent PR here:
#11918

This PR is a part of a series of updates that address token-related
issues and set them up for use with Tokens Studio.

## Criteria for completion
- [x] change `--calcite-color-vibrant-blue-v-bb-180` token value to
#0089DE
- [x] change `--calcite-color-dark-green-d-gg-430` token value to
#11AD1D
- [x] add all `low-saturation` color tokens
- [x] add all `medium-saturation` color tokens

## Previous steps
- [x] #11655 
- [x] #11852 

## Next steps
- Audit the structural differences between tokens and Figma variables
- Restructure tokens to align with Figma variables where necessary
- Address #10050 
- Address #11565 
- Address #11725 
- Address #11903 
- Audit the value differences between tokens and Figma variables (mainly
for percentages and typography)
- Finalize token and Figma variable values with Calcite designers and
developers
- Update token values to align with Figma variables where necessary
- Document the new token creation and modification process

---------

Co-authored-by: JC Franco <jfranco@esri.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Issues with changes that don't modify src or test files. skip visual snapshots Pull requests that do not need visual regression testing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants