Skip to content

[feat] Add ThemeCssProvider#12755

Merged
sfc-gh-bnisco merged 1 commit intodevelopfrom
bnisco/ccv2-stack-32
Oct 24, 2025
Merged

[feat] Add ThemeCssProvider#12755
sfc-gh-bnisco merged 1 commit intodevelopfrom
bnisco/ccv2-stack-32

Conversation

@sfc-gh-bnisco
Copy link
Copy Markdown
Collaborator

@sfc-gh-bnisco sfc-gh-bnisco commented Oct 10, 2025

Describe your changes

Added a new ThemeCssProvider component that converts Emotion theme properties to CSS custom properties. This component wraps children with a styled element that applies these custom properties, making theme values accessible via CSS variables. The component only exposes properties defined in the ComponentsV2Theme.

GitHub Issue Link (if applicable)

Testing Plan

  • objectToCssCustomProperties is already tested, this just passes the CSS custom properties to the DOM.

Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@snyk-io
Copy link
Copy Markdown
Contributor

snyk-io bot commented Oct 10, 2025

Snyk checks have passed. No issues have been found so far.

Status Scanner Critical High Medium Low Total (0)
Licenses 0 0 0 0 0 issues
Open Source Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

Copy link
Copy Markdown
Collaborator Author

sfc-gh-bnisco commented Oct 10, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@sfc-gh-bnisco sfc-gh-bnisco force-pushed the bnisco/ccv2-stack-32 branch 2 times, most recently from df8b8c9 to f0e43b0 Compare October 24, 2025 19:07
@sfc-gh-bnisco sfc-gh-bnisco force-pushed the bnisco/ccv2-stack-30 branch 2 times, most recently from f9159b0 to 93613b5 Compare October 24, 2025 19:10
Copy link
Copy Markdown
Collaborator Author

sfc-gh-bnisco commented Oct 24, 2025

Merge activity

  • Oct 24, 11:01 PM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Oct 24, 11:29 PM UTC: Graphite rebased this pull request as part of a merge.
  • Oct 24, 11:52 PM UTC: @sfc-gh-bnisco merged this pull request with Graphite.

@sfc-gh-bnisco sfc-gh-bnisco changed the base branch from bnisco/ccv2-stack-30 to graphite-base/12755 October 24, 2025 23:02
@sfc-gh-bnisco sfc-gh-bnisco changed the base branch from graphite-base/12755 to develop October 24, 2025 23:27
@sfc-gh-bnisco sfc-gh-bnisco merged commit e4a3736 into develop Oct 24, 2025
37 checks passed
@sfc-gh-bnisco sfc-gh-bnisco deleted the bnisco/ccv2-stack-32 branch October 24, 2025 23:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change:feature PR contains new feature or enhancement implementation impact:internal PR changes only affect internal code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants