-
Notifications
You must be signed in to change notification settings - Fork 72
Conversation
package.json
Outdated
@@ -45,7 +45,7 @@ | |||
}, | |||
"overrides": [ | |||
{ | |||
"files": ["packages/terra-theme-properties/**/*.scss"], | |||
"files": ["packages/terra-theme-properties/**/*.scss", "packages/**/redwood-theme/*.scss"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you want "...redwood-theme/**/*.scss"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, fixed in dcf6be0
@@ -323,13 +323,14 @@ | |||
|
|||
// ======================================= | |||
// terra-modal-manager | |||
// https://github.com/cerner/terra-core/tree/main/packages/terra-modal-manager | |||
// https://github.com/cerner/terra-framework/tree/main/packages/terra-modal-manager |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These files are generated. I communicated this issue with the UX team. You don't want to manually update it as it would just be incorrect the next release.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you so much for taking care of that, reverted in dcf6be0
// https://jira2.cerner.com/browse/UXPLATFORM-10006 | ||
// ======================================= | ||
.redwood-theme { | ||
--modal-background-color: var(--container-style-1-background-color); | ||
--modal-box-shadow: var(--rds-box-shadow-md); | ||
--modal-border-radius: var(--rds-border-radius-md); | ||
// TODO add --modal-foreground-color variable or remove this line is inherit color works |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I still think we don't want a UX theme variable here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed here: dcf6be0
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just have one comment about the changelog, otherwise LGTM
Summary
This PR adds redwood styling to the modal manager and adds wdio screenshots for that component.
NOTE: the redwood css styles that changed are border radius, background color and box-shadow css props of the disclosure modal, the content of the disclosure component is not impacted by the change. The wdio screenshots will need to be updated once the content components become redwood-styled.
Testing
This change was tested using:
Steps to test:
npm ci
to build and generate css styles for all themes.<div>
.Reviews
In addition to engineering reviews, this PR needs:
This PR resolves:
UXPLATFORM-10006