style(knowledge): solid blue-50 for the selected file card and row

The 7% brand-alpha tint let the white below bleed through, reading a
touch dimmer than the design's selection fill. blue-50 is the same hue
as an opaque swatch — still a brand token, so it keeps following the
blue⇄green theme. Same change as cofco's fbcd7adc8, applied to the
main line.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Kinyoo
2026-07-31 16:25:03 +08:00
parent 9d321aa495
commit 2901c03087
2 changed files with 2 additions and 2 deletions
@@ -546,7 +546,7 @@ export function FileCard({
!mobileListMode && "h-[160px]",
cardOpensPreviewOrFolder ? "cursor-pointer" : "cursor-default",
isSelected
? "bg-blue-500/[0.07]"
? "bg-blue-50"
: isNotParsed
? "bg-[#fbfbfb]"
: "bg-white",
@@ -874,7 +874,7 @@ function FileRow({
const rowBg = isFolderDragOver
? "bg-blue-100 transition-colors duration-150"
: isSelected
? "bg-blue-500/[0.07] transition-colors duration-150 group-hover:bg-[#F8F8F8]"
? "bg-blue-50 transition-colors duration-150 group-hover:bg-[#F8F8F8]"
: "bg-white transition-colors duration-150 group-hover:bg-[#f7f7f7]";
const {
isRenaming,