diff --git a/src/app/onboarding/legal-credentials/page.tsx b/src/app/onboarding/legal-credentials/page.tsx index f491b1a9..7e732136 100644 --- a/src/app/onboarding/legal-credentials/page.tsx +++ b/src/app/onboarding/legal-credentials/page.tsx @@ -195,7 +195,7 @@ export default function Page() { ` ${sans.style} appearance: none; - color: ${({ $primaryColor }) => ($primaryColor ? 'white' : COLORS.blueMid)}; + color: ${({ $primaryColor, $secondaryColor }) => + $primaryColor ? 'white' : $secondaryColor || COLORS.blueMid}; background: ${({ $primaryColor }) => $primaryColor || 'white'}; padding: 10px 20px; border-radius: 5px; diff --git a/src/components/RadioGroup/index.tsx b/src/components/RadioGroup/index.tsx index 72fa1ce8..d49079ed 100644 --- a/src/components/RadioGroup/index.tsx +++ b/src/components/RadioGroup/index.tsx @@ -54,13 +54,13 @@ export default function RadioGroup({ )} {options.map(o => ( - + handleChange(o)} /> diff --git a/src/components/SettingsSection/index.tsx b/src/components/SettingsSection/index.tsx index 40f47b94..641c9b9a 100644 --- a/src/components/SettingsSection/index.tsx +++ b/src/components/SettingsSection/index.tsx @@ -1,5 +1,6 @@ import { createContext, useContext, useMemo } from 'react'; import { ControllerProps, FieldPath, FieldValues } from 'react-hook-form'; +import COLORS from '@/styles/colors'; import { Flex } from '@/styles/containers'; import { Spinner } from '@/styles/spinner'; import { H2, P } from '@/styles/text'; @@ -54,7 +55,12 @@ export function SettingSection({ {isEditing ? ( -