diff --git a/src/components/layout/Radio.tsx b/src/components/layout/Radio.tsx index efa7eb8..7249b4f 100644 --- a/src/components/layout/Radio.tsx +++ b/src/components/layout/Radio.tsx @@ -4,13 +4,13 @@ import { For, Show } from "solid-js"; type Choices = { value: string, label: string, caption: string }[] // TODO: how could would it be if we could just pass the estimated fees in here? -export function StyledRadioGroup(props: { value: string, choices: Choices, onValueChange: (value: string) => void, small?: boolean, }) { +export function StyledRadioGroup(props: { value: string, choices: Choices, onValueChange: (value: string) => void, small?: boolean, red?: boolean }) { return ( // TODO: rewrite this with CVA, props are bad for tailwind props.onValueChange(e)} class={`grid w-full gap-${props.small ? "2" : "4"} grid-cols-${props.choices.length.toString()}`}> {choice => - +
diff --git a/tailwind.config.cjs b/tailwind.config.cjs index 7b03d9e..463e388 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -10,7 +10,9 @@ module.exports = { 'grid-cols-1', 'grid-cols-2', 'gap-2', - 'gap-4' + 'gap-4', + 'outline-m-red', + 'outline-m-blue', ], variants: { extend: {