From d6235453c9b5f297b95edd58864fe26268239318 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Fri, 9 Feb 2024 11:52:32 -0600 Subject: Design system tweaks (#2822) * Tweak palette, theme naming, update usages * Update Typography, replace the few usages --- src/components/Prompt.tsx | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/components/Prompt.tsx') diff --git a/src/components/Prompt.tsx b/src/components/Prompt.tsx index 7115f6190..2c79d27cf 100644 --- a/src/components/Prompt.tsx +++ b/src/components/Prompt.tsx @@ -4,7 +4,7 @@ import {msg} from '@lingui/macro' import {useLingui} from '@lingui/react' import {useTheme, atoms as a} from '#/alf' -import {H4, P} from '#/components/Typography' +import {Text} from '#/components/Typography' import {Button} from '#/components/Button' import * as Dialog from '#/components/Dialog' @@ -50,14 +50,11 @@ export function Outer({ } export function Title({children}: React.PropsWithChildren<{}>) { - const t = useTheme() const {titleId} = React.useContext(Context) return ( -

+ {children} -

+ ) } @@ -65,9 +62,11 @@ export function Description({children}: React.PropsWithChildren<{}>) { const t = useTheme() const {descriptionId} = React.useContext(Context) return ( -

+ {children} -

+ ) } -- cgit 1.4.1