Skip to content

Commit

Permalink
Adjust line heights
Browse files Browse the repository at this point in the history
  • Loading branch information
calebjacob committed Nov 12, 2024
1 parent 2f68e39 commit 279520f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@near-pagoda/ui",
"version": "2.0.10",
"version": "2.0.11",
"description": "A React component library that implements the official NEAR design system.",
"license": "MIT",
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Input.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@
}

[data-textarea='true'] & {
line-height: 1.5;
line-height: 1.4;
padding: 8px 12px;
height: unset;
min-height: 4rem;
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tooltip.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
z-index: 1000;
max-width: 30rem;
font-size: 0.8rem;
line-height: 1.5;
line-height: 1.4;
word-break: break-word;
font-family: sans-serif;
box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.1);
Expand Down
2 changes: 1 addition & 1 deletion src/styles/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

body {
font-size: 100%;
line-height: 1.5;
line-height: 1.4;
-webkit-font-smoothing: antialiased;
}

Expand Down
6 changes: 3 additions & 3 deletions src/styles/_theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
--icon-size-xl: 3.25rem;

--text-2xs: 400 10px/1.3 'Mona Sans', sans-serif;
--text-xs: 400 12px/1.4 'Mona Sans', sans-serif;
--text-s: 400 14px/1.5 'Mona Sans', sans-serif;
--text-base: 400 16px/1.5 'Mona Sans', sans-serif;
--text-xs: 400 12px/1.35 'Mona Sans', sans-serif;
--text-s: 400 14px/1.4 'Mona Sans', sans-serif;
--text-base: 400 16px/1.4 'Mona Sans', sans-serif;
--text-l: 500 20px/1.3 'FK Grotesk', 'Mona Sans', sans-serif;
--text-xl: 500 24px/1.3 'FK Grotesk', 'Mona Sans', sans-serif;
--text-2xl: 500 30px/1.2 'FK Grotesk', 'Mona Sans', sans-serif;
Expand Down

0 comments on commit 279520f

Please sign in to comment.