Skip to content

Commit

Permalink
fix: custom fonts not correctly loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaPipolo committed Feb 8, 2024
1 parent c6a15b7 commit 1839c30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions wp-content/themes/somoscuatro/assets/styles/global/_fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
font-style: normal;
font-weight: 300 700;
font-display: swap;
src: url(../../fonts/jost.woff2) format("woff2");
src: url(../fonts/jost.woff2) format("woff2");
}
}

Expand All @@ -16,6 +16,6 @@
font-style: normal;
font-weight: 400 700;
font-display: swap;
src: url(../../fonts/syne.woff2) format("woff2");
src: url(../fonts/syne.woff2) format("woff2");
}
}
4 changes: 1 addition & 3 deletions wp-content/themes/somoscuatro/assets/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,14 @@
@import "tailwindcss/utilities";

/** Import files */
@import "./global/_fonts.css";
@import "./global/_typo.css";
@import "./blocks/_testimonials.css";

/** Import Tailwind CSS Config */
/* stylelint-disable-next-line at-rule-no-unknown */
@config "../../tailwind.config.js";

/** Import custom fonts */
@import "./global/_fonts.css";

html {

@apply text-anti-flash-white-900;
Expand Down

0 comments on commit 1839c30

Please sign in to comment.