Skip to content

Commit 5de055c

Browse files
committed
Improve importance radio contrast
1 parent 084659e commit 5de055c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

web/components/answers/answer-compatibility-question-content.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ type ImportanceColorsType = {
3636
}
3737

3838
export const IMPORTANCE_RADIO_COLORS: ImportanceColorsType = {
39-
0: `bg-stone-400 ring-stone-400 dark:bg-stone-500 dark:ring-stone-500`,
40-
1: `bg-teal-200 ring-teal-200 dark:bg-teal-100 dark:ring-teal-100 `,
41-
2: `bg-teal-300 ring-teal-300 dark:bg-teal-200 dark:ring-teal-200 `,
42-
3: `bg-teal-400 ring-teal-400`,
39+
0: `bg-teal-300 ring-teal-200`,
40+
1: `bg-teal-500 ring-teal-200`,
41+
2: `bg-teal-700 ring-teal-300`,
42+
3: `bg-teal-900 ring-teal-400`,
4343
}
4444

4545
export const IMPORTANCE_DISPLAY_COLORS: ImportanceColorsType = {

web/components/widgets/radio-toggle-group.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function RadioToggleGroup(props: {
2727

2828
const length = orderedChoicesMap.length
2929
return (
30-
<Row className="text-ink-300 dark:text-ink-600 mb-6 items-center gap-3 text-sm">
30+
<Row className="text-ink-500 dark:text-ink-500 mb-6 items-center gap-3 text-sm">
3131
{orderedChoicesMap[0][0]}
3232
<RadioGroup
3333
className={clsx(

0 commit comments

Comments
 (0)