diff --git a/src/App.vue b/src/App.vue index db2bc82..9bc36ca 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,7 +1,7 @@ @@ -42,7 +42,7 @@ function handleChange(e: ChangeEvent) { :disabled="disabled" :checked-children="t('layout.setting.on')" :un-checked-children="t('layout.setting.off')" - @change="handleChange as any" + @change="handleChange" /> diff --git a/src/layouts/default/sider/LayoutSider.vue b/src/layouts/default/sider/LayoutSider.vue index 2fd2894..0805a24 100644 --- a/src/layouts/default/sider/LayoutSider.vue +++ b/src/layouts/default/sider/LayoutSider.vue @@ -132,7 +132,6 @@ const getTrigger = h(LayoutTrigger) // box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05); .ant-layout-sider-trigger { - color: @text-color; border-top: 1px solid var(--border-color); } } diff --git a/src/layouts/default/tabs/index.less b/src/layouts/default/tabs/index.less index 62ea80c..d520ad2 100644 --- a/src/layouts/default/tabs/index.less +++ b/src/layouts/default/tabs/index.less @@ -31,18 +31,12 @@ padding: 0 6px; margin: 0 -14px 0 0 !important; line-height: @multiple-height; - color: var(--text-color); - background-color: var(--component-background); border-radius: 8px 8px 0 0; /* stylelint-disable-next-line function-url-quotes */ mask: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANoAAAAkBAMAAAAdqzmBAAAAMFBMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlTPQ5AAAAD3RSTlMAr3DvEM8wgCBA379gj5//tJBPAAAAnUlEQVRIx2NgAAM27fj/tAO/xBsYkIHyf9qCT8iWMf6nNQhAsk2f5rYheY7Dnua2/U+A28ZEe8v+F9Ax2v7/F4DbxkUH2wzgtvHTwbYPo7aN2jZq26hto7aN2jZq25Cy7Qvctnw62PYNbls9HWz7S8/G6//PsI6H4396gAUQy1je08W2jxDbpv6nD4gB2uWp+J9eYPsEhv/0BPS1DQBvoBLVZ3BppgAAAABJRU5ErkJggg==); transition: padding 0.3s; mask-size: 100% 100%; - .ant-tabs-tab-btn { - color: var(--text-color); - } - &:hover { z-index: 2; padding: 0 12px; diff --git a/src/views/base/login/sso.vue b/src/views/base/login/sso.vue index 89f7eb9..77b29ce 100644 --- a/src/views/base/login/sso.vue +++ b/src/views/base/login/sso.vue @@ -195,7 +195,6 @@ html[data-theme='dark'] { .ant-divider-inner-text { font-size: 12px; - color: var(--text-color-secondary); } } diff --git a/src/views/infra/codegen/components/BasicInfoForm.vue b/src/views/infra/codegen/components/BasicInfoForm.vue index 4442ec8..d6a3863 100644 --- a/src/views/infra/codegen/components/BasicInfoForm.vue +++ b/src/views/infra/codegen/components/BasicInfoForm.vue @@ -76,19 +76,14 @@ watch( margin: 0 0 12px; font-size: 16px; line-height: 32px; - color: @text-color; } h4 { margin: 0 0 4px; font-size: 14px; line-height: 22px; - color: @text-color; } - p { - color: @text-color; - } } .pay-select { diff --git a/src/views/infra/codegen/components/CloumInfoForm.vue b/src/views/infra/codegen/components/CloumInfoForm.vue index dcab349..59c11ab 100644 --- a/src/views/infra/codegen/components/CloumInfoForm.vue +++ b/src/views/infra/codegen/components/CloumInfoForm.vue @@ -73,18 +73,13 @@ function handleEdit(record: EditRecordRow) { margin: 0 0 12px; font-size: 16px; line-height: 32px; - color: @text-color; } h4 { margin: 0 0 4px; font-size: 14px; line-height: 22px; - color: @text-color; } - p { - color: @text-color; - } }