Skip to content

Commit

Permalink
feat: add inter variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ardasevinc committed Oct 12, 2023
1 parent c076b13 commit 3a64992
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@astrojs/react": "^3.0.3",
"@astrojs/sitemap": "^3.0.1",
"@astrojs/tailwind": "^5.0.1",
"@fontsource-variable/inter": "^5.0.13",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"astro": "^3.2.3",
Expand Down
7 changes: 7 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions tailwind.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme');

module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
Expand All @@ -12,6 +14,9 @@ module.exports = {
linkedin: '#0077B5',
youtube: '#FF0000',
},
fontFamily: {
sans: ['InterVariable', 'Inter', ...defaultTheme.fontFamily.sans],
},
},
},
plugins: [],
Expand Down

0 comments on commit 3a64992

Please sign in to comment.