Skip to content

Commit 27922ff

Browse files
committed
feat(System appearance): Adjust global color
1 parent 76e9983 commit 27922ff

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

frontend/src/components/drawer-filter/src/DrawerEnumFilter.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ useEmitt({
9292
9393
.active,
9494
.more:hover {
95-
background: var(--ed-color-primary-1a, #1cba9033);
95+
background: var(--ed-color-primary-1a, #1cba901a);
9696
color: #0b4a3a;
9797
}
9898

frontend/src/components/filter-text/src/FilterText.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ watch(
132132
color: #0c296e;
133133
font-size: 14px;
134134
line-height: 22px;
135-
background: var(--ed-color-primary-1a, rgba(51, 112, 255, 0.1));
135+
background: var(--ed-color-primary-1a, #1cba901a);
136136
border-radius: 2px;
137137
margin: 0;
138138
margin-right: 8px;

frontend/src/style.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ body {
103103
}
104104

105105
&.active {
106-
background: var(--ed-color-primary-1a, rgba(51, 112, 255, 0.1));
106+
background: var(--ed-color-primary-1a, #1cba901a);
107107
color: var(--ed-color-primary);
108108
}
109109
}

frontend/src/views/chat/chat-block/ChartBlock.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -641,24 +641,24 @@ watch(
641641
}
642642
643643
.chart-active {
644-
background: rgba(28, 186, 144, 0.1);
645-
color: rgba(28, 186, 144, 1);
644+
background: var(--ed-color-primary-1a, rgba(28, 186, 144, 0.1));
645+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
646646
border-radius: 6px;
647647
648648
:deep(.ed-select__wrapper) {
649649
background: transparent;
650650
}
651651
652652
:deep(.ed-select__input) {
653-
color: rgba(28, 186, 144, 1);
653+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
654654
}
655655
656656
:deep(.ed-select__placeholder) {
657-
color: rgba(28, 186, 144, 1);
657+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
658658
}
659659
660660
:deep(.ed-select__caret) {
661-
color: rgba(28, 186, 144, 1);
661+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
662662
}
663663
}
664664

frontend/src/views/chat/chat-block/ChartPopover.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,8 @@ const handleDefaultChatChange = (val: any) => {
163163
}
164164
165165
&.active {
166-
background: rgba(28, 186, 144, 0.1);
167-
color: rgba(28, 186, 144, 1);
166+
background: var(--ed-color-primary-1a, rgba(28, 186, 144, 0.1));
167+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
168168
}
169169
}
170170
</style>

frontend/src/views/chat/chat-block/UserChat.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function clickPredict() {
4444
white-space: pre-wrap;
4545
4646
.prefix-title {
47-
color: rgba(28, 186, 144, 1);
47+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
4848
white-space: nowrap;
4949
}
5050
}

frontend/src/views/dashboard/components/sq-view/index.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -253,21 +253,21 @@ defineExpose({
253253
}
254254
255255
.chart-active {
256-
background: rgba(28, 186, 144, 0.1);
257-
color: rgba(28, 186, 144, 1);
256+
background: var(--ed-color-primary-1a, rgba(28, 186, 144, 0.1));
257+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
258258
border-radius: 6px;
259259
260260
:deep(.ed-select__wrapper) {
261261
background: transparent;
262262
}
263263
:deep(.ed-select__input) {
264-
color: rgba(28, 186, 144, 1);
264+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
265265
}
266266
:deep(.ed-select__placeholder) {
267-
color: rgba(28, 186, 144, 1);
267+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
268268
}
269269
:deep(.ed-select__caret) {
270-
color: rgba(28, 186, 144, 1);
270+
color: var(--ed-color-primary, rgba(28, 186, 144, 1));
271271
}
272272
}
273273

frontend/src/views/system/appearance/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ onUnmounted(() => {
750750
border-radius: 6px;
751751
752752
.is-active {
753-
background: var(--ed-color-primary-1a, rgba(51, 112, 255, 0.1));
753+
background: var(--ed-color-primary-1a, #1cba901a);
754754
}
755755
756756
.ed-button:not(.is-active) {

0 commit comments

Comments
 (0)