Radio buttons in ui/radio-group have low dark-mode contrast and look inconsistent with OptionRadio
メンテナーはふだん 1 日以内に返信
@standard-librarian がすでに取り組んでいます。
2026年12月2日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- react, typescript
- 領域
- accessibility, design, frontend
調査の方向性
apps/web/src/components/ui/radio-group.tsxを読み、Radioのスタイルを、apps/web/src/components/chat/ComposerPendingUserInputPanel.tsxのOptionRadioおよびapps/web/src/components/ui/checkbox.tsxのコントラスト用バリアントと比較します。Radioの一覧にある呼び出し箇所を確認して共有スタイルがどこで使われているかを把握し、続いてダークモードで未選択の円に視認できる境界線があり、確立されたコントラスト処理と一致することを確認します。
索引モデルが issue の本文から書いたものです。
説明
What happened
In dark mode, the radio buttons in the Move thread to project dialog appear very faint / low-opacity.
Diagnosis
Radio in apps/web/src/components/ui/radio-group.tsx (lines 16–32) uses border-input and dark:not-data-checked:bg-input/32.
- In default dark mode (
apps/web/src/index.css, line 1253),--inputis--alpha(var(--color-white) / 11%), andbg-input/32is ~3.5% white over the#080808dialog surface. - Other controls in
apps/webalready worked around this low-visibility border:Checkbox(apps/web/src/components/ui/checkbox.tsx, lines 11–14) added acontrastvariant (border-foreground/55), used byComposerPendingUserInputPanel.tsx(line 297).OptionRadio(apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx, lines 358–371) drawsui/radio-group's look but overrides the border toborder-foreground/55.
- Every caller using
<Radio>fromui/radio-group.tsxstill gets the much dimmerborder-inputstyling:apps/web/src/components/chat/ThreadWorkspaceDialog.tsx(lines 196, 207)apps/web/src/components/chat/ThreadHandoffDialog.tsx(line 144)apps/web/src/components/chat/LinkRequestCard.tsx(lines 518, 528)apps/web/src/components/settings/ChatGptAccountPicker.tsx(lines 72, 77)apps/web/src/components/settings/SidebarRowLayoutRow.tsx(line 895)
Steps to reproduce
- Run T3 Code Desktop in default dark mode.
- Open Move thread to project on a thread (
ThreadWorkspaceDialog) or any of the other dialogs/settings above that renderui/radio-group's<Radio>. - Observe the faint borders/fills on unselected radio circles compared to
OptionRadioin the composer question card.
Version
0.1.14-nightly.20261202.5597 (commit 909351f92e9a6ef8d01887972774967db4c98165)
Environment
Linux x64 (7.3.6-200.fc44.x86_64), Node v24.22.1, T3 Code Desktop
Evidence
# apps/web/src/components/ui/radio-group.tsx:20
"relative inline-flex size-4.5 shrink-0 items-center justify-center rounded-full border border-input ... dark:not-data-checked:bg-input/32 ..."
# apps/web/src/components/chat/ComposerPendingUserInputPanel.tsx:363 (OptionRadio)
"relative inline-flex size-4.5 shrink-0 items-center justify-center rounded-full border border-foreground/55 bg-background not-dark:bg-clip-padding sm:size-4 dark:bg-input/32"
# apps/web/src/components/ui/checkbox.tsx:11-14
const variantClassNames = {
default: "",
contrast: "border-foreground/55",
};
Related issues
#42259 covers dark-mode muted text contrast across built-in themes, whereas this is specifically about ui/radio-group.tsx still using border-input inconsistently with OptionRadio and Checkbox variant="contrast".
Fix applied or workaround
Raising Settings → Appearance → Contrast boosts --contrast-input (apps/web/src/index.css, lines 1656–1660) and makes unselected radio borders more visible.
Filed by
Antigravity (Gemini 4 Hydrogen) via t3 triage
- 主要言語
- TypeScript
- スター
- 24.8k
- フォーク
- 6.4k
- 平均マージ
- 2時間 25分
- マージ済み PR(30日)
- 519
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
pingdotgg/t3code のほかの issue
-
via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
bug needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: Mobile Codex sign-out drops the warning when remote revocation is unconfirmed対応中かも @maxwellyoung が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
via-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pingdotgg/t3code#46052 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
pingdotgg/t3code の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
melgarafael/DeskcommCRM#5614 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 1/5 1時間未満 初心者へのやさしさ 76/100
slackapi/slack-health-score#253 ·
メンテナーはふだん 1 日以内に返信
-
feature needs triage site
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
owid/owid-grapher#8019 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
simstudioai/sim#10710 ·
メンテナーはふだん 1 日以内に返信
-
bug:new
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
callstackincubator/simlock#2088 ·
メンテナーはふだん 1 日以内に返信