Skip to content

Commit 4138aa5

Browse files
committed
Added departure mono font
1 parent be8b4f2 commit 4138aa5

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

Diff for: build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ fn main() {
2626
}
2727
// adding templates
2828
if !Command::new("cp")
29-
.args(["-r", "frontend/templates", "dist/"])
29+
.args(["-r", "frontend/templates", "frontend/assets", "dist"])
3030
.status().unwrap().success() {
3131
println!("cargo::warning=Failed to copy files");
3232
panic!("Failed to copy template files")

Diff for: frontend/assets/DepartureMono-Regular.woff

19.3 KB
Binary file not shown.

Diff for: frontend/css/style.css

+7-1
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,14 @@
4545
@plugin "@tailwindcss/typography";
4646
@plugin "@tailwindcss/forms";
4747

48+
49+
@font-face {
50+
font-family: 'Departure Mono';
51+
src: url('assets/DepartureMono-Regular.woff') format('woff');
52+
}
53+
4854
body {
49-
font-family: 'Maple Mono NF', sans-serif;
55+
font-family: 'Departure Mono', sans-serif;
5056
}
5157

5258
.shortcut_key {

0 commit comments

Comments
 (0)