From 93befbd8da4c65d49b81d034363373743637a78b Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 25 Mar 2026 11:37:12 +0100 Subject: [PATCH 01/11] =?UTF-8?q?refactor(css):=20remove=20colors/fonts=20?= =?UTF-8?q?from=20tailwind.config.js=20=E2=80=94=20layout.css=20is=20sole?= =?UTF-8?q?=20theme=20source?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit All color and font definitions live in layout.css via Tailwind 4 @theme. Keeping only the content glob in the config file. Co-Authored-By: Claude Sonnet 4.6 --- frontend/tailwind.config.js | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index 9757a81b..e5b75e5b 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -1,25 +1,4 @@ /** @type {import('tailwindcss').Config} */ export default { - content: ['./src/**/*.{html,js,svelte,ts}'], - theme: { - extend: { - colors: { - brand: { - navy: '#002850', // Header & Hero background - mint: '#A6DAD8', // The Comma accent color - sand: '#E4E2D7', // Content background - white: '#ffffff' - } - }, - fontFamily: { - // Montserrat for UI/Headers, Merriweather for Body text (as established previously) - sans: ['Montserrat', 'sans-serif'], - serif: ['Merriweather', 'serif'] - }, - fontSize: { - huge: '4rem' // For the large stats numbers (e.g., "29", "5000+") - } - } - }, - plugins: [] + content: ['./src/**/*.{html,js,svelte,ts}'] }; -- 2.49.1 From e83ba9b6819719c749bc9cbef5c106987c397e33 Mon Sep 17 00:00:00 2001 From: Marcel Date: Wed, 25 Mar 2026 11:42:52 +0100 Subject: [PATCH 02/11] style(frontend): apply Prettier formatting to 26 pre-existing files MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No logic changes — whitespace and indentation only. These were flagged by the pre-commit hook when running lint after layout.css was modified. Refs #64 Co-Authored-By: Claude Sonnet 4.6 --- .../components/AnnotationCommentPanel.svelte | 10 +- .../lib/components/AnnotationSidePanel.svelte | 6 +- .../src/lib/components/CommentThread.svelte | 14 +- .../lib/components/DocumentBottomPanel.svelte | 6 +- .../src/lib/components/DocumentTopBar.svelte | 6 +- .../src/lib/components/ExpandableText.svelte | 2 +- .../src/lib/components/PanelHistory.svelte | 18 +- .../src/lib/components/PanelMetadata.svelte | 10 +- .../lib/components/PersonMultiSelect.svelte | 4 +- frontend/src/lib/components/TagInput.svelte | 4 +- frontend/src/routes/+layout.svelte | 16 +- frontend/src/routes/+page.svelte | 10 +- frontend/src/routes/admin/+page.svelte | 12 +- .../src/routes/admin/users/[id]/+page.svelte | 22 +-- .../src/routes/admin/users/new/+page.svelte | 18 +- .../src/routes/conversations/+page.svelte | 22 +-- .../routes/documents/[id]/edit/+page.svelte | 24 +-- .../src/routes/documents/new/+page.svelte | 22 +-- .../src/routes/forgot-password/+page.svelte | 2 +- frontend/src/routes/layout.css | 154 ++++++++++++++++-- frontend/src/routes/login/+page.svelte | 2 +- frontend/src/routes/persons/+page.svelte | 6 +- frontend/src/routes/persons/[id]/+page.svelte | 20 +-- frontend/src/routes/persons/new/+page.svelte | 4 +- frontend/src/routes/profile/+page.svelte | 20 +-- .../src/routes/reset-password/+page.svelte | 2 +- frontend/src/routes/users/[id]/+page.svelte | 2 +- 27 files changed, 282 insertions(+), 156 deletions(-) diff --git a/frontend/src/lib/components/AnnotationCommentPanel.svelte b/frontend/src/lib/components/AnnotationCommentPanel.svelte index b1bb59fe..8e6d6548 100644 --- a/frontend/src/lib/components/AnnotationCommentPanel.svelte +++ b/frontend/src/lib/components/AnnotationCommentPanel.svelte @@ -25,16 +25,16 @@ let {