Skip to content

Commit

Permalink
feat(ui): add new font
Browse files Browse the repository at this point in the history
  • Loading branch information
sentriz committed Dec 7, 2022
1 parent 51a56f8 commit e5b601c
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 0 deletions.
18 changes: 18 additions & 0 deletions web/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,21 @@
.max-w-lg { max-width: theme('screens.lg'); }
.max-w-xl { max-width: theme('screens.xl'); }
}

@font-face {
font-family: 'Inconsolata';
font-style: normal;
font-weight: 500;
src: local(''),
url('/inconsolata-v31-latin-500.woff2') format('woff2'),
url('/inconsolata-v31-latin-500.woff') format('woff');
}

@font-face {
font-family: 'Inconsolata';
font-style: normal;
font-weight: 600;
src: local(''),
url('/inconsolata-v31-latin-600.woff2') format('woff2'),
url('/inconsolata-v31-latin-600.woff') format('woff');
}
Binary file added web/public/inconsolata-v31-latin-500.woff
Binary file not shown.
Binary file added web/public/inconsolata-v31-latin-500.woff2
Binary file not shown.
Binary file added web/public/inconsolata-v31-latin-600.woff
Binary file not shown.
Binary file added web/public/inconsolata-v31-latin-600.woff2
Binary file not shown.
5 changes: 5 additions & 0 deletions web/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ const colors = require('tailwindcss/colors')
module.exports = {
content: ['index.html', './components/**/*.vue'],
theme: {
fontFamily: {
sans: ['Inconsolata', 'sans-serif'],
serif: ['serif'],
mono: ['monospace'],
},
screens: {
sm: '640px',
md: '768px',
Expand Down

0 comments on commit e5b601c

Please sign in to comment.