diff --git a/_specs/fix-color-term-select.md b/_specs/fix-color-term-select.md new file mode 100644 index 0000000..0dbc548 --- /dev/null +++ b/_specs/fix-color-term-select.md @@ -0,0 +1,35 @@ +# Spec for fix-color-term-select + +branch: claude/feature/fix-color-term-select + +## Summary +In the flashcard session, the term drawer contains a `` that corresponds to a term with `fix: true` should render in a different (warning/muted) color compared to normal options. +- Terms without `fix: true` (or where `fix` is absent/false) should display in their default color. +- The color distinction must be visible in both light and dark contexts. +- No change to the select's behavior — navigation and selection work exactly as before. + +## Possible Edge Cases +- Terms where `fix` is `undefined` or `false` should be treated identically to terms where `fix` is absent — i.e., normal color, no special styling. +- The `sortedTerms` memo already passes `fix` through; no data-layer changes should be needed. +- Native `