From e7fdd3dc500f2473e7c73fee9e44b7a3b949e65c Mon Sep 17 00:00:00 2001 From: hetech Date: Wed, 3 Apr 2019 10:38:17 +0800 Subject: [PATCH] Dialog: background-color can be configured (#14939) --- packages/theme-chalk/src/common/var.scss | 2 +- packages/theme-chalk/src/dialog.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;