Skip to content

Commit

Permalink
fix: removed deprecated tokens in dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
GarthDB committed Jul 28, 2020
1 parent 281027d commit ebbe6c1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions components/dialog/index.css
Expand Up @@ -141,17 +141,17 @@ governing permissions and limitations under the License.
border-bottom-left-radius: 0;
outline: none; /* Hide focus outline around header */

padding-block-end: calc(var(--spectrum-dialog-rule-margin-top) + var(--spectrum-dialog-rule-margin-bottom) + var(--spectrum-dialog-rule-height));
padding-block-end: calc(var(--spectrum-dialog-confirm-divider-margin-top) + var(--spectrum-dialog-confirm-divider-margin-bottom) + var(--spectrum-dialog-confirm-divider-height));

/* The rule element */
&::after {
position: absolute;
bottom: var(--spectrum-dialog-rule-margin-bottom);
bottom: var(--spectrum-dialog-confirm-divider-margin-bottom);
left: 0;
right: 0;
content: '';

block-size: var(--spectrum-dialog-rule-height);
block-size: var(--spectrum-dialog-confirm-divider-height);
}
}

Expand Down
8 changes: 4 additions & 4 deletions components/dialog/skin.css
Expand Up @@ -11,14 +11,14 @@ governing permissions and limitations under the License.
*/

.spectrum-Dialog {
background: var(--spectrum-dialog-background-color);
background: var(--spectrum-dialog-confirm-background-color);
}

.spectrum-Dialog-header {
background: var(--spectrum-dialog-background-color);
background: var(--spectrum-dialog-confirm-background-color);

&:after {
background: var(--spectrum-dialog-rule-color);
background: var(--spectrum-dialog-confirm-divider-color);
}
}

Expand All @@ -35,7 +35,7 @@ governing permissions and limitations under the License.
}

.spectrum-Dialog-footer {
background: var(--spectrum-dialog-background-color);
background: var(--spectrum-dialog-confirm-background-color);
}

.spectrum-Dialog--error {
Expand Down

0 comments on commit ebbe6c1

Please sign in to comment.