diff --git a/apps/smithy/.storybook/global.css b/apps/smithy/.storybook/global.css
index 52de0397..6763a498 100644
--- a/apps/smithy/.storybook/global.css
+++ b/apps/smithy/.storybook/global.css
@@ -1,3 +1,3 @@
:root {
- font-family: "Inter";
+ font-family: "Inter", ui-sans-serif,system-ui,sans-serif;
}
diff --git a/packages/react/src/components/Button/Button.styles.ts b/packages/react/src/components/Button/Button.styles.ts
index c2816552..7b7ca82c 100644
--- a/packages/react/src/components/Button/Button.styles.ts
+++ b/packages/react/src/components/Button/Button.styles.ts
@@ -4,7 +4,8 @@ const base = {
borderStyle: 'solid',
display: 'flex',
gap: '2',
- padding: '2 4',
+ padding: '1 3',
+ fontFamily: 'inherit',
}
export const Primary = {
diff --git a/packages/react/src/components/Button/Button.tsx b/packages/react/src/components/Button/Button.tsx
index 660fb345..bacabfa1 100644
--- a/packages/react/src/components/Button/Button.tsx
+++ b/packages/react/src/components/Button/Button.tsx
@@ -24,8 +24,9 @@ function BaseButton({ as, children, part, title, variant = 'Primary', ...props }
MozOsxFontSmoothing: 'grayscale',
}}
flexGrow="1"
- fontWeight="demibold"
+ fontWeight="medium"
part="button-title"
+ textWrap="nowrap"
>
{title}
diff --git a/packages/react/src/components/Card/FlowCard.tsx b/packages/react/src/components/Card/FlowCard.tsx
index 18ff0359..1dfb11e7 100644
--- a/packages/react/src/components/Card/FlowCard.tsx
+++ b/packages/react/src/components/Card/FlowCard.tsx
@@ -7,6 +7,7 @@ export function FlowCard({ part, ...props }: FlowProps) {
-
-
+
+
>
)
diff --git a/packages/react/src/components/Card/index.tsx b/packages/react/src/components/Card/index.tsx
index a65860f7..0f9adfae 100644
--- a/packages/react/src/components/Card/index.tsx
+++ b/packages/react/src/components/Card/index.tsx
@@ -1,7 +1,7 @@
import type { ForwardRefExoticComponent, RefAttributes } from 'react'
import * as React from 'react'
import { EmotionJSX } from '@emotion/react/types/jsx-namespace'
-import { XMarkIcon } from '@heroicons/react/24/solid'
+import { XMarkIcon } from '@heroicons/react/20/solid'
import type { BoxProps } from '@/components/Box'
import { Button, type ButtonProps } from '@/components/Button'
@@ -64,7 +64,7 @@ export const Card = React.forwardRef(({ children, flowId, ...props }: CardProps,
Card.Dismiss = (props: ButtonProps) => {
return (
-
+
)
}
@@ -74,7 +74,7 @@ Card.Header = ({ dismissible, handleDismiss, subtitle, title, ...props }) => {
{title}
{dismissible && }
-
+
{subtitle}
@@ -103,7 +103,7 @@ Card.Subtitle = ({ children, ...props }: TextProps) => {
if (children == null) return null
return (
-
+
{children}
)
diff --git a/packages/react/src/components/Checklist/Collapsible.tsx b/packages/react/src/components/Checklist/Collapsible.tsx
index 42507ac5..33555407 100644
--- a/packages/react/src/components/Checklist/Collapsible.tsx
+++ b/packages/react/src/components/Checklist/Collapsible.tsx
@@ -82,7 +82,7 @@ function DefaultCollapsibleStep({
src={step.videoUri ?? step.imageUri}
type={step.videoUri ? 'video' : 'image'}
/>
- {subtitle}
+ {subtitle}
{
return (
-
-
+
+
)
@@ -174,9 +174,9 @@ Dialog.Secondary = ({ onClick, title, ...props }: ButtonProps) => {
Dialog.Title = ({ children, ...props }: TextProps) => {
return (
-
+
{children}
-
+
)
}
diff --git a/packages/react/src/components/Form/fields/Label.tsx b/packages/react/src/components/Form/fields/Label.tsx
index 4c261eca..6a696360 100644
--- a/packages/react/src/components/Form/fields/Label.tsx
+++ b/packages/react/src/components/Form/fields/Label.tsx
@@ -2,9 +2,16 @@ import { Text } from '@/components/Text'
export function Label({ children, id, required = false }) {
return (
-
+
{children}
- {required && ' *'}
+ {required && '*'}
)
}
diff --git a/packages/react/src/components/Form/fields/SelectField.tsx b/packages/react/src/components/Form/fields/SelectField.tsx
index f4e922eb..6c45cca1 100644
--- a/packages/react/src/components/Form/fields/SelectField.tsx
+++ b/packages/react/src/components/Form/fields/SelectField.tsx
@@ -61,7 +61,7 @@ export function SelectField(props: FormFieldProps) {
-
+
Not likely at all
-
+
Extremely likely
diff --git a/packages/react/src/components/Tooltip/index.tsx b/packages/react/src/components/Tooltip/index.tsx
index 352f3ad9..85ca9dd4 100644
--- a/packages/react/src/components/Tooltip/index.tsx
+++ b/packages/react/src/components/Tooltip/index.tsx
@@ -1,7 +1,7 @@
import { keyframes } from '@emotion/react'
import React, { useEffect, useRef, useState } from 'react'
-import { XMarkIcon } from '@heroicons/react/24/solid'
+import { XMarkIcon } from '@heroicons/react/20/solid'
import * as Popover from '@radix-ui/react-popover'
import { useBoundingClientRect } from '@/hooks/useBoundingClientRect'
@@ -241,14 +241,14 @@ Tooltip.Close = (props: ButtonProps) => {
-
+
)
@@ -282,9 +282,9 @@ Tooltip.Progress = ({ children, ...props }: TextProps) => {
if (children == null) return null
return (
-
+
{children}
-
+
)
}
diff --git a/packages/react/src/components/Tour/TourStep.tsx b/packages/react/src/components/Tour/TourStep.tsx
index 6d7b2866..25548822 100644
--- a/packages/react/src/components/Tour/TourStep.tsx
+++ b/packages/react/src/components/Tour/TourStep.tsx
@@ -66,7 +66,7 @@ export function TourStep({
{step.title}
- {step.subtitle}
+ {step.subtitle}
diff --git a/packages/react/src/shared/tokens/radii.ts b/packages/react/src/shared/tokens/radii.ts
index 768c62a7..2151c367 100644
--- a/packages/react/src/shared/tokens/radii.ts
+++ b/packages/react/src/shared/tokens/radii.ts
@@ -1,5 +1,5 @@
export const radii = {
- md: '10px',
+ md: '8px',
lg: '20px',
round: '50%',
}