-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/theme #482
base: develop
Are you sure you want to change the base?
Feat/theme #482
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
:root { | ||
:root[data-theme='dark'] { | ||
// 灰阶 | ||
--ti-lowcode-base-gray-0: #fff; | ||
--ti-lowcode-base-gray-10: #e6e6e6; | ||
|
Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
@@ -1,11 +1,13 @@ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
.plugin-panel { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
// 资源管理 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-bridge-list-color: #adb0b8; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-bridge-list-bg: #3c3c3c; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-birdge-editor-border-color: #262626; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-birdge-input-label-color: #adb0b8; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
:root[data-theme='dark'] { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
.plugin-panel { | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
// 资源管理 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-bridge-list-color: #adb0b8; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-bridge-list-bg: #3c3c3c; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-birdge-editor-border-color: #262626; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-birdge-input-label-color: #adb0b8; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
// npm工具类中代码预览的主题 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-birdge-code-preview-color: var(--ti-lowcode-base-gray-20); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-birdge-code-preview-bg-color: #262626; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
// npm工具类中代码预览的主题 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-birdge-code-preview-color: var(--ti-lowcode-base-gray-20); | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
--ti-lowcode-birdge-code-preview-bg-color: #262626; | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Comment on lines
+1
to
+12
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fix typographical errors in variable names. - --ti-lowcode-birdge-editor-border-color: #262626;
- --ti-lowcode-birdge-input-label-color: #adb0b8;
- --ti-lowcode-birdge-code-preview-color: var(--ti-lowcode-base-gray-20);
- --ti-lowcode-birdge-code-preview-bg-color: #262626;
+ --ti-lowcode-bridge-editor-border-color: #262626;
+ --ti-lowcode-bridge-input-label-color: #adb0b8;
+ --ti-lowcode-bridge-code-preview-color: var(--ti-lowcode-base-gray-20);
+ --ti-lowcode-bridge-code-preview-bg-color: #262626; Committable suggestion
Suggested change
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,36 @@ | ||
button { | ||
--ti-lowcode-button-primary-color: #fff; | ||
--ti-lowcode-button-primary-border-color: var(--ti-lowcode-common-primary-color); | ||
--ti-lowcode-button-primary-bg-color: var(--ti-lowcode-common-primary-color); | ||
:root[data-theme='dark'] { | ||
button { | ||
--ti-lowcode-button-primary-color: #fff; | ||
--ti-lowcode-button-primary-border-color: var(--ti-lowcode-common-primary-color); | ||
--ti-lowcode-button-primary-bg-color: var(--ti-lowcode-common-primary-color); | ||
|
||
--ti-lowcode-button-primary-hover-color: #fff; | ||
--ti-lowcode-button-primary-hover-border-color: var(--ti-lowcode-common-primary-hover-color); | ||
--ti-lowcode-button-primary-hover-bg-color: var(--ti-lowcode-common-primary-hover-color); | ||
--ti-lowcode-button-primary-hover-color: #fff; | ||
--ti-lowcode-button-primary-hover-border-color: var(--ti-lowcode-common-primary-hover-color); | ||
--ti-lowcode-button-primary-hover-bg-color: var(--ti-lowcode-common-primary-hover-color); | ||
|
||
// button info 字体颜色 | ||
--ti-lowcode-button-info-color: #fff; | ||
--ti-lowcode-button-info-border-color: var(--ti-lowcode-common-primary-color); | ||
--ti-lowcode-button-info-bg-color: var(--ti-lowcode-common-primary-color); | ||
// button info 字体颜色 | ||
--ti-lowcode-button-info-color: #fff; | ||
--ti-lowcode-button-info-border-color: var(--ti-lowcode-common-primary-color); | ||
--ti-lowcode-button-info-bg-color: var(--ti-lowcode-common-primary-color); | ||
|
||
// info 保存按钮 hover 背景色 | ||
--ti-lowcode-button-info-hover-color: var(--ti-lowcode-base-gray-0); | ||
--ti-lowcode-button-info-hover-border-color: var(--ti-lowcode-common-primary-hover-color); | ||
--ti-lowcode-button-info-hover-bg-color: var(--ti-lowcode-common-primary-hover-color); | ||
// info 保存按钮 hover 背景色 | ||
--ti-lowcode-button-info-hover-color: var(--ti-lowcode-base-gray-0); | ||
--ti-lowcode-button-info-hover-border-color: var(--ti-lowcode-common-primary-hover-color); | ||
--ti-lowcode-button-info-hover-bg-color: var(--ti-lowcode-common-primary-hover-color); | ||
|
||
// 默认按钮颜色 | ||
--ti-lowcode-button-default-color: var(--ti-lowcode-toolbar-breadcrumb-color); | ||
--ti-lowcode-button-default-border-color: var(--ti-lowcode-common-secondary-text-color); | ||
--ti-lowcode-button-default-bg: transparent; | ||
// 默认按钮颜色 | ||
--ti-lowcode-button-default-color: var(--ti-lowcode-toolbar-breadcrumb-color); | ||
--ti-lowcode-button-default-border-color: var(--ti-lowcode-common-secondary-text-color); | ||
--ti-lowcode-button-default-bg: transparent; | ||
|
||
// 默认按钮 hover 颜色 | ||
--ti-lowcode-button-default-hover-color: #fff; | ||
--ti-lowcode-button-default-hover-border-color: #6b6b6b; | ||
--ti-lowcode-button-default-hover-bg: #6b6b6b; | ||
// 默认按钮 hover 颜色 | ||
--ti-lowcode-button-default-hover-color: #fff; | ||
--ti-lowcode-button-default-hover-border-color: #6b6b6b; | ||
--ti-lowcode-button-default-hover-bg: #6b6b6b; | ||
|
||
// 默认按钮禁用颜色 | ||
--ti-lowcode-button-default-disabled-color: #4a4b4e; | ||
--ti-lowcode-button-default-disabled-border-color: transparent; | ||
--ti-lowcode-button-default-disabled-bg: var(--ti-lowcode-base-bg-1); | ||
// 默认按钮禁用颜色 | ||
--ti-lowcode-button-default-disabled-color: #4a4b4e; | ||
--ti-lowcode-button-default-disabled-border-color: transparent; | ||
--ti-lowcode-button-default-disabled-bg: var(--ti-lowcode-base-bg-1); | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
#canvas-wrap { | ||
--ti-lowcode-canvas-rect-border-color: var(--ti-lowcode-base-primary-color-2); | ||
--ti-lowcode-canvas-hover-line-in-bg-color: rgba(0, 255, 0, 0.1); | ||
--ti-lowcode-canvas-hover-line-forbid-bg-color: var(--ti-lowcode-base-error-color); | ||
--ti-lowcode-canvas-hover-line-in-forbid-bg-color: rgba(242, 48, 48, 0.3); | ||
--ti-lowcode-canvas-choose-slot-border-color: var(--ti-lowcode-base-text-color-2); | ||
--ti-lowcode-canvas-choose-slot-color: var(--ti-lowcode-base-text-color-2); | ||
--ti-lowcode-canvas-corner-mark-left-color: var(--ti-lowcode-base-text-color-2); | ||
--ti-lowcode-canvas-corner-mark-bottom-right-color: var(--ti-lowcode-base-text-color-3); | ||
--ti-lowcode-canvas-corner-mark-bottom-right-border-color: #c2c2c2; | ||
--ti-lowcode-canvas-corner-mark-bottom-right-bg-color: #f5f5f5; | ||
--ti-lowcode-canvas-corner-mark-right-color: var(--ti-lowcode-base-gray-0); | ||
--ti-lowcode-canvas-corner-mark-right-bg-color: var(--ti-lowcode-base-primary-color-2); | ||
--ti-lowcode-canvas-select-corner-mark-left-color: var(--ti-lowcode-base-gray-0); | ||
--ti-lowcode-canvas-select-corner-mark-left-bg-color: var(--ti-lowcode-base-primary-color-2); | ||
:root[data-theme='dark'] { | ||
#canvas-wrap { | ||
--ti-lowcode-canvas-rect-border-color: var(--ti-lowcode-base-primary-color-2); | ||
--ti-lowcode-canvas-hover-line-in-bg-color: rgba(0, 255, 0, 0.1); | ||
--ti-lowcode-canvas-hover-line-forbid-bg-color: var(--ti-lowcode-base-error-color); | ||
--ti-lowcode-canvas-hover-line-in-forbid-bg-color: rgba(242, 48, 48, 0.3); | ||
--ti-lowcode-canvas-choose-slot-border-color: var(--ti-lowcode-base-text-color-2); | ||
--ti-lowcode-canvas-choose-slot-color: var(--ti-lowcode-base-text-color-2); | ||
--ti-lowcode-canvas-corner-mark-left-color: var(--ti-lowcode-base-text-color-2); | ||
--ti-lowcode-canvas-corner-mark-bottom-right-color: var(--ti-lowcode-base-text-color-3); | ||
--ti-lowcode-canvas-corner-mark-bottom-right-border-color: #c2c2c2; | ||
--ti-lowcode-canvas-corner-mark-bottom-right-bg-color: #f5f5f5; | ||
--ti-lowcode-canvas-corner-mark-right-color: var(--ti-lowcode-base-gray-0); | ||
--ti-lowcode-canvas-corner-mark-right-bg-color: var(--ti-lowcode-base-primary-color-2); | ||
--ti-lowcode-canvas-select-corner-mark-left-color: var(--ti-lowcode-base-gray-0); | ||
--ti-lowcode-canvas-select-corner-mark-left-bg-color: var(--ti-lowcode-base-primary-color-2); | ||
|
||
--ti-lowcode-canvas-footer-border-top-color: transparent; // canvas 底部面包屑 边框色 | ||
--ti-lowcode-canvas-tab-handle-bg: var(--ti-lowcode-common-component-bg); // canvas 宽度拖动手柄 背景色 | ||
--ti-lowcode-canvas-tab-handle-hover-bg: var(--ti-lowcode-common-primary-color); // canvas 宽度拖动手柄 hover 背景色 | ||
--ti-lowcode-canvas-tab-handle-color: var( | ||
--ti-lowcode-common-secondary-text-color | ||
); // canvas 宽度拖动手柄 两条竖线颜色 | ||
--ti-lowcode-canvas-menu-bg: var(--ti-lowcode-common-component-hover-bg); // canvas 右键菜单背景 | ||
--ti-lowcode-canvas-menu-item-color: #adb0b8; // 右键菜单文字颜色 | ||
--ti-lowcode-canvas-menu-item-hover-bg-color: #5e5e5e; | ||
--ti-lowcode-canvas-menu-border-color: var(--ti-lowcode-common-border-color-2); | ||
--ti-lowcode-canvas-menu-item-disabled-color: var(--ti-lowcode-base-text-color-3); | ||
--ti-lowcode-canvas-footer-border-top-color: transparent; // canvas 底部面包屑 边框色 | ||
--ti-lowcode-canvas-tab-handle-bg: var(--ti-lowcode-common-component-bg); // canvas 宽度拖动手柄 背景色 | ||
--ti-lowcode-canvas-tab-handle-hover-bg: var(--ti-lowcode-common-primary-color); // canvas 宽度拖动手柄 hover 背景色 | ||
--ti-lowcode-canvas-tab-handle-color: var( | ||
--ti-lowcode-common-secondary-text-color | ||
); // canvas 宽度拖动手柄 两条竖线颜色 | ||
--ti-lowcode-canvas-menu-bg: var(--ti-lowcode-common-component-hover-bg); // canvas 右键菜单背景 | ||
--ti-lowcode-canvas-menu-item-color: #adb0b8; // 右键菜单文字颜色 | ||
--ti-lowcode-canvas-menu-item-hover-bg-color: #5e5e5e; | ||
--ti-lowcode-canvas-menu-border-color: var(--ti-lowcode-common-border-color-2); | ||
--ti-lowcode-canvas-menu-item-disabled-color: var(--ti-lowcode-base-text-color-3); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ensure the key exists before updating the global configuration.
Committable suggestion