Skip to content

Commit

Permalink
change font
Browse files Browse the repository at this point in the history
  • Loading branch information
onnenon committed Apr 30, 2024
1 parent 12fd696 commit eeaf327
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 12 deletions.
Binary file added dist/fonts/mononoki-Bold.woff2
Binary file not shown.
Binary file added dist/fonts/mononoki-Regular.woff2
Binary file not shown.
32 changes: 22 additions & 10 deletions dist/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,26 @@
font-style: normal;
}

@font-face {
font-family: "Mononoki";

src: url("fonts/mononoki-Regular.woff2") format("woff2");

font-weight: normal;

font-style: normal;
}

@font-face {
font-family: "Mononoki";

src: url("fonts/mononoki-Bold.woff2") format("woff2");

font-weight: bold;

font-style: normal;
}

/*
! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
*/
Expand Down Expand Up @@ -151,7 +171,7 @@ code,
kbd,
samp,
pre {
font-family: Cascadia Code, monospace;
font-family: Mononoki, monospace;
/* 1 */
font-feature-settings: normal;
/* 2 */
Expand Down Expand Up @@ -617,20 +637,12 @@ video {
padding: .8em;
}

.pr-4{
padding-right: 1rem;
}

.pr-5{
padding-right: 1.25rem;
}

.pr-6{
padding-right: 1.5rem;
}

.font-mono{
font-family: Cascadia Code, monospace;
font-family: Mononoki, monospace;
}

.text-\[14vw\]{
Expand Down
14 changes: 14 additions & 0 deletions src/input.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@
font-style: normal;
}

@font-face {
font-family: "Mononoki";
src: url("fonts/mononoki-Regular.woff2") format("woff2");
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "Mononoki";
src: url("fonts/mononoki-Bold.woff2") format("woff2");
font-weight: bold;
font-style: normal;
}

@tailwind base;
@tailwind components;
@tailwind utilities;
3 changes: 1 addition & 2 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ module.exports = {
fontFamily: {
sans: ["Titillium Web, Open Sans", "sans-serif"],
serif: ["Merriweather", "serif"],
mono: ["Cascadia Code", "monospace"],
// mono: ["Ubuntu Mono", "monospace"],
mono: ["Mononoki", "monospace"],
},
colors: {
"prime-white": "#e6edf3",
Expand Down

0 comments on commit eeaf327

Please sign in to comment.