-
Notifications
You must be signed in to change notification settings - Fork 80
Convert Tokens to Style Dictionary 4 and Token Studio 1 #11391
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
Labels
4 - verified
Issues that have been tested, confirmed as mitigated, and are ready to close.
enhancement
Issues tied to a new feature or request.
estimate - 8
Requires input from team, consider smaller steps.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Comments
@alisonailea Can you provide an estimate, priority, and timeline for the above? |
9 tasks
This was referenced Feb 28, 2025
jcfranco
added a commit
that referenced
this issue
Mar 7, 2025
**Related Issue:** #10510 ## Summary Removes the global focus color introduced in [#10512](#10512) to match the behavior of the deprecated `--calcite-ui-focus-color`. Previously, `--calcite-color-focus` was defined at `:root`, preventing it from inheriting updates to `--calcite-color-brand` (its fallback). This is **not** considered a breaking change because: * it only affects outputs that are not publicly documented * the default color will still be applied as expected * `--calcite-color-focus` remains available for overriding the focus color **Note**: #11713 will restore `--calcite-color-focus` after #11391 lands.
jcfranco
added a commit
that referenced
this issue
Mar 11, 2025
**Related Issue:** #10510 ## Summary Removes the global focus color introduced in [#10512](#10512) to match the behavior of the deprecated `--calcite-ui-focus-color`. Previously, `--calcite-color-focus` was defined at `:root`, preventing it from inheriting updates to `--calcite-color-brand` (its fallback). This is **not** considered a breaking change because: * it only affects outputs that are not publicly documented * the default color will still be applied as expected * `--calcite-color-focus` remains available for overriding the focus color **Note**: #11713 will restore `--calcite-color-focus` after #11391 lands.
benelan
pushed a commit
that referenced
this issue
Mar 26, 2025
**Related Issue:** #10510 ## Summary Removes the global focus color introduced in [#10512](#10512) to match the behavior of the deprecated `--calcite-ui-focus-color`. Previously, `--calcite-color-focus` was defined at `:root`, preventing it from inheriting updates to `--calcite-color-brand` (its fallback). This is **not** considered a breaking change because: * it only affects outputs that are not publicly documented * the default color will still be applied as expected * `--calcite-color-focus` remains available for overriding the focus color **Note**: #11713 will restore `--calcite-color-focus` after #11391 lands.
6 tasks
jcfranco
added a commit
that referenced
this issue
Apr 7, 2025
…nt (#11852) **Related Issue:** #11391 ## Summary This update makes changes necessary for the modification of Calcite tokens within Tokens Studio. No changes are made to the final tokens themselves in this update. Criteria for completion: - [x] Import current token files into TStudio (TStudio automatically moves things around, but there should be no functional change) - [x] Separate light/dark semantic color tokens into their own files so that TStudio can use them as themes - [x] Change all instances of `"type": "size"` to `"type": "sizing"` For TStudio organization - [x] Change all instances of `"type": "space"` to `"type": "spacing"` For TStudio organization - [x] Change all instances of `"type": "breakpoint"` to `"type": "dimension"` For TStudio organization - [x] Add TStudio themes for different token types This update is one step in the process of moving our token management over to Tokens Studio. ## Next steps - Update snapshot tests - Remove token attributes - Add missing core color tokens - Fix incorrect core color values - Audit the structural differences between tokens and Figma variables - Restructure tokens to align with Figma variables where necessary - Resolve #10050 - Resolve #11565 - Resolve #11581 - Resolve #11725 - 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 <[email protected]>
5 tasks
Removing the task "Design to ensure typography styles are correctly setup before importing into Token Studio" from this issue in favor of a dedicated issue #11902. |
Installed and assigned for verification. |
3 tasks
5 tasks
matgalla
added a commit
that referenced
this issue
Apr 9, 2025
**Related Issue:** #11391 ## Summary Since #11655 allows us to build the final variables with the base token info, we don't need the excess token metadata. This PR removes all the fields within `attributes` from core and semantic tokens aside from the `category` field, which we will keep to assist with niche token instances and documentation purposes. ## Criteria for completion - [x] Remove `attributes` (except for `category`) from all semantic and core tokens - [x] Ensure that organization and token values are retained - [x] Ensure that the token build process is unaffected ## Previous steps - [x] #11852 ## Next steps - Add missing core color tokens - Fix incorrect core color values - Audit the structural differences between tokens and Figma variables - Restructure tokens to align with Figma variables where necessary - Address #10050 - Address #11565 - Address #11581 - 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 <[email protected]>
🍠 Verified locally |
benelan
pushed a commit
that referenced
this issue
May 14, 2025
…nt (#11852) **Related Issue:** #11391 ## Summary This update makes changes necessary for the modification of Calcite tokens within Tokens Studio. No changes are made to the final tokens themselves in this update. Criteria for completion: - [x] Import current token files into TStudio (TStudio automatically moves things around, but there should be no functional change) - [x] Separate light/dark semantic color tokens into their own files so that TStudio can use them as themes - [x] Change all instances of `"type": "size"` to `"type": "sizing"` For TStudio organization - [x] Change all instances of `"type": "space"` to `"type": "spacing"` For TStudio organization - [x] Change all instances of `"type": "breakpoint"` to `"type": "dimension"` For TStudio organization - [x] Add TStudio themes for different token types This update is one step in the process of moving our token management over to Tokens Studio. ## Next steps - Update snapshot tests - Remove token attributes - Add missing core color tokens - Fix incorrect core color values - Audit the structural differences between tokens and Figma variables - Restructure tokens to align with Figma variables where necessary - Resolve #10050 - Resolve #11565 - Resolve #11581 - Resolve #11725 - 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 <[email protected]>
benelan
pushed a commit
that referenced
this issue
May 14, 2025
**Related Issue:** #11391 ## Summary Since #11655 allows us to build the final variables with the base token info, we don't need the excess token metadata. This PR removes all the fields within `attributes` from core and semantic tokens aside from the `category` field, which we will keep to assist with niche token instances and documentation purposes. ## Criteria for completion - [x] Remove `attributes` (except for `category`) from all semantic and core tokens - [x] Ensure that organization and token values are retained - [x] Ensure that the token build process is unaffected ## Previous steps - [x] #11852 ## Next steps - Add missing core color tokens - Fix incorrect core color values - Audit the structural differences between tokens and Figma variables - Restructure tokens to align with Figma variables where necessary - Address #10050 - Address #11565 - Address #11581 - 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 <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
4 - verified
Issues that have been tested, confirmed as mitigated, and are ready to close.
enhancement
Issues tied to a new feature or request.
estimate - 8
Requires input from team, consider smaller steps.
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Uh oh!
There was an error while loading. Please reload this page.
Check existing issues
Description
Requires a major refactor of
calcite-design-tokens
This will remove several (now unnecessary) custom token transformer functions. Align with the latest Token Studio and Style Dictionary versions.
Blocked issues: #10051
Requirements checkoff
Acceptance Criteria
@tokens-studio/sd-transforms is at or above v1.2.9
style-dictionary is at or above v4.3.2
Run
npm run build
packages/calcite-design-tokens/dist includes the following assets
Relevant Info
Required to resolve:
#10618
#10993
#8856
Which Component
tokens
Example Use Case
No response
Priority impact
impact - p2 - want for an upcoming milestone
Calcite package
Esri team
N/A
The text was updated successfully, but these errors were encountered: