diff --git a/pkgs/clan-app/fonts.nix b/pkgs/clan-app/fonts.nix index e9cd9b730..bcd6ff32a 100644 --- a/pkgs/clan-app/fonts.nix +++ b/pkgs/clan-app/fonts.nix @@ -1,6 +1,5 @@ { fetchurl, - fetchzip, runCommand, }: let @@ -45,10 +44,9 @@ let }; }; - commitMono = fetchzip { - url = "https://github.com/eigilnikolajsen/commit-mono/releases/download/v1.143/CommitMono-1.143.zip"; - stripRoot = false; - hash = "sha256-JTyPgWfbWq+lXQU/rgnyvPG6+V3f+FB5QUkd+I1oFKE="; + commitMono = fetchurl { + url = "https://github.com/eigilnikolajsen/commit-mono/raw/0b3b192f035cdc8d1ea8ffb5463cc23d73d0b89f/src/fonts/fontlab/CommitMonoV143-VF.woff2"; + hash = "sha256-80LKbD8ll+bA/NhLPz7WTTzlvbbQrxnRkNZFpVixzyk="; }; in @@ -63,5 +61,5 @@ runCommand "" { } '' cp ${archivoSemi.medium} $out/ArchivoSemiCondensed-Medium.woff2 cp ${archivoSemi.semiBold} $out/ArchivoSemiCondensed-SemiBold.woff2 - cp ${commitMono}/CommitMono-1.143/CommitMono-400-Regular.otf $out/CommitMono-400-Regular.otf + cp ${commitMono} $out/CommitMonoV143-VF.woff2 '' diff --git a/pkgs/clan-app/ui/src/index.css b/pkgs/clan-app/ui/src/index.css index 00d98f451..f14d47c7f 100644 --- a/pkgs/clan-app/ui/src/index.css +++ b/pkgs/clan-app/ui/src/index.css @@ -43,7 +43,7 @@ @font-face { font-family: "Commit Mono"; font-weight: 400; - src: url(../.fonts/CommitMono-400-Regular.otf) format("otf"); + src: url(../.fonts/CommitMonoV143-VF.woff2) format("woff2"); } html {