Skip to content

Commit 5c8217a

Browse files
authored
chore: update dialog to match designs (#9277)
* chore: update dialog to match designs * remove breakpoint
1 parent 0434057 commit 5c8217a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

packages/@react-spectrum/s2/src/Dialog.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ const image = style({
4848
const heading = style({
4949
flexGrow: 1,
5050
marginY: 0,
51-
font: 'heading'
51+
font: 'title-2xl'
5252
});
5353

5454
const header = style({
55-
font: 'body-lg'
55+
font: 'body'
5656
});
5757

5858
const content = style({
@@ -181,7 +181,7 @@ export const Dialog = forwardRef(function Dialog(props: DialogProps, ref: DOMRef
181181
{children}
182182
</Provider>
183183
</div>
184-
{props.isDismissible &&
184+
{props.isDismissible &&
185185
<CloseButton styles={style({marginBottom: 12})} />
186186
}
187187
</div>

packages/@react-spectrum/s2/src/FullscreenDialog.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,16 @@ const heading = style({
3535
gridArea: 'heading',
3636
flexGrow: 1,
3737
marginY: 0,
38-
font: 'heading'
38+
font: 'title-2xl',
39+
color: 'heading'
3940
});
4041

4142
const header = style({
4243
gridArea: 'header',
4344
marginX: {
4445
sm: 'auto'
4546
},
46-
font: 'body-lg'
47+
font: 'body'
4748
});
4849

4950
const content = style({

0 commit comments

Comments
 (0)