Skip to content

Commit 5b9d61a

Browse files
authored
feat: Module variable rectification (opentiny#1065)
1 parent 477c96a commit 5b9d61a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+204
-347
lines changed

packages/common/component/BlockHistoryTemplate.vue

Lines changed: 0 additions & 79 deletions
This file was deleted.

packages/common/component/CloseIcon.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export default {
2929
.icon-wrap {
3030
width: 24px;
3131
height: 24px;
32-
color: var(--ti-lowcode-component-svg-button-color);
32+
color: var(--te-common-icon-primary);
3333
font-size: 16px;
3434
border-radius: 4px;
3535
cursor: pointer;
@@ -39,12 +39,12 @@ export default {
3939
transition: 0.3s;
4040
4141
&:hover {
42-
color: var(--ti-lowcode-component-svg-button-hover-color);
43-
background-color: var(--ti-lowcode-component-svg-button-hover-bg-color);
42+
color: var(--te-common-icon-primary);
43+
background-color: var(--te-common-bg-prompt);
4444
}
4545
&.active {
46-
color: var(--ti-lowcode-component-svg-button-active-color);
47-
background-color: var(--ti-lowcode-component-svg-button-active-bg-color);
46+
color: var(--te-common-icon-primary);
47+
background-color: var(--te-common-bg-prompt);
4848
}
4949
}
5050
</style>

packages/common/component/ConfigItem.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -551,6 +551,7 @@ export default {
551551
.binding-state {
552552
color: var(--ti-lowcode-meta-config-item-bind-color);
553553
background: var(--ti-lowcode-meta-config-item-bind-bg);
554+
border: 1px solid var(--ti-lowcode-meta-config-item-bind-border);
554555
padding: 4px 12px;
555556
overflow: hidden;
556557
text-overflow: ellipsis;

packages/common/component/PluginBlockList.vue

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -486,14 +486,6 @@ export default {
486486
position: static;
487487
margin-left: 4px;
488488
z-index: 9;
489-
.block-detail-icon {
490-
color: var(--ti-lowcode-component-block-list-setting-btn-color);
491-
display: block;
492-
&:hover {
493-
cursor: pointer;
494-
color: var(--ti-lowcode-component-block-list-setting-btn-hover-color);
495-
}
496-
}
497489
}
498490
&:hover {
499491
background-color: var(--te-common-bg-container);
@@ -599,14 +591,6 @@ export default {
599591
&.is-current-visible-icon {
600592
visibility: visible;
601593
}
602-
603-
.block-detail-icon {
604-
color: var(--te-common-icon-secondary);
605-
&:hover {
606-
cursor: pointer;
607-
color: var(--ti-lowcode-component-block-list-setting-btn-hover-color);
608-
}
609-
}
610594
}
611595
.block-setting {
612596
right: 0px;

packages/common/component/PluginPanel.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default {
7373
.plugin-panel {
7474
width: 100%;
7575
height: 100%;
76-
background: var(--ti-lowcode-plugin-panel-bg, --ti-lowcode-toolbar-bg);
76+
background: var(--te-common-bg-default);
7777
display: flex;
7878
flex-direction: column;
7979
position: relative;

packages/common/component/PluginSetting.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export default {
129129
width: var(--base-collection-panel-width);
130130
height: 100%;
131131
border-right: 1px solid var(--te-common-border-default);
132-
background: var(--ti-lowcode-plugin-setting-panel-bg, --ti-lowcode-toolbar-bg);
132+
background: var(--te-common-bg-default);
133133
overflow: hidden;
134134
border-left: 1px solid var(--ti-lowcode-plugin-panel-header-border-bottom-color);
135135
&:not(.second-panel) {

packages/common/component/SvgButton.vue

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ export default {
6060
color: var(--te-common-icon-hover);
6161
}
6262
&.active {
63-
color: var(--ti-lowcode-component-svg-button-active-color);
64-
background-color: var(--ti-lowcode-component-svg-button-active-bg-color);
63+
color: var(--te-common-icon-hover);
6564
}
6665
6766
.svg-icon {
@@ -74,5 +73,9 @@ export default {
7473
color: var(--te-common-icon-primary);
7574
background-color: var(--te-common-bg-prompt);
7675
}
76+
&.active {
77+
color: var(--te-common-icon-primary);
78+
background-color: var(--te-common-bg-prompt);
79+
}
7780
}
7881
</style>

packages/common/component/index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export { default as MetaCodeEditor } from './MetaCodeEditor.vue'
3030
export { default as VideoGuide } from './VideoGuide.vue'
3131
export { default as MonacoEditor } from './MonacoEditor.vue'
3232
export { default as BlockHistoryList } from './BlockHistoryList.vue'
33-
export { default as BlockHistoryTemplate } from './BlockHistoryTemplate.vue'
3433
export { default as BlockLinkField } from './BlockLinkField.vue'
3534
export { default as BlockLinkEvent } from './BlockLinkEvent.vue'
3635
export { default as BlockDescription } from './BlockDescription.vue'

packages/common/component/toolbar-built-in/ToolbarBaseButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default {
3333
</script>
3434
<style lang="less" scoped>
3535
.toolbar-button {
36-
background-color: var(--ti-lowcode-toolbar-button-bg) !important;
36+
background-color: var(--te-common-bg-prompt) !important;
3737
border: none !important;
3838
min-width: 70px;
3939
height: 26px;

packages/layout/src/DesignSettings.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export default {
7777
flex-direction: column;
7878
.tiny-tabs__header .tiny-tabs__nav {
7979
width: 60%;
80+
background-color: var(--te-common-bg-default);
8081
}
8182
.tiny-tabs__nav-scroll {
8283
margin-left: 12px;
@@ -105,6 +106,7 @@ export default {
105106
}
106107
&.is-active {
107108
color: var(--ti-lowcode-setting-panel-tabs-item-title-active-color);
109+
border: none;
108110
}
109111
110112
.tiny-tabs__item__title {

0 commit comments

Comments
 (0)