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;