diff --git a/apps/client/src/menus/custom-items/NoteColorPicker.css b/apps/client/src/menus/custom-items/NoteColorPicker.css index 93a56ec0c..f4d6f642f 100644 --- a/apps/client/src/menus/custom-items/NoteColorPicker.css +++ b/apps/client/src/menus/custom-items/NoteColorPicker.css @@ -32,20 +32,6 @@ outline-offset: 2px; } -.note-color-picker .color-cell-reset::before, -.note-color-picker .custom-color-cell::before { - position: absolute; - display: flex; - top: 0; - left: 0; - right: 0; - bottom: 0; - font-size: calc(var(--color-picker-cell-size) * 1.3); - justify-content: center; - align-items: center; - font-family: boxicons; -} - /* * RESET COLOR CELL */ @@ -55,18 +41,37 @@ --outline-color: var(--note-color-picker-clear-color-cell-selection-outline-color); position: relative; + display: flex; + justify-content: center; + align-items: center; } -.note-color-picker .color-cell-reset::before { - content: "\ec8d"; - mix-blend-mode: normal; - color: var(--note-color-picker-clear-color-cell-color); +.note-color-picker .color-cell-reset svg { + width: var(--color-picker-cell-size); + height: var(--color-picker-cell-size); + fill: var(--note-color-picker-clear-color-cell-color); } /* * CUSTOM COLOR CELL */ + .note-color-picker .custom-color-cell::before { + position: absolute; + content: "\ed35"; + display: flex; + top: 0; + left: 0; + right: 0; + bottom: 0; + font-size: calc(var(--color-picker-cell-size) * 1.3); + justify-content: center; + align-items: center; + font-family: boxicons; + font-size: 16px; + color: var(--foreground); +} + .note-color-picker .custom-color-cell { position: relative; display: flex; @@ -78,10 +83,4 @@ background-image: url(./custom-color.png); background-size: cover; --foreground: transparent; -} - -.note-color-picker .custom-color-cell::before { - content: "\ed35"; - color: var(--foreground); - font-size: 16px; } \ No newline at end of file diff --git a/apps/client/src/menus/custom-items/NoteColorPicker.tsx b/apps/client/src/menus/custom-items/NoteColorPicker.tsx index 775769261..08bc7c84a 100644 --- a/apps/client/src/menus/custom-items/NoteColorPicker.tsx +++ b/apps/client/src/menus/custom-items/NoteColorPicker.tsx @@ -74,7 +74,13 @@ export default function NoteColorPicker(props: NoteColorPickerProps) { color={null} isSelected={(currentColor === null)} isDisabled={(note === null)} - onSelect={onColorCellClicked} /> + onSelect={onColorCellClicked}> + + {/* https://pictogrammers.com/library/mdi/icon/close/ */} + + + + {COLOR_PALETTE.map((color) => (