Skip to content

Commit ebbe6c1

Browse files
committed
fix: removed deprecated tokens in dialog
1 parent 281027d commit ebbe6c1

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

components/dialog/index.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,17 +141,17 @@ governing permissions and limitations under the License.
141141
border-bottom-left-radius: 0;
142142
outline: none; /* Hide focus outline around header */
143143

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

146146
/* The rule element */
147147
&::after {
148148
position: absolute;
149-
bottom: var(--spectrum-dialog-rule-margin-bottom);
149+
bottom: var(--spectrum-dialog-confirm-divider-margin-bottom);
150150
left: 0;
151151
right: 0;
152152
content: '';
153153

154-
block-size: var(--spectrum-dialog-rule-height);
154+
block-size: var(--spectrum-dialog-confirm-divider-height);
155155
}
156156
}
157157

components/dialog/skin.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ governing permissions and limitations under the License.
1111
*/
1212

1313
.spectrum-Dialog {
14-
background: var(--spectrum-dialog-background-color);
14+
background: var(--spectrum-dialog-confirm-background-color);
1515
}
1616

1717
.spectrum-Dialog-header {
18-
background: var(--spectrum-dialog-background-color);
18+
background: var(--spectrum-dialog-confirm-background-color);
1919

2020
&:after {
21-
background: var(--spectrum-dialog-rule-color);
21+
background: var(--spectrum-dialog-confirm-divider-color);
2222
}
2323
}
2424

@@ -35,7 +35,7 @@ governing permissions and limitations under the License.
3535
}
3636

3737
.spectrum-Dialog-footer {
38-
background: var(--spectrum-dialog-background-color);
38+
background: var(--spectrum-dialog-confirm-background-color);
3939
}
4040

4141
.spectrum-Dialog--error {

0 commit comments

Comments
 (0)