Skip to content

Commit

Permalink
font family
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabricevladimir committed Sep 20, 2023
1 parent 78146e1 commit 37ca1dc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions index.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
html {
font-family: var(--ods-font-family);
}
}
3 changes: 3 additions & 0 deletions src/styles/primitives/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@
--ods-line-height-normal: 1.5;
--ods-line-height-tight: 1.25;
--ods-line-height-relaxed: 1.65;

/******* Font Family *******/
--ods-font-family: "Manrope", sans-serif;
}
3 changes: 0 additions & 3 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,6 @@ module.exports = {
xl: 'var(--ods-breakpoint-xl)',
'2xl': 'var(--ods-breakpoint-2xl)',
},
fontFamily: {
sans: ['Manrope'],
},
fontSize: {
xs: 'var(--ods-font-size-xs:)',
sm: 'var(--ods-font-size-sm:)',
Expand Down

0 comments on commit 37ca1dc

Please sign in to comment.