@@ -170,8 +170,8 @@ export function ActionItem({
170
170
< DisableIcon
171
171
className = { `transition-colors cursor-pointer ${
172
172
disabled
173
- ? "text-text -900 hover :text-text-500"
174
- : "text-text -500 hover :text-text-900"
173
+ ? "text-neutral -900 dark :text-neutral-100 hover: text-neutral- 500 dark:hover:text-neutral-400 "
174
+ : "text-neutral -500 dark :text-neutral-400 hover: text-neutral- 900 dark:hover:text-neutral-100 "
175
175
} `}
176
176
/>
177
177
</ div >
@@ -184,7 +184,7 @@ export function ActionItem({
184
184
>
185
185
< FiChevronRight
186
186
size = { 16 }
187
- className = "transition-colors cursor-pointer text-text -500 hover :text-text-900"
187
+ className = "transition-colors cursor-pointer text-neutral -500 dark :text-neutral-400 hover: text-neutral- 900 dark:hover:text-neutral-100 "
188
188
/>
189
189
</ div >
190
190
) }
@@ -277,7 +277,9 @@ function MCPServerItem({
277
277
{ getServerIcon ( ) }
278
278
< span className = "text-sm font-medium select-none" > { server . name } </ span >
279
279
{ isAuthenticated && tools . length > 0 && (
280
- < span className = "text-xs text-text-400" > ({ tools . length } tools)</ span >
280
+ < span className = "text-xs text-neutral-400 dark:text-neutral-500" >
281
+ ({ tools . length } tools)
282
+ </ span >
281
283
) }
282
284
</ div >
283
285
{ isAuthenticated && tools . length > 0 && (
@@ -868,18 +870,18 @@ export function ActionToggle({
868
870
className = "
869
871
w-[244px]
870
872
max-h-[300px]
871
- text-text -600
873
+ text-neutral -600 dark:text-neutral-400
872
874
text-sm
873
875
p-0
874
876
overflow-hidden
875
877
flex
876
878
flex-col
879
+ bg-white dark:bg-neutral-900
880
+ border border-neutral-200 dark:border-transparent
881
+ shadow-lg dark:shadow-xl dark:shadow-[0_0_8px_rgba(255,255,255,0.05)]
877
882
"
878
883
style = { {
879
884
borderRadius : "var(--Radius-12, 12px)" ,
880
- background : "var(--Background-Neutral-00, #FFF)" ,
881
- boxShadow :
882
- "0 2px 8px 0 var(--Shadow-02, rgba(0, 0, 0, 0.10)), 0 0 1px 1px var(--Shadow-01, rgba(0, 0, 0, 0.05))" ,
883
885
} }
884
886
>
885
887
{ /* Search Input */ }
@@ -904,10 +906,8 @@ export function ActionToggle({
904
906
rounded-lg
905
907
text-sm
906
908
outline-none
907
- text-text-700
908
- placeholder:text-text-400
909
- dark:placeholder:text-neutral-600
910
- dark:bg-neutral-950
909
+ text-neutral-700 dark:text-neutral-300
910
+ placeholder:text-neutral-400 dark:placeholder:text-neutral-500
911
911
"
912
912
autoFocus
913
913
/>
@@ -944,9 +944,8 @@ export function ActionToggle({
944
944
rounded-lg
945
945
text-sm
946
946
outline-none
947
- text-text-700
948
- placeholder:text-text-400
949
- dark:placeholder:text-neutral-600
947
+ text-neutral-700 dark:text-neutral-300
948
+ placeholder:text-neutral-400 dark:placeholder:text-neutral-500
950
949
"
951
950
/>
952
951
</ div >
@@ -972,18 +971,29 @@ export function ActionToggle({
972
971
rounded-lg
973
972
text-sm
974
973
outline-none
975
- text-text-700
976
- placeholder:text-text-400
977
- dark:placeholder:text-neutral-600
974
+ text-neutral-700 dark:text-neutral-300
975
+ placeholder:text-neutral-400 dark:placeholder:text-neutral-500
978
976
cursor-pointer
979
- hover:bg-gray-50
980
- dark:hover:bg-neutral-800
981
977
"
982
978
/>
983
979
< img
984
980
src = "/unplug.svg"
985
981
alt = "Disable All Sources"
986
- className = "absolute right-3 top-1/2 transform -translate-y-1/2 w-4 h-4 pointer-events-none opacity-60"
982
+ className = "absolute right-3 top-1/2 transform -translate-y-1/2 w-4 h-4 pointer-events-none"
983
+ style = { {
984
+ filter :
985
+ document . documentElement . classList . contains (
986
+ "dark"
987
+ )
988
+ ? "invert(0.6) sepia(1) saturate(0) hue-rotate(0deg) brightness(1.2)"
989
+ : "invert(0.4) sepia(1) saturate(0) hue-rotate(0deg) brightness(0.8)" ,
990
+ opacity :
991
+ document . documentElement . classList . contains (
992
+ "dark"
993
+ )
994
+ ? 0.9
995
+ : 0.7 ,
996
+ } }
987
997
/>
988
998
</ div >
989
999
) ;
@@ -1004,18 +1014,29 @@ export function ActionToggle({
1004
1014
rounded-lg
1005
1015
text-sm
1006
1016
outline-none
1007
- text-text-700
1008
- placeholder:text-text-400
1009
- dark:placeholder:text-neutral-600
1017
+ text-neutral-700 dark:text-neutral-300
1018
+ placeholder:text-neutral-400 dark:placeholder:text-neutral-500
1010
1019
cursor-pointer
1011
- hover:bg-gray-50
1012
- dark:hover:bg-neutral-800
1013
1020
"
1014
1021
/>
1015
1022
< img
1016
1023
src = "/plug.svg"
1017
1024
alt = "Enable All Sources"
1018
- className = "absolute right-3 top-1/2 transform -translate-y-1/2 w-4 h-4 pointer-events-none opacity-60"
1025
+ className = "absolute right-3 top-1/2 transform -translate-y-1/2 w-4 h-4 pointer-events-none"
1026
+ style = { {
1027
+ filter :
1028
+ document . documentElement . classList . contains (
1029
+ "dark"
1030
+ )
1031
+ ? "invert(0.6) sepia(1) saturate(0) hue-rotate(0deg) brightness(1.2)"
1032
+ : "invert(0.4) sepia(1) saturate(0) hue-rotate(0deg) brightness(0.8)" ,
1033
+ opacity :
1034
+ document . documentElement . classList . contains (
1035
+ "dark"
1036
+ )
1037
+ ? 0.9
1038
+ : 0.7 ,
1039
+ } }
1019
1040
/>
1020
1041
</ div >
1021
1042
) ;
@@ -1054,7 +1075,7 @@ export function ActionToggle({
1054
1075
. map ( ( source ) => (
1055
1076
< div
1056
1077
key = { source . uniqueKey }
1057
- className = "flex items-center justify-between px-1 py-1 mx-1 hover:bg-background-100 rounded-lg"
1078
+ className = "flex items-center justify-between px-1 py-1 mx-1 rounded-lg"
1058
1079
>
1059
1080
< div className = "flex items-center gap-3" >
1060
1081
< SourceIcon
@@ -1065,8 +1086,8 @@ export function ActionToggle({
1065
1086
< div
1066
1087
className = { `text-sm font-medium ${
1067
1088
isSourceEnabled ( source . uniqueKey )
1068
- ? "text-text -700"
1069
- : "text-text -400 dark:text-neutral-600 "
1089
+ ? "text-neutral -700 dark:text-neutral-300 "
1090
+ : "text-neutral -400 dark:text-neutral-500 "
1070
1091
} `}
1071
1092
>
1072
1093
{ source . displayName }
@@ -1075,22 +1096,28 @@ export function ActionToggle({
1075
1096
</ div >
1076
1097
< button
1077
1098
onClick = { ( ) => toggleSource ( source . uniqueKey ) }
1078
- className = "relative transition-colors"
1099
+ className = { `relative transition-colors ${
1100
+ isSourceEnabled ( source . uniqueKey )
1101
+ ? "bg-blue-500"
1102
+ : "bg-neutral-300 dark:bg-neutral-700"
1103
+ } `}
1079
1104
style = { {
1080
1105
width : "28px" ,
1081
1106
height : "16px" ,
1082
- borderRadius : "1000px" ,
1083
- background : isSourceEnabled ( source . uniqueKey )
1084
- ? "#286DF8"
1085
- : "#d1d5db" ,
1107
+ borderRadius : "var(--Radius-Round, 1000px)" ,
1086
1108
transition : "background-color 0.2s ease-in-out" ,
1087
1109
} }
1088
1110
>
1089
1111
< div
1090
- className = "w-3 h-3 absolute transition-transform duration-200 ease-in-out"
1112
+ className = { `absolute transition-transform duration-200 ease-in-out ${
1113
+ isSourceEnabled ( source . uniqueKey )
1114
+ ? "bg-white"
1115
+ : "bg-white dark:bg-neutral-900"
1116
+ } `}
1091
1117
style = { {
1092
- borderRadius : "1000px" ,
1093
- background : "#FFF" ,
1118
+ width : "12px" ,
1119
+ height : "12px" ,
1120
+ borderRadius : "var(--Radius-Round, 1000px)" ,
1094
1121
boxShadow : "0 0 1px 1px rgba(0, 0, 0, 0.05)" ,
1095
1122
top : "2px" ,
1096
1123
left : "2px" ,
@@ -1109,7 +1136,7 @@ export function ActionToggle({
1109
1136
. toLowerCase ( )
1110
1137
. includes ( searchLower ) ;
1111
1138
} ) . length === 0 && (
1112
- < div className = "text-center py-4 text-text -400" >
1139
+ < div className = "text-center py-4 text-neutral -400 dark:text-neutral-500 " >
1113
1140
{ sourceSearchTerm
1114
1141
? "No matching sources found"
1115
1142
: "No configured sources found" }
@@ -1119,17 +1146,15 @@ export function ActionToggle({
1119
1146
</ div >
1120
1147
{ /* Fade mask - only when content overflows and not at bottom */ }
1121
1148
< div
1122
- className = "absolute bottom-0 left-0 right-0 h-6 pointer-events-none transition-opacity ease-out"
1149
+ className = "absolute bottom-0 left-0 right-0 h-6 pointer-events-none transition-opacity ease-out bg-gradient-to-t from-white to-transparent dark:from-neutral-900 "
1123
1150
style = { {
1124
- background :
1125
- "linear-gradient(180deg, transparent 0%, var(--Background-Neutral-00, #FFF) 100%)" ,
1126
1151
opacity : showFadeMask ? 1 : 0 ,
1127
1152
} }
1128
1153
/>
1129
1154
</ >
1130
1155
) : filteredTools . length === 0 &&
1131
1156
filteredMCPServers . length === 0 ? (
1132
- < div className = "text-center py-1 text-text -400" >
1157
+ < div className = "text-center py-1 text-neutral -400 dark:text-neutral-500 " >
1133
1158
No matching actions found
1134
1159
</ div >
1135
1160
) : (
0 commit comments