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

[terra-application] Add theme density support to Terra Application and Dev Site #361

Merged
merged 4 commits into from
Jan 5, 2024

Conversation

cm9361
Copy link
Contributor

@cm9361 cm9361 commented Dec 18, 2023

Summary

What was changed:
The terra-application and terra-dev-site packages were updated to support theme density in preparation for the new Redwood theme.

Why it was changed:
The change was made because the new Redwood theme has three data densities. The changes for this pull request allow applications to be configured to specify a density as well as properly test the density in components.

Testing

This change was tested using:

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

Reviews

In addition to engineering reviews, this PR needs:

  • UX review
  • Accessibility review
  • Functional review

Additional Details

N/A

This PR resolves:

UXPLATFORM-10096


Thank you for contributing to Terra.
@cerner/terra

@@ -65,6 +65,10 @@ const propTypes = {
* The name of the theme to apply to the application using terra-theme-provider.
*/
themeName: PropTypes.string,
/**
* The name of the theme to apply to the application using terra-theme-provider.
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be updated for theme density

@github-actions github-actions bot temporarily deployed to preview-pr-361 December 21, 2023 15:07 Destroyed
@cm9361 cm9361 merged commit e96d917 into terra-application-v1 Jan 5, 2024
7 checks passed
@cm9361 cm9361 deleted the terra-application-density-support branch January 5, 2024 17:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants