From d9c9663af2bc7a0827021005626dca095900638f Mon Sep 17 00:00:00 2001 From: Frederic Cabassut Date: Fri, 6 Mar 2026 22:27:13 +0100 Subject: [PATCH] style: update toggle icons to show destination mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Checklist toggle: SquareCheck (→ checklist) / Type (→ text). Markdown toggle: FileCode (→ markdown) / FileText (→ rich text). Icons now show what you'll switch to, not the current state. Remove active color highlight since icon swap communicates state. Co-Authored-By: Claude Opus 4.6 --- src/lib/components/NoteEditor.svelte | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib/components/NoteEditor.svelte b/src/lib/components/NoteEditor.svelte index c617f88..d87eafd 100644 --- a/src/lib/components/NoteEditor.svelte +++ b/src/lib/components/NoteEditor.svelte @@ -8,10 +8,10 @@ import type { Editor } from '@tiptap/core'; import type { Note, NoteColor } from '$lib/types/index.js'; import Palette from 'lucide-svelte/icons/palette'; - import ListChecks from 'lucide-svelte/icons/list-checks'; - import List from 'lucide-svelte/icons/list'; - import Code from 'lucide-svelte/icons/code'; - import Eye from 'lucide-svelte/icons/eye'; + import SquareCheck from 'lucide-svelte/icons/square-check'; + import Type from 'lucide-svelte/icons/type'; + import FileCode from 'lucide-svelte/icons/file-code'; + import FileText from 'lucide-svelte/icons/file-text'; interface Props { note: Note | null; @@ -152,28 +152,28 @@