Skip to content

Commit d13ea94

Browse files
committed
fix(styles): default line heights
Signed-off-by: Cory Rylan <crylan@nvidia.com>
1 parent 29211a7 commit d13ea94

7 files changed

Lines changed: 270 additions & 154 deletions

File tree

‎projects/site/src/docs/foundations/typography.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,10 @@ See the links below for specific integration patterns for the following framewor
8989

9090
{% example '@nvidia-elements/styles/typography.examples.json' 'Headings' %}
9191

92+
## Code
93+
94+
{% example '@nvidia-elements/styles/typography.examples.json' 'Code' %}
95+
9296
## Size
9397

9498
{% example '@nvidia-elements/styles/typography.examples.json' 'Size' %}
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

‎projects/styles/src/index.test.lighthouse.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe('lighthouse report', () => {
2323
});
2424

2525
test('typography.css should remain within compressed bundle limits',async()=>{
26-
expect(report.payload.css.requests['typography.css']!.kb).toBeLessThan(1.65);
26+
expect(report.payload.css.requests['typography.css']!.kb).toBeLessThan(1.85);
2727
});
2828

2929
test('view-transitions.css should remain within compressed bundle limits',async()=>{

0 commit comments

Comments
 (0)