diff --git a/input.css b/input.css index ce3f3d6c..a5261f43 100644 --- a/input.css +++ b/input.css @@ -13,23 +13,55 @@ @font-face { font-family: "InterVariable"; src: url("/static/fonts/InterVariable-Italic.woff2") format("woff2"); - font-weight: 400; + font-weight: normal; font-style: italic; font-display: swap; } @font-face { font-family: "InterVariable"; - src: url("/static/fonts/InterVariable.woff2") format("woff2"); - font-weight: 600; + src: url("/static/fonts/InterDisplay-Bold.woff2") format("woff2"); + font-weight: bold; font-style: normal; font-display: swap; } + @font-face { + font-family: "InterVariable"; + src: url("/static/fonts/InterDisplay-BoldItalic.woff2") format("woff2"); + font-weight: bold; + font-style: italic; + font-display: swap; + } + @font-face { font-family: "IBMPlexMono"; src: url("/static/fonts/IBMPlexMono-Regular.woff2") format("woff2"); font-weight: normal; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "IBMPlexMono"; + src: url("/static/fonts/IBMPlexMono-Italic.woff2") format("woff2"); + font-weight: normal; + font-style: italic; + font-display: swap; + } + + @font-face { + font-family: "IBMPlexMono"; + src: url("/static/fonts/IBMPlexMono-Bold.woff2") format("woff2"); + font-weight: bold; + font-style: normal; + font-display: swap; + } + + @font-face { + font-family: "IBMPlexMono"; + src: url("/static/fonts/IBMPlexMono-BoldItalic.woff2") format("woff2"); + font-weight: bold; font-style: italic; font-display: swap; } diff --git a/nix/pkgs/appview-static-files.nix b/nix/pkgs/appview-static-files.nix index a4f2a71f..18adbfdf 100644 --- a/nix/pkgs/appview-static-files.nix +++ b/nix/pkgs/appview-static-files.nix @@ -22,7 +22,7 @@ runCommandLocal "appview-static-files" { cp -rf ${lucide-src}/*.svg icons/ cp -f ${inter-fonts-src}/web/InterVariable*.woff2 fonts/ cp -f ${inter-fonts-src}/web/InterDisplay*.woff2 fonts/ - cp -f ${ibm-plex-mono-src}/fonts/complete/woff2/IBMPlexMono-Regular.woff2 fonts/ + cp -f ${ibm-plex-mono-src}/fonts/complete/woff2/IBMPlexMono*.woff2 fonts/ # tailwindcss -c $src/tailwind.config.js -i $src/input.css -o tw.css won't work # for whatever reason (produces broken css), so we are doing this instead cd ${src} && ${tailwindcss}/bin/tailwindcss -i input.css -o $out/tw.css