Dark mode: Delete confirmation button is white text on a white button
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 78/100
Research direction
The report identifies ConfirmDialog and its destructive confirmation button. Read that component’s variant="primary" styling and compare it with the listed overrides; confirm the button’s computed colors in light and dark mode. Done when the confirm button is readable in both themes for destructive confirmations.
Written by the indexing model from the issue text.
Description
What happened?
In dark mode the confirm dialog's confirm button is unreadable: white text on a near-white button. In light mode the same dialog is fine (white text on black). It reproduces on any destructive confirmation, e.g. deleting a model.
Steps to reproduce
- Set SpeakType (or the OS) to dark mode.
- Go to AI Models and click the trash icon on a downloaded model.
- Look at the "Delete" button in the "Delete Whisper Base?" dialog.
Which system? Windows
System version: Windows 11 26H2
SpeakType version: 2.0.0
Which model were you using? Whisper Base
Anything else?
ConfirmDialog layers bg-danger text-white hover:bg-danger hover:opacity-90 dark:text-white over variant="primary". bg-danger and bg-primary have the same specificity, so bg-primary wins the cascade (black in light mode, #fafafa in dark), while dark:text-white is a [data-theme="dark"] descendant rule and outranks text-on-primary — white on white. The intended red never actually rendered in light mode either.
Fix: remove those overrides (and the unused destructive prop) so the button uses the primary fill. Verified computed styles: light #0a0a0a bg / #ffffff text, dark #fafafa bg / #0a0a0a text. Screenshots attached.
- Dominant language
- Swift
- Stars
- 540
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from karansinghgit/speaktype
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
karansinghgit/speaktype#211 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
karansinghgit/speaktype#183 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 18/100
karansinghgit/speaktype#212 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
karansinghgit/speaktype#209 ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
karansinghgit/speaktype#208 · 2 comments ·
All issues in karansinghgit/speaktype
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
VictorKildahl/cra#243 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
OneBusAway/vehicle-positions#260 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
eliasstravik/herdr-projects#789 · 1 comment ·
-
Linux: Remember Password fails silently when there is no default keyringPossibly taken @datlechin claimed this today. Openbug platform-linux
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
TableProApp/TablePro#4098 ·
Maintainers usually reply within 1 day