Skip to content

Commit 91a3c5b

Browse files
committed
feat(theme/datasource&setting): change datasource and setting panel theme variable
1 parent 3421b0f commit 91a3c5b

File tree

53 files changed

+304
-369
lines changed

Some content is hidden

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

53 files changed

+304
-369
lines changed

packages/configurator/src/code-list-configurator/CodeListConfigurator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export default {
220220
justify-content: space-between;
221221
align-items: center;
222222
padding: 10px 0;
223-
color: var(--ti-lowcode-toolbar-breadcrumb-color);
223+
color: var(--te-common-text-secondary);
224224
225225
.header-title {
226226
font-size: 14px;

packages/configurator/src/html-attributes-configurator/HtmlAttributesConfigurator.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@ export default {
195195
width: 24px;
196196
height: 24px;
197197
font-size: 16px;
198-
color: var(--ti-lowcode-toolbar-breadcrumb-color);
199-
background: var(--ti-lowcode-canvas-wrap-bg);
198+
color: var(--te-common-text-secondary);
199+
background: var(--te-common-bg-container);
200200
border: 1px solid var(--ti-lowcode-left-button-border-color);
201201
border-radius: 2px;
202202
display: inline-flex;
@@ -223,7 +223,7 @@ export default {
223223
border: 1px solid var(--ti-lowcode-optionitem-border-color);
224224
background: var(--ti-lowcode-optionitem-background-color);
225225
margin-bottom: -1px;
226-
color: var(--ti-lowcode-toolbar-breadcrumb-color);
226+
color: var(--te-common-text-secondary);
227227
padding: 7px;
228228
display: grid;
229229
grid-template-columns: 3fr auto;

packages/configurator/src/input-configurator/InputConfigurator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export default {
6666
font-size: 16px;
6767
&:hover {
6868
cursor: pointer;
69-
color: var(--ti-lowcode-dialog-font-color);
69+
color: var(--te-common-text-primary);
7070
}
7171
}
7272
</style>

packages/configurator/src/layout-grid-configurator/LayoutGridConfigurator.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export default {
268268
box-sizing: border-box;
269269
width: 48px;
270270
border: 1px solid var(--ti-lowcode-tabs-border-color);
271-
background: var(--ti-lowcode-canvas-wrap-bg);
271+
background: var(--te-common-bg-container);
272272
border-radius: 4px;
273273
padding: 4px;
274274
margin: 0 4px 4px 4px;
@@ -313,13 +313,13 @@ export default {
313313
justify-content: center;
314314
align-items: center;
315315
display: flex;
316-
background: var(--ti-lowcode-canvas-wrap-bg);
317-
color: var(--ti-lowcode-toolbar-breadcrumb-color);
316+
background: var(--te-common-bg-container);
317+
color: var(--te-common-text-secondary);
318318
transition: none;
319319
}
320320
321321
:deep(.splitpanes__splitter) {
322-
background: var(--ti-lowcode-toolbar-view-hover-bg);
322+
background: var(--te-common-bg-container);
323323
border-left: var(--ti-lowcode-tabs-border-color);
324324
}
325325
@@ -328,7 +328,7 @@ export default {
328328
329329
.customize {
330330
margin-bottom: 8px;
331-
color: var(--ti-lowcode-toolbar-breadcrumb-color);
331+
color: var(--te-common-text-secondary);
332332
}
333333
}
334334
}

packages/configurator/src/select-icon-configurator/SelectIconConfigurator.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,15 +107,15 @@ export default {
107107
padding-right: 20px;
108108
width: 136px;
109109
cursor: pointer;
110-
background: var(--ti-lowcode-tabs-bg);
111-
color: var(--ti-lowcode-toolbar-breadcrumb-color);
110+
background: var(--te-common-bg-prompt);
111+
color: var(--te-common-text-secondary);
112112
border: 1px solid var(--ti-lowcode-tabs-active-bg);
113113
border-radius: 3px;
114114
.icon-box {
115115
border-right: 1px solid var(--ti-lowcode-tabs-active-bg);
116116
padding: 4px 8px;
117117
.tiny-svg {
118-
color: var(--ti-lowcode-toolbar-breadcrumb-color);
118+
color: var(--te-common-text-secondary);
119119
font-size: 14px;
120120
}
121121
}

packages/configurator/src/slider-configurator/SliderConfigurator.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,22 +95,22 @@ export default {
9595
height: 3px;
9696
width: 100%;
9797
border-radius: 2px;
98-
background-color: var(--ti-lowcode-canvas-wrap-bg);
98+
background-color: var(--te-common-bg-container);
9999
.tiny-slider__handle {
100100
width: 10px;
101101
height: 10px;
102102
margin: -4px -5px 0 -5px;
103103
border-radius: 50%;
104104
border: none;
105105
cursor: ew-resize;
106-
background-color: var(--ti-lowcode-toolbar-breadcrumb-color);
106+
background-color: var(--te-common-text-secondary);
107107
box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 1px, rgba(0, 0, 0, 0.3) 0px 0px 0px 0.5px;
108108
}
109109
.tiny-slider__range {
110110
height: 3px;
111111
border-radius: 3px;
112112
margin-top: 0;
113-
background: var(--ti-lowcode-canvas-wrap-bg);
113+
background: var(--te-common-bg-container);
114114
}
115115
116116
.tiny-slider__tips {

packages/configurator/src/slot-configurator/SlotConfigurator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ export default {
141141
}
142142
.slot-name {
143143
width: 30%;
144-
color: var(--ti-lowcode-dialog-font-color);
144+
color: var(--te-common-text-primary);
145145
font-size: 12px;
146146
display: flex;
147147
justify-content: space-between;

packages/engine-cli/template/designer/src/configurators/MyInputConfigurator.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export default {
5757
font-size: 16px;
5858
&:hover {
5959
cursor: pointer;
60-
color: var(--ti-lowcode-dialog-font-color);
60+
color: var(--te-common-text-primary);
6161
}
6262
}
6363
</style>

packages/plugins/datasource/src/DataSourceField.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,10 +186,10 @@ export default {
186186
align-items: center;
187187
188188
&.field-row-add {
189-
color: var(--ti-lowcode-datasource-json-border-colorr);
189+
color: var(--ti-lowcode-datasource-json-border-color);
190190
191191
svg {
192-
color: var(--ti-lowcode-datasource-json-border-colorr);
192+
color: var(--ti-lowcode-datasource-json-border-color);
193193
}
194194
}
195195
}

packages/plugins/datasource/src/DataSourceList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ export default {
152152
display: flex;
153153
align-items: center;
154154
justify-content: space-between;
155-
color: var(--ti-lowcode-base-gray-90);
155+
color: var(--te-common-text-primary);
156156
.item-name {
157157
display: flex;
158158
align-items: center;

0 commit comments

Comments
 (0)