From d5939b3feccc34e0f648ce2181d8fb2dd74994e3 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 21 Jun 2022 17:04:59 -0700 Subject: [PATCH] Use same checkmark as labels for font selection. Clean up layout of title --- .../templates/article/FontFamiliesOptions.tsx | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/packages/web/components/templates/article/FontFamiliesOptions.tsx b/packages/web/components/templates/article/FontFamiliesOptions.tsx index a12c6a1e7..c6e0297b2 100644 --- a/packages/web/components/templates/article/FontFamiliesOptions.tsx +++ b/packages/web/components/templates/article/FontFamiliesOptions.tsx @@ -1,7 +1,7 @@ import { HStack, Box } from '../../elements/LayoutPrimitives' import { StyledText } from '../../elements/StyledText' import { theme } from '../../tokens/stitches.config' -import { CaretLeft, CheckCircle } from 'phosphor-react' +import { CaretLeft, Check, CheckCircle } from 'phosphor-react' const FONT_FAMILIES = [ 'Inter', @@ -38,7 +38,7 @@ function FontOption(props: FontOptionProps):JSX.Element { {props.family} {isSelected && ( - + )} ) @@ -48,24 +48,19 @@ export function FontFamiliesOptions(props: FontFamiliesListProps): JSX.Element { return ( <> - + props.setShowFontFamilies(false)} > - - - - - Back - + + Choose Font - {/* Select Font */} - + {FONT_FAMILIES.map((family) => ( ))}