Commit dd86ec7 1 parent d2c09bf commit dd86ec7 Copy full SHA for dd86ec7
File tree 3 files changed +1296
-1185
lines changed
packages/components/pie-modal
3 files changed +1296
-1185
lines changed Original file line number Diff line number Diff line change 36
36
"license" : " Apache-2.0" ,
37
37
"devDependencies" : {
38
38
"@custom-elements-manifest/analyzer" : " 0.9.0" ,
39
- "@justeat/pie-design-tokens" : " 6.5.0" ,
40
39
"@justeattakeaway/pie-components-config" : " 0.18.0" ,
41
40
"@justeattakeaway/pie-css" : " 0.12.1" ,
42
41
"@justeattakeaway/pie-wrapper-react" : " 0.14.1" ,
Original file line number Diff line number Diff line change 1
- @use ' @justeattakeaway/pie-css/scss' as p ;
2
1
@use ' @justeattakeaway/pie-css/scss/settings' as * ;
3
- @use ' @justeat/pie-design-tokens/dist/jet.scss' as dt ;
4
2
@use ' dialog-polyfill/dist/dialog-polyfill.css' ;
5
3
6
4
.c-modal {
22
20
23
21
// We need to override the icon sizes at different screen sizes regardless of size prop passed in
24
22
pie-icon-button {
25
-
26
23
@include media (' <md' ) {
27
24
--btn-dimension : 40px ;
28
25
}
117
114
}
118
115
}
119
116
120
- // We need to pull in the token directly here because the
121
- // pseudo element `::backdrop` doesn't seem to pick up custom css properties.
122
117
& ::backdrop {
123
- background : #{ dt . $ color-overlay} ;
118
+ background : var ( --dt- color-overlay) ;
124
119
}
125
120
126
121
& .c-modal-footer {
You can’t perform that action at this time.
0 commit comments