Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

[terra-theme-provider] Import terra-theme-properties package #1979

Merged
merged 6 commits into from
Jan 16, 2024

Conversation

sycombs
Copy link
Contributor

@sycombs sycombs commented Jan 12, 2024

Summary

This PR consumes and imports the terra-theme-properties package into terra-theme-provider, so that Terra Redwood theme variables are available via terra-theme-provider.

Testing

This change was tested using:

  • WDIO
  • Jest
  • Visual testing (please attach a screenshot or recording)
  • Other (please describe below)
  • No tests are needed

Tested by adding redwood-theme to terra-theme.config.js and running the local server via npm start. The theme variables are available in the dev tools:

image

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

This PR resolves:

UXPLATFORM-9932


Thank you for contributing to Terra.
@cerner/terra

@@ -28,7 +28,8 @@
"dependencies": {
"classnames": "^2.2.5",
"prop-types": "^15.5.8",
"terra-mixins": "^1.0.0"
"terra-mixins": "^1.0.0",
"terra-theme-properties": "file:../../terra-theme-properties-0.1.0.tgz"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be updated to use the released version of terra-theme-properties once it is available.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will be removed once using the released version of terra-theme-properties.

@sycombs sycombs marked this pull request as ready for review January 16, 2024 20:14
@github-actions github-actions bot temporarily deployed to preview-pr-1979 January 16, 2024 20:15 Destroyed
@sycombs sycombs self-assigned this Jan 16, 2024
@sycombs sycombs requested a review from a team January 16, 2024 20:27
@sycombs sycombs merged commit 92c3ee7 into main Jan 16, 2024
22 checks passed
@sycombs sycombs deleted the redwood-import-package branch January 16, 2024 21:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants