From 493da5ae569ba99e986388ed0d808d98f97cdffb Mon Sep 17 00:00:00 2001 From: yxh01132861 Date: Wed, 17 Jan 2024 17:10:13 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=88=A0=E9=99=A4=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/li-editor/src/theme/dark.less | 13 ------------ packages/li-editor/src/theme/default.less | 13 ------------ packages/li-editor/src/theme/index.less | 22 --------------------- packages/li-editor/src/theme/variables.less | 11 ----------- 4 files changed, 59 deletions(-) delete mode 100644 packages/li-editor/src/theme/dark.less delete mode 100644 packages/li-editor/src/theme/default.less delete mode 100644 packages/li-editor/src/theme/index.less delete mode 100644 packages/li-editor/src/theme/variables.less diff --git a/packages/li-editor/src/theme/dark.less b/packages/li-editor/src/theme/dark.less deleted file mode 100644 index 8a155c2e..00000000 --- a/packages/li-editor/src/theme/dark.less +++ /dev/null @@ -1,13 +0,0 @@ -@import './variables.less'; - -// 边框色 -@border-primary-color: #434343; -@border-secondary-color: #303030; - -// 文本色 -@text-primary-color: fade(#fff, 85%); -@text-secondary-color: fade(#fff, 45%); - -// 高亮组件背景色 -@bg-color-primary: #2d3849; -@bg-color-secondary: #1f2d3a; diff --git a/packages/li-editor/src/theme/default.less b/packages/li-editor/src/theme/default.less deleted file mode 100644 index fe412f05..00000000 --- a/packages/li-editor/src/theme/default.less +++ /dev/null @@ -1,13 +0,0 @@ -@import './variables.less'; - -// 边框色 -@border-primary-color: hsv(0, 0, 85%); -@border-secondary-color: hsv(0, 0, 94%); - -// 文本色 -@text-primary-color: fade(#000, 85%); -@text-secondary-color: fade(#000, 45%); - -// 高亮组件背景色 -@bg-color-primary: #fff; -@bg-color-secondary: #fff; diff --git a/packages/li-editor/src/theme/index.less b/packages/li-editor/src/theme/index.less deleted file mode 100644 index ffaf51cc..00000000 --- a/packages/li-editor/src/theme/index.less +++ /dev/null @@ -1,22 +0,0 @@ -@editor-theme: 'default'; - -// @import './default.less'; -// @import './dark.less'; -@import './@{editor-theme}.less'; - -:root { - // 主题色 - --@{prefix}-primary-color: @primary-color-1; - - // 边框色 - --@{prefix}-border-primary-color: @border-primary-color; - // 文本色 - --@{prefix}-text-primary-color: @text-primary-color; - --@{prefix}-text-secondary-color: @text-secondary-color; - // 高亮组件背景色 - --@{prefix}-bg-color-primary: @bg-color-primary; - --@{prefix}-bg-color-secondary: @bg-color-secondary; - - // 组件圆角 - --@{prefix}-border-radius: @border-radius; -} diff --git a/packages/li-editor/src/theme/variables.less b/packages/li-editor/src/theme/variables.less deleted file mode 100644 index 0bb2992f..00000000 --- a/packages/li-editor/src/theme/variables.less +++ /dev/null @@ -1,11 +0,0 @@ -/* 类名前缀 */ -@prefix: li; - -/* 颜色表 */ -// 主题色 -@primary-color-1: #39f; -// @primary-color-2: ; - -/* 尺寸表 */ -// 组件圆角 -@border-radius: 4px;