From c81aef6d0596f1f065a3f2b934b3bb50ff84ea4f Mon Sep 17 00:00:00 2001 From: Adorian Doran Date: Tue, 18 Nov 2025 22:18:15 +0200 Subject: [PATCH] client/note color picker menu item: update the color palette --- .../src/menus/custom-items/NoteColorPickerMenuItem.css | 4 ++-- .../src/menus/custom-items/NoteColorPickerMenuItem.tsx | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/client/src/menus/custom-items/NoteColorPickerMenuItem.css b/apps/client/src/menus/custom-items/NoteColorPickerMenuItem.css index 1f56926a9..e94511138 100644 --- a/apps/client/src/menus/custom-items/NoteColorPickerMenuItem.css +++ b/apps/client/src/menus/custom-items/NoteColorPickerMenuItem.css @@ -4,8 +4,8 @@ } .color-picker-menu-item > .color-cell { - width: 16px; - height: 16px; + width: 13px; + height: 13px; border-radius: 4px; background: transparent; } diff --git a/apps/client/src/menus/custom-items/NoteColorPickerMenuItem.tsx b/apps/client/src/menus/custom-items/NoteColorPickerMenuItem.tsx index b87387a8f..66b4010d9 100644 --- a/apps/client/src/menus/custom-items/NoteColorPickerMenuItem.tsx +++ b/apps/client/src/menus/custom-items/NoteColorPickerMenuItem.tsx @@ -6,7 +6,10 @@ import Debouncer from "../../utils/debouncer"; import FNote from "../../entities/fnote"; import froca from "../../services/froca"; -const COLORS = ["blue", "green", "cyan", "red", "magenta", "brown", "yellow", null]; +const COLORS = [ + "#e64d4d", "#e6994d", "#e5e64d", "#99e64d", "#4de64d", "#4de699", + "#4de5e6", "#4d99e6", "#4d4de6", "#994de6", null +]; export interface NoteColorPickerMenuItemProps { /** The target Note instance or its ID string. */