Browse Source

Revert "feat: reduce number of font sizes used"

This reverts commit 965e6dfb26.
Using variable fonts means modern browsers don't need to load different the font sizes anymore.
pull/2/head
Muthu Kumar 5 months ago
parent
commit
48ca3dd5cf
  1. 2
      src/components/Exp/Content.tsx
  2. 1
      src/components/Exp/Story.tsx
  3. 2
      src/index.css

2
src/components/Exp/Content.tsx

@ -80,7 +80,7 @@ const btn = css`
} }
& h5 { & h5 {
font-weight: 500; font-weight: 400;
margin-block-start: 0.2rem; margin-block-start: 0.2rem;
} }
`; `;

1
src/components/Exp/Story.tsx

@ -22,6 +22,7 @@ const story = css`
column-count: 3; column-count: 3;
column-gap: 2.5rem; column-gap: 2.5rem;
color: var(--text-subdued); color: var(--text-subdued);
font-weight: 400;
& p { & p {
font-size: 0.9rem; font-size: 0.9rem;

2
src/index.css

@ -5,7 +5,7 @@
--card-tags-hover: rgb(25, 25, 25); --card-tags-hover: rgb(25, 25, 25);
--primary-colour: rgb(255, 85, 85); --primary-colour: rgb(255, 85, 85);
--text-colour: rgb(211, 207, 201); --text-colour: rgb(211, 207, 201);
--text-subdued: rgb(130, 130, 130); --text-subdued: rgb(150, 150, 150);
--card-active: rgb(45, 45, 45); --card-active: rgb(45, 45, 45);
--card-active-border: rgb(60, 60, 60); --card-active-border: rgb(60, 60, 60);
--card-hover: rgb(15, 15, 15); --card-hover: rgb(15, 15, 15);

Loading…
Cancel
Save