Skip to content

Commit

Permalink
Adding fontface
Browse files Browse the repository at this point in the history
  • Loading branch information
gotpop committed Nov 2, 2022
1 parent eb690c3 commit 918541c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
Binary file not shown.
8 changes: 7 additions & 1 deletion src/styles/typography.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
@import url("https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100;8..144,200;8..144,300;8..144,400;8..144,500;8..144,600;8..144,700;8..144,800;8..144,900;8..144,1000&display=swap');@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,100;8..144,200;8..144,300;8..144,400;8..144,500;8..144,600;8..144,700;8..144,800;8..144,900;8..144,1000&display=swap");
@font-face {
font-family: "RobotoFlex";
src: url("../../public/fonts/RobotoFlex-VariableFont_GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf") format("woff2-variations");
font-weight: 100 900;
font-stretch: 75% 125%;
font-style: normal;
}

@font-face {
font-family: PlakatoColorHappy2022;
Expand Down
2 changes: 1 addition & 1 deletion src/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
--size-s-3: calc(var(--size-s-2) / var(--scale));

--textOpacity: 0.9;
--font-primary: "Roboto Flex";
--font-primary: "RobotoFlex";
--font-fallback: " Arial, Helvetica, sans-serif";

--grid-columns: 1;
Expand Down

1 comment on commit 918541c

@vercel
Copy link

@vercel vercel bot commented on 918541c Nov 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui-system – ./

ui-system-git-main-teamgotpop.vercel.app
ui-system-teamgotpop.vercel.app
ui-system-gold.vercel.app

Please sign in to comment.