style: replace blue accent with gray and mute card badge colors
Switch all interactive UI elements (buttons, focus rings, active tabs, FAB, links, spinners) from blue to gray to match icon colors for a more cohesive look. Mute card badge text colors to pastels (blue-400, green-500, purple-500) to keep the focus on card content. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -169,7 +169,7 @@ export function CategoryPicker({ value, onChange }: CategoryPickerProps) {
|
||||
setInputValue("");
|
||||
}}
|
||||
onKeyDown={handleKeyDown}
|
||||
className={`w-full py-2 border border-gray-200 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent ${
|
||||
className={`w-full py-2 border border-gray-200 rounded-lg text-sm focus:outline-none focus:ring-2 focus:ring-gray-400 focus:border-transparent ${
|
||||
!isOpen && selectedCategory ? "pl-8 pr-3" : "px-3"
|
||||
}`}
|
||||
/>
|
||||
@@ -187,7 +187,7 @@ export function CategoryPicker({ value, onChange }: CategoryPickerProps) {
|
||||
aria-selected={cat.id === value}
|
||||
className={`px-3 py-2 text-sm cursor-pointer flex items-center gap-1.5 ${
|
||||
i === highlightIndex
|
||||
? "bg-blue-50 text-blue-900"
|
||||
? "bg-gray-100 text-gray-900"
|
||||
: "hover:bg-gray-50"
|
||||
} ${cat.id === value ? "font-medium" : ""}`}
|
||||
onClick={() => handleSelect(cat.id)}
|
||||
@@ -207,7 +207,7 @@ export function CategoryPicker({ value, onChange }: CategoryPickerProps) {
|
||||
aria-selected={false}
|
||||
className={`px-3 py-2 text-sm cursor-pointer border-t border-gray-100 ${
|
||||
highlightIndex === filtered.length
|
||||
? "bg-blue-50 text-blue-900"
|
||||
? "bg-gray-100 text-gray-900"
|
||||
: "hover:bg-gray-50 text-gray-600"
|
||||
}`}
|
||||
onClick={handleStartCreate}
|
||||
@@ -231,7 +231,7 @@ export function CategoryPicker({ value, onChange }: CategoryPickerProps) {
|
||||
type="button"
|
||||
onClick={handleConfirmCreate}
|
||||
disabled={createCategory.isPending}
|
||||
className="text-xs font-medium text-blue-600 hover:text-blue-800 disabled:opacity-50"
|
||||
className="text-xs font-medium text-gray-600 hover:text-gray-800 disabled:opacity-50"
|
||||
>
|
||||
{createCategory.isPending ? "..." : "Create"}
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user