soroban-abacus-flashcards/apps/web
Thomas Hallock fcbf0f5421 fix(abacus-react): remove duplicate numeral rendering and fix dark mode colors
Two critical issues fixed:

1. **Duplicate numerals**: Both AbacusSVGRenderer and AbacusReact were rendering
   numerals when showNumbers={true}, causing two overlapping number displays.
   - Disabled SVG text numerals in AbacusSVGRenderer (line 436: added `false &&`)
   - NumberFlow provides better animated numerals, keep only those

2. **White numerals in dark mode**: NumberFlow components were inheriting CSS
   color from parent, turning white in dark mode (unreadable on light frames).
   - Added explicit color style to NumberFlow: uses themeAwareCustomStyles
   - Now consistently dark (rgba(0,0,0,0.8)) regardless of page theme

This was the root cause of the "white numerals everywhere" issue - the
NumberFlow components were inheriting dark mode CSS colors.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-08 09:43:18 -06:00
..
.claude refactor: complete subtraction modularization - 793 lines → modular structure 2025-11-08 09:20:18 -06:00
.storybook
__tests__ feat: Redesign Rithmomachia setup page with dramatic medieval theme 2025-10-30 16:45:19 -05:00
content/blog feat(blog): add "The Calculator Won" post on abacus education history 2025-11-07 14:29:49 -06:00
data
docs fix: prevent undefined displayRules error in worksheet generator 2025-11-07 13:01:54 -06:00
drizzle fix(worksheets): remove foreign key constraint to support guest users 2025-11-06 08:26:09 -06:00
e2e
public feat(worksheets): Phase 5 - Update typstGenerator for operator support 2025-11-07 22:30:15 -06:00
scripts fix(abacus-react): remove duplicate numeral rendering and fix dark mode colors 2025-11-08 09:43:18 -06:00
src fix(abacus-react): remove duplicate numeral rendering and fix dark mode colors 2025-11-08 09:43:18 -06:00
.dockerignore.test chore: trigger Docker rebuild 2025-11-07 12:11:46 -06:00
.gitignore
CARD_SORTING_PORT_PLAN.md fix: prevent undefined displayRules error in worksheet generator 2025-11-07 13:01:54 -06:00
COMPLEMENT_RACE_PORT_PLAN.md
DEVELOPMENT_STANDARDS.md
LINTING.md
README.md fix: prevent undefined displayRules error in worksheet generator 2025-11-07 13:01:54 -06:00
biome.jsonc
drizzle.config.ts
eslint.config.js
next-env.d.ts
next.config.js feat(i18n): migrate from react-i18next to next-intl 2025-11-01 14:47:25 -05:00
package.json refactor(worksheets): extract utility functions 2025-11-07 22:09:35 -06:00
panda.config.ts feat: implement light/dark theme system with semantic tokens 2025-11-07 16:47:04 -06:00
playwright.config.ts
pnpm-lock.yaml
server.js
svg-processing-test.js
test-arcade-api.sh
test-flashcards-final.pdf
test-flashcards.pdf
test-simplified.pdf
test_fullscreen_persistence.html
test_panda_simple.html
tsconfig.json
tsconfig.server.json
vitest.config.ts

README.md

Test deployment - Mon Nov 3 16:31:57 CST 2025