Skip to content

Commit

Permalink
fix(modal): restore deprecated scrim background css property (#5868)
Browse files Browse the repository at this point in the history
**Related Issue:** #5866 

This PR will restore the deprecated `--calcite-scrim-background` CSS
property.
  • Loading branch information
anveshmekala committed Dec 2, 2022
1 parent 1cea4eb commit 7717127
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/modal/modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @prop --calcite-modal-padding: [Deprecated] The padding around content area slot.
* @prop --calcite-modal-padding-large: [Deprecated] The left/right padding around items within the component.
* @prop --calcite-modal-title-text: [Deprecated] The component title's font size.
* @prop --calcite-scrim-background: [Deprecated] The component's semi-transparent background color.
* @prop --calcite-scrim-background: The component's semi-transparent background color.
*/

:host {
Expand Down
2 changes: 1 addition & 1 deletion src/components/modal/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Type: `Promise<void>`
| `--calcite-modal-padding` | [Deprecated] The padding around content area slot. |
| `--calcite-modal-padding-large` | [Deprecated] The left/right padding around items within the component. |
| `--calcite-modal-title-text` | [Deprecated] The component title's font size. |
| `--calcite-scrim-background` | [Deprecated] The component's semi-transparent background color. |
| `--calcite-scrim-background` | The component's semi-transparent background color. |

## Dependencies

Expand Down

0 comments on commit 7717127

Please sign in to comment.