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

Rename --letter-spacing-* variables to --tracking-* #14921

Merged
merged 1 commit into from
Nov 8, 2024

Conversation

philipp-spiess
Copy link
Member

@philipp-spiess philipp-spiess commented Nov 8, 2024

Part of the current changes, we also want to make the --letter-spacing-* namespace closer to the utility name so we're renaming it to --tracking-*:

  @theme {
-  --letter-spacing-tighter: -0.05em;
-  --letter-spacing-tight: -0.025em;
-  --letter-spacing-normal: 0em;
-  --letter-spacing-wide: 0.025em;
-  --letter-spacing-wider: 0.05em;
-  --letter-spacing-widest: 0.1em;

    /* ... */
  
+  --tracking-tighter: -0.05em;
+  --tracking-tight: -0.025em;
+  --tracking-normal: 0em;
+  --tracking-wide: 0.025em;
+  --tracking-wider: 0.05em;
+  --tracking-widest: 0.1em;

    /* ... */
  }

Test Plan

Added cases to the CSS theme() variable/JS plugin tests (interop layer) and the integration tests (codemod layer).

@philipp-spiess philipp-spiess requested a review from a team as a code owner November 8, 2024 15:44
@philipp-spiess philipp-spiess force-pushed the change/rename-letter-spacing-var-to-tracking branch from 1872e36 to 8491b73 Compare November 8, 2024 15:52
@philipp-spiess philipp-spiess force-pushed the change/rename-letter-spacing-var-to-tracking branch from 8491b73 to a509dd6 Compare November 8, 2024 15:54
@philipp-spiess philipp-spiess merged commit 586723f into next Nov 8, 2024
1 check passed
@philipp-spiess philipp-spiess deleted the change/rename-letter-spacing-var-to-tracking branch November 8, 2024 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants