Skip to content

chore: release #3673

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

Merged
merged 1 commit into from
Apr 16, 2025
Merged

chore: release #3673

merged 1 commit into from
Apr 16, 2025

Conversation

github-actions[bot]
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@spectrum-tools/[email protected]

Minor Changes

  • #3452 287cff8 Thanks @marissahuysentruyt! - Adds new functionality to better handle tokens that reference other transparent tokens.

    When a custom properties below is defined as another, specifically "transparent," variable, such as:

    --disabled-static-white-background-color: var(
    	--spectrum-transparent-white-100
    );

    ...the plugin can now convert this single custom property into its -rgb and -opacity postfixed variables, that each correspond to the -rgb and -opacity variables of the definition's transparent token. It then reassembles the original, using and referencing these newly created variables.

    --disabled-static-white-background-color-rgb: var(
    	--spectrum-transparent-white-100-rgb
    );
    --disabled-static-white-background-color-opacity: var(
    	--spectrum-transparent-white-100-opacity
    );
    --disabled-static-white-background-color: rgba(
    	var(--disabled-static-white-background-color-rgb),
    	var(--disabled-static-white-background-color-opacity)
    );

@castastrophe castastrophe enabled auto-merge (squash) April 16, 2025 14:11
Copy link
Contributor Author

🚀 Deployed on https://pr-3673--spectrum-css.netlify.app

Copy link
Contributor Author

File metrics

Summary

Total size: 2.25 MB*

🎉 No changes detected in any packages

* Size is the sum of all main files for packages in the library.
* An ASCII character in UTF-8 is 8 bits or 1 byte.

@castastrophe castastrophe merged commit 048399e into main Apr 16, 2025
13 of 14 checks passed
@castastrophe castastrophe deleted the changeset-release/main branch April 16, 2025 14:18
castastrophe pushed a commit that referenced this pull request Apr 21, 2025
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
castastrophe added a commit that referenced this pull request Apr 22, 2025
* chore: adds support to parse "transparent" token references (#3452)

* feat(tokens): add transparent token handling

* adds transparent mapping into rgb-mapping plugin
- custom properties that reference transparent tokens will now be mapped
to their corresponding transparent rgb/opacity tokens
- extends the work that the rgb-mapping plugin already does

* test: add plugin test cases

* chore(plugins/postcss-rgb-mapping): update README.md

* chore: add changeset

* chore: release (#3673)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* fix(tokens): support style-dictionary build in windows env (#2500)

---------

Co-authored-by: Marissa Huysentruyt <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
castastrophe pushed a commit that referenced this pull request Jun 11, 2025
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

1 participant