feat: amis-ui组件样式变量增加命名空间 (#7405)

Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
This commit is contained in:
qkiroc 2023-07-07 15:47:22 +08:00 committed by GitHub
parent 71b3eebabf
commit 6b6476126b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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);