Skip to content

Commit 457a0be

Browse files
committed
udpate topic card theme
1 parent 366aa40 commit 457a0be

File tree

2 files changed

+22
-19
lines changed

2 files changed

+22
-19
lines changed

electron/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,4 +111,4 @@
111111
"xlsx": "^0.18.5",
112112
"xml2js": "^0.6.2"
113113
}
114-
}
114+
}

electron/src/styles/chat.css

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -574,9 +574,9 @@
574574
}
575575

576576
.chat-reference-item.is-summary {
577-
border-color: rgba(59, 130, 246, 0.38);
578-
background: rgba(37, 99, 235, 0.08);
579-
box-shadow: none;
577+
border-color: rgba(148, 163, 184, 0.5);
578+
background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.96));
579+
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
580580
}
581581

582582
.chat-reference-item.is-expanded {
@@ -649,12 +649,12 @@
649649
.chat-reference-summary-title {
650650
font-size: 14px;
651651
font-weight: 600;
652-
color: rgba(30, 64, 175, 0.92);
652+
color: rgba(51, 65, 85, 0.95);
653653
}
654654

655655
.chat-reference-summary-meta {
656656
font-size: 11px;
657-
color: rgba(37, 99, 235, 0.85);
657+
color: rgba(100, 116, 139, 0.9);
658658
letter-spacing: 0.02em;
659659
}
660660

@@ -667,30 +667,31 @@
667667

668668
.chat-reference-summary-item {
669669
border-radius: 10px;
670-
border: 1px solid rgba(59, 130, 246, 0.26);
671-
background: rgba(37, 99, 235, 0.08);
670+
border: 1px solid rgba(203, 213, 225, 0.6);
671+
background: rgba(248, 250, 252, 0.98);
672672
padding: 12px 14px;
673673
display: flex;
674674
flex-direction: column;
675675
gap: 6px;
676+
box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
676677
}
677678

678679
.chat-reference-summary-name {
679680
font-size: 13px;
680681
font-weight: 600;
681-
color: var(--text-color);
682+
color: rgba(51, 65, 85, 0.95);
682683
}
683684

684685
.chat-reference-summary-submeta {
685686
font-size: 11px;
686-
color: rgba(59, 130, 246, 0.9);
687+
color: rgba(100, 116, 139, 0.88);
687688
letter-spacing: 0.02em;
688689
}
689690

690691
.chat-reference-summary-text {
691692
font-size: 13px;
692693
line-height: 1.6;
693-
color: rgba(30, 41, 59, 0.88);
694+
color: rgba(51, 65, 85, 0.88);
694695
white-space: pre-wrap;
695696
}
696697

@@ -813,8 +814,9 @@
813814
}
814815

815816
.dark-mode .chat-reference-item.is-summary {
816-
border-color: rgba(96, 165, 250, 0.48);
817-
background: rgba(30, 64, 175, 0.22);
817+
border-color: rgba(94, 113, 151, 0.55);
818+
background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.92));
819+
box-shadow: 0 12px 30px rgba(3, 7, 18, 0.55);
818820
}
819821

820822
.dark-mode .chat-reference-item.is-expanded {
@@ -856,24 +858,25 @@
856858
}
857859

858860
.dark-mode .chat-reference-summary-title {
859-
color: rgba(191, 219, 254, 0.94);
861+
color: rgba(226, 232, 240, 0.9);
860862
}
861863

862864
.dark-mode .chat-reference-summary-meta {
863-
color: rgba(147, 197, 253, 0.9);
865+
color: rgba(148, 163, 184, 0.88);
864866
}
865867

866868
.dark-mode .chat-reference-summary-item {
867-
background: rgba(30, 64, 175, 0.28);
868-
border-color: rgba(96, 165, 250, 0.42);
869+
background: rgba(30, 41, 59, 0.9);
870+
border-color: rgba(75, 85, 99, 0.6);
871+
box-shadow: 0 10px 28px rgba(3, 7, 18, 0.55);
869872
}
870873

871874
.dark-mode .chat-reference-summary-submeta {
872-
color: rgba(191, 219, 254, 0.84);
875+
color: rgba(203, 213, 225, 0.82);
873876
}
874877

875878
.dark-mode .chat-reference-summary-text {
876-
color: rgba(226, 232, 240, 0.9);
879+
color: rgba(226, 232, 240, 0.88);
877880
}
878881

879882
.dark-mode .chat-reference-name:hover,

0 commit comments

Comments
 (0)