client/note color picker menu item: update the color palette

This commit is contained in:
Adorian Doran 2025-11-18 22:18:15 +02:00
parent 45747183e7
commit c81aef6d05
2 changed files with 6 additions and 3 deletions

View File

@ -4,8 +4,8 @@
} }
.color-picker-menu-item > .color-cell { .color-picker-menu-item > .color-cell {
width: 16px; width: 13px;
height: 16px; height: 13px;
border-radius: 4px; border-radius: 4px;
background: transparent; background: transparent;
} }

View File

@ -6,7 +6,10 @@ import Debouncer from "../../utils/debouncer";
import FNote from "../../entities/fnote"; import FNote from "../../entities/fnote";
import froca from "../../services/froca"; 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 { export interface NoteColorPickerMenuItemProps {
/** The target Note instance or its ID string. */ /** The target Note instance or its ID string. */