|
@@ -1,4 +1,9 @@
|
|
|
+@import './themify/dark.less';
|
|
|
+@import './themify/light.less';
|
|
|
+@import './themify/vent1.less';
|
|
|
+
|
|
|
@ventSpace: zxm;
|
|
|
+
|
|
|
.bg-white {
|
|
|
background-color: @component-background !important;
|
|
|
}
|
|
@@ -7,22 +12,27 @@ html[data-theme='light'] {
|
|
|
.text-secondary {
|
|
|
color: rgba(0, 0, 0, 0.45);
|
|
|
}
|
|
|
+
|
|
|
/*【美化】自定义table字体颜色*/
|
|
|
.@{ventSpace}-table {
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
}
|
|
|
+
|
|
|
/*【美化】自定义table字体颜色*/
|
|
|
/*【美化】自定义form字体颜色*/
|
|
|
.@{ventSpace}-select-multiple .@{ventSpace}-select-selection-item-content {
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
}
|
|
|
- .@{ventSpace}-input-affix-wrapper > input.@{ventSpace}-input {
|
|
|
+
|
|
|
+ .@{ventSpace}-input-affix-wrapper>input.@{ventSpace}-input {
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
}
|
|
|
+
|
|
|
.@{ventSpace}-select-single.@{ventSpace}-select-show-arrow .@{ventSpace}-select-selection-item,
|
|
|
.@{ventSpace}-select-single.@{ventSpace}-select-show-arrow .@{ventSpace}-select-selection-placeholder {
|
|
|
color: rgba(0, 0, 0, 0.65);
|
|
|
}
|
|
|
+
|
|
|
/*【美化】自定义form字体颜色*/
|
|
|
|
|
|
.@{ventSpace}-alert-success {
|
|
@@ -39,6 +49,7 @@ html[data-theme='light'] {
|
|
|
background-color: #fffbe6;
|
|
|
border: 1px solid #ffe58f;
|
|
|
}
|
|
|
+
|
|
|
:not(:root):fullscreen::backdrop {
|
|
|
background-color: @layout-body-background !important;
|
|
|
}
|
|
@@ -65,3 +76,11 @@ html[data-theme='light'] {
|
|
|
color: rgba(0, 0, 0, 0.9);
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+// 下面的代码负责将 themify 文件夹下声明的 css 变量赋给 less 变量
|
|
|
+@themify-text-primary: var(--themify-text-primary);
|
|
|
+
|
|
|
+// 下面的代码负责将主题相关的选择器、图片前缀等 less 变量声明
|
|
|
+@theme-dark: ~"html[data-theme='dark2']";
|
|
|
+@theme-light: ~"html[data-theme='light']";
|
|
|
+@theme-vent1: ~"html[data-theme='vent1']";
|