Skip to content

Commit

Permalink
Scale down code block font size to match Figma design (#76)
Browse files Browse the repository at this point in the history
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
  • Loading branch information
lloydjatkinson and delucis committed May 19, 2023
1 parent e4b72c7 commit 5e82073
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/eight-cougars-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@astrojs/starlight": patch
---

Scale down code block font size to match Figma design
2 changes: 1 addition & 1 deletion packages/starlight/style/props.css
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

--sl-text-body: var(--sl-text-base);
--sl-text-body-sm: var(--sl-text-xs);
--sl-text-code: var(--sl-text-base);
--sl-text-code: var(--sl-text-sm);
--sl-text-code-sm: var(--sl-text-xs);
--sl-text-h1: var(--sl-text-4xl);
--sl-text-h2: var(--sl-text-3xl);
Expand Down

0 comments on commit 5e82073

Please sign in to comment.