diff --git a/packages/theme-chalk/src/common/var.scss b/packages/theme-chalk/src/common/var.scss index ba48ea6ce..7bf6a81d4 100644 --- a/packages/theme-chalk/src/common/var.scss +++ b/packages/theme-chalk/src/common/var.scss @@ -601,7 +601,7 @@ $--switch-button-size: 16px !default; /* 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-close-hover-color: $--color-primary !default; $--dialog-title-font-size: $--font-size-large !default; diff --git a/packages/theme-chalk/src/dialog.scss b/packages/theme-chalk/src/dialog.scss index cce64ee35..c81842714 100644 --- a/packages/theme-chalk/src/dialog.scss +++ b/packages/theme-chalk/src/dialog.scss @@ -6,7 +6,7 @@ @include b(dialog) { position: relative; margin: 0 auto 50px; - background: $--color-white; + background: $--dialog-background-color; border-radius: $--border-radius-small; box-shadow: $--dialog-box-shadow; box-sizing: border-box;