File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
docs/components/containers
src/components/PreviewBlock
design-system/src/components/Modal Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ description: "A dialog window with an overlay background."
40
40
<Button size = " sm" variant = " primary" >
41
41
Submit
42
42
</Button >
43
- <Button size = " sm" variant = " secondary " >
43
+ <Button size = " sm" variant = " tertiary " >
44
44
Cancel
45
45
</Button >
46
46
</Modal.Footer >
Original file line number Diff line number Diff line change @@ -382,7 +382,7 @@ export const PreviewBlock = ({
382
382
</ p >
383
383
</ Modal . Body >
384
384
< Modal . Footer >
385
- < Button size = "md" variant = "secondary " >
385
+ < Button size = "md" variant = "tertiary " >
386
386
Cancel
387
387
</ Button >
388
388
< Button size = "md" variant = "primary" >
@@ -421,7 +421,7 @@ export const PreviewBlock = ({
421
421
</ p >
422
422
</ Modal . Body >
423
423
< Modal . Footer itemAlignment = "stretch" >
424
- < Button size = "md" variant = "secondary " >
424
+ < Button size = "md" variant = "tertiary " >
425
425
Cancel
426
426
</ Button >
427
427
< Button size = "md" variant = "primary" >
@@ -463,7 +463,7 @@ export const PreviewBlock = ({
463
463
< Button size = "md" variant = "primary" >
464
464
Submit
465
465
</ Button >
466
- < Button size = "md" variant = "secondary " >
466
+ < Button size = "md" variant = "tertiary " >
467
467
Cancel
468
468
</ Button >
469
469
</ Modal . Footer >
Original file line number Diff line number Diff line change 37
37
var (--sds-overlay-01 );
38
38
border-radius : pxToRem (8px );
39
39
z-index : calc (var (--sds-z-index-modal ) + 1 );
40
- padding : pxToRem (24 px );
40
+ padding : pxToRem (16 px );
41
41
margin-top : var (--Modal-offset-top );
42
42
top : 35% ;
43
43
left : 50% ;
55
55
56
56
.ModalHeading {
57
57
color : var (--sds-clr-gray-12 );
58
- font-size : pxToRem (18 px );
59
- line-height : pxToRem (26 px );
58
+ font-size : pxToRem (16 px );
59
+ line-height : pxToRem (24 px );
60
60
font-weight : var (--sds-fw-medium );
61
61
margin : 0 ;
62
- margin-bottom : pxToRem (12 px );
62
+ margin-bottom : pxToRem (8 px );
63
63
width : calc (100% - 2rem );
64
64
}
65
65
89
89
.ModalFooter {
90
90
display : flex ;
91
91
width : 100% ;
92
- margin-top : pxToRem (24 px );
92
+ margin-top : pxToRem (16 px );
93
93
gap : pxToRem (8px );
94
94
95
95
& --right {
126
126
127
127
& __close {
128
128
position : absolute ;
129
- top : pxToRem (18 px );
130
- right : pxToRem (16 px );
129
+ top : pxToRem (12 px );
130
+ right : pxToRem (8 px );
131
131
cursor : pointer ;
132
132
133
133
.NavButton {
You can’t perform that action at this time.
0 commit comments