2
0
mirror of https://github.com/frappe/books.git synced 2024-11-08 14:50:56 +00:00

feat: Add Inter font

This commit is contained in:
Faris Ansari 2019-10-04 23:25:28 +05:30
parent f040d397bf
commit d407547b84
4 changed files with 19 additions and 1 deletions

View File

@ -1,5 +1,5 @@
<template>
<div id="app" class="h-screen flex flex-col">
<div id="app" class="h-screen flex flex-col bg-white font-sans">
<Desk class="flex-1" v-if="showDesk" />
<database-selector v-if="showDatabaseSelector" @file="connectToDBFile" />
<setup-wizard v-if="showSetupWizard" />

Binary file not shown.

View File

@ -1,3 +1,18 @@
@font-face {
font-family: 'Inter var experimental';
font-weight: 100 900;
font-display: swap;
font-style: oblique 0deg 10deg;
src: url('../assets/fonts/Inter.var.woff2') format('woff2');
}
* {
font-variation-settings: 'slnt' 0deg;
}
.italic {
font-variation-settings: 'slnt' 10deg;
}
@tailwind base;
@tailwind components;

View File

@ -1,5 +1,8 @@
module.exports = {
theme: {
fontFamily: {
'sans': ['Inter var experimental', 'sans-serif'],
},
extend: { }
},
variants: {