DRY: light theme sass mixin (#4606)

Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
Roman authored and GitHub committed 2021-12-27 13:21:14 +02:00
1 parent 7e498d52d0
commit b127af7bb6
10 files changed
+41 -26

No files matched your search

@@ -1,11 +1,13 @@
@include theme-light {
.NamespaceSelectFilter {
--gradientColor: white;
}
}
.NamespaceSelectFilter {
--gradientColor: var(--select-menu-bgc);
.Select {
&.theme-light {
--gradientColor: white;
}
&__placeholder {
width: 100%;
white-space: nowrap;
@@ -34,12 +36,12 @@
}
&::before {
left: 0px;
left: 0;
background: linear-gradient(to right, var(--gradientColor) 0px, transparent);
}
&::after {
right: 0px;
right: 0;
background: linear-gradient(to left, var(--gradientColor) 0px, transparent);
}
}