From 18583d011a21db5a1d57eb21b241dd1d19573a07 Mon Sep 17 00:00:00 2001 From: Thomas Hallock Date: Wed, 10 Sep 2025 14:04:37 -0500 Subject: [PATCH] fix: add missing color-palette parameter to generate-flashcards function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add color-palette parameter to generate-flashcards function signature - Fixes "unexpected argument: color-palette" Typst compilation error - Maintains backward compatibility with default palette - Enables all color palette options (default, colorblind, mnemonic, grayscale, nature) - Now supports: python3 src/generate.py --color-palette colorblind --color-scheme place-value 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- templates/flashcards.typ | 1 + 1 file changed, 1 insertion(+) diff --git a/templates/flashcards.typ b/templates/flashcards.typ index 1bce1eb7..86633f3e 100644 --- a/templates/flashcards.typ +++ b/templates/flashcards.typ @@ -385,6 +385,7 @@ hide-inactive-beads: false, bead-shape: "diamond", color-scheme: "monochrome", + color-palette: "default", colored-numerals: false, scale-factor: 0.9 // Manual scale adjustment (0.1 to 1.0) ) = {