Set default font to Inter
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// https://tailwindcss.com/docs/configuration
|
||||
|
||||
const plugin = require("tailwindcss/plugin")
|
||||
const defaultTheme = require('tailwindcss/defaultTheme')
|
||||
const fs = require("fs")
|
||||
const path = require("path")
|
||||
|
||||
@@ -15,7 +16,10 @@ module.exports = {
|
||||
extend: {
|
||||
colors: {
|
||||
brand: "#D4AF37",
|
||||
}
|
||||
},
|
||||
fontFamily: {
|
||||
sans: ['InterVariable', ...defaultTheme.fontFamily.sans],
|
||||
},
|
||||
},
|
||||
},
|
||||
plugins: [
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
<.live_title suffix=" · Phoenix Framework">
|
||||
<%= assigns[:page_title] || "MusicLibrary" %>
|
||||
</.live_title>
|
||||
<link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
|
||||
<link phx-track-static rel="stylesheet" href={~p"/assets/app.css"} />
|
||||
<script defer phx-track-static type="text/javascript" src={~p"/assets/app.js"}>
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user