File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -15,11 +15,21 @@ export class UUIModalDialogElement extends UUIModalElement {
15
15
static styles = [
16
16
...UUIModalElement . styles ,
17
17
css `
18
+ : host {
19
+ - - uui- modal- dialog- background: var(- - uui- color - surface);
20
+ }
18
21
dialog {
19
22
margin: auto ;
20
23
max- width: 100%;
21
24
max- height: 100%;
22
- bor der- radius: 12px;
25
+ bor der- radius: var(
26
+ - - uui- modal- dialog- bor der- radius,
27
+ calc(var(- - uui- bor der- radius) * 4)
28
+ );
29
+ background: var(
30
+ - - uui- modal- dialog- background,
31
+ var (- - uui- color - surface)
32
+ );
23
33
}
24
34
: host ([index = '0' ]) dialog {
25
35
box-shadow : var (--uui-shadow-depth-5 );
Original file line number Diff line number Diff line change @@ -68,6 +68,7 @@ export class UUIModalSidebarElement extends UUIModalElement {
68
68
css `
69
69
: host {
70
70
- - uui- modal- sidebar- left- gap: 24px;
71
+ - - uui- modal- sidebar- background: var(- - uui- color - surface);
71
72
}
72
73
@media (min-width : 600px ) {
73
74
: host {
@@ -82,6 +83,10 @@ export class UUIModalSidebarElement extends UUIModalElement {
82
83
margin- left: auto ;
83
84
right: var(- - uui- modal- offset);
84
85
transition: right var(- - uui- modal- transition- duration, 250ms);
86
+ background: var(
87
+ - - uui- modal- sidebar- background,
88
+ var(- - uui- color - surface)
89
+ );
85
90
}
86
91
: host ([index = '0' ]) dialog {
87
92
box-shadow : var (--uui-shadow-depth-5 );
You can’t perform that action at this time.
0 commit comments