style: deepen MCQ correct-row tint#2436
Merged
Merged
Conversation
The success row on the back of a multiple-choice card used #ECFDF5 (Tailwind green-50) which Al found too pale to make the right answer visibly pop next to its neighbours. Bump it to #A7F3D0 (green-200) and add a 3px inset green left rule (#10b981) so the correct option reads as the dominant row from across the deck. Dark-mode #064e3b is already strong enough — left it untouched. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for notion2anki ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



What
Deepen the success-row background on the back of a multiple-choice card from
#ECFDF5(Tailwind green-50) to#A7F3D0(green-200), and add a 3px inset green left rule (#10b981) so the correct option reads as the dominant row at a glance.Why
Follow-up to #2430. Al flagged that the original tint was too pale to make the right answer visibly pop next to the other choices on review — the marker alone was carrying the signal. Deeper green + a left rule reads instantly without changing the layout or the spacing.
How
src/templates/n2a-mcq.json—li.row-success { background: #A7F3D0; box-shadow: inset 3px 0 0 #10b981; }#064e3bwas already strong enough — left untouched.create_deck/helpers/test_get_model_mcq.pythat checks the row colour shipped in the model.Testing
python3 -m pytest create_deck/helpers/test_get_model_mcq.py— 14 passed.Risks
Cosmetic-only change inside one template's
stylingfield. No code paths, no API, no DB. Bounded blast radius.Goal alignment
Makes the back of an MCQ card easier to read at a glance — the correct answer is supposed to be the first thing you see. Direct hit on "beautiful Anki flashcards".
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmithwith what you need.