From 6b6476126b7555e28f1a110da65851b9aed228f1 Mon Sep 17 00:00:00 2001 From: qkiroc <30946345+qkiroc@users.noreply.github.com> Date: Fri, 7 Jul 2023 15:47:22 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20amis-ui=E7=BB=84=E4=BB=B6=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E5=8F=98=E9=87=8F=E5=A2=9E=E5=8A=A0=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E7=A9=BA=E9=97=B4=20(#7405)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com> --- packages/amis-ui/scss/_components.scss | 3 ++- packages/amis-ui/scss/_properties.scss | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/amis-ui/scss/_components.scss b/packages/amis-ui/scss/_components.scss index f1e0360d0..ef7cab427 100644 --- a/packages/amis-ui/scss/_components.scss +++ b/packages/amis-ui/scss/_components.scss @@ -1,4 +1,5 @@ -:root { +:root, +.AMISCSSWrapper { --button-default-default-top-border-color: var(--colors-neutral-line-8); --button-default-default-top-border-style: var(--borders-style-2); --button-default-default-top-border-width: var(--borders-width-2); diff --git a/packages/amis-ui/scss/_properties.scss b/packages/amis-ui/scss/_properties.scss index 4b0131af6..06cd1c470 100644 --- a/packages/amis-ui/scss/_properties.scss +++ b/packages/amis-ui/scss/_properties.scss @@ -5,7 +5,8 @@ $remFactor: 16px; /* 此处放置需要override的变量,因为部分变量已经在variables.scss中定义 */ $Table-strip-bg: transparent; -:root { +:root, +.AMISCSSWrapper { --white: var(--colors-neutral-text-11); --primary: var(--colors-brand-5); --primary-onHover: var(--colors-brand-6);