Skip to content

Commit

Permalink
feat: extend font family w/ desired font: inter
Browse files Browse the repository at this point in the history
  • Loading branch information
Ademsk1 committed Oct 25, 2023
1 parent e43b12c commit 29da291
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/global.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;
1 change: 1 addition & 0 deletions stories/global.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');
@config "./tailwind.config.js";

@tailwind base;
Expand Down
5 changes: 4 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
/** @type {import('tailwindcss').Config} */
import colors from './src/colors'

import defaultTheme from 'tailwindcss/defaultTheme'
module.exports = {
content: ['./src/**/*.tsx'],
theme: {
colors: colors,
extend: {
fontFamily: {
sans: ['"Inter"', ...defaultTheme.fontFamily.sans]
},
strokeWidth: {
3: '4px',
4: '6px'
Expand Down

0 comments on commit 29da291

Please sign in to comment.