Skip to content

Commit

Permalink
Remove inter font completely
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Sep 6, 2023
1 parent b823c1d commit 77ace7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/views/_tailwind/application/_html_head.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<%# TODO: Only load the font weights that we're actually using so that this is faster %>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;200;300;400;500;600;700;800;900&family=Inter:wght@500;600;800&family=Merriweather:wght@300;400;500;700;900&display=fallback" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@100;200;300;400;500;600;700;800;900&family=Merriweather:wght@300;400;500;700;900&display=fallback" rel="stylesheet">
<%= javascript_include_tag "https://unpkg.com/[email protected]/dist/cdn.min.js", defer: true %>
<%= javascript_include_tag "tailwind/application" %>
3 changes: 1 addition & 2 deletions config/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ module.exports = {
extend: {
fontFamily: {
sans: ['Fira Sans', ...defaultTheme.fontFamily.sans],
display: ['Merriweather', ...defaultTheme.fontFamily.serif],
logo: ['Inter', ...defaultTheme.fontFamily.sans]
display: ['Merriweather', ...defaultTheme.fontFamily.serif]
},
backgroundImage: {
'header-pattern': "url('tailwind/header-pattern.svg')",
Expand Down

0 comments on commit 77ace7d

Please sign in to comment.