fix: add missing color-palette parameter to generate-flashcards function

- 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 <noreply@anthropic.com>
This commit is contained in:
Thomas Hallock
2025-09-10 14:04:37 -05:00
parent 150c195c33
commit 18583d011a

View File

@@ -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)
) = {