Commit e7fdd3dc authored by hetech's avatar hetech Committed by GitHub

Dialog: background-color can be configured (#14939)

parent 0cbb2267
...@@ -601,7 +601,7 @@ $--switch-button-size: 16px !default; ...@@ -601,7 +601,7 @@ $--switch-button-size: 16px !default;
/* Dialog /* Dialog
-------------------------- */ -------------------------- */
$--dialog-background-color: $--color-primary-light-4 !default; $--dialog-background-color: $--color-white !default;
$--dialog-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !default; $--dialog-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !default;
$--dialog-close-hover-color: $--color-primary !default; $--dialog-close-hover-color: $--color-primary !default;
$--dialog-title-font-size: $--font-size-large !default; $--dialog-title-font-size: $--font-size-large !default;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
@include b(dialog) { @include b(dialog) {
position: relative; position: relative;
margin: 0 auto 50px; margin: 0 auto 50px;
background: $--color-white; background: $--dialog-background-color;
border-radius: $--border-radius-small; border-radius: $--border-radius-small;
box-shadow: $--dialog-box-shadow; box-shadow: $--dialog-box-shadow;
box-sizing: border-box; box-sizing: border-box;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment