diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-12-02 02:24:18 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-12-02 02:24:18 +0100 |
commit | 1e5a920790e470116a7314ad66ee26cb8fa27a37 (patch) | |
tree | 988c376ffbaa77e4d82a6236e37bdd122265b400 | |
parent | 02b46a0062db61061a6683c7d498c6e700a384d0 (diff) |
Remove Vollkorn
-rwxr-xr-x | gen-fonts | 22 | ||||
-rw-r--r-- | src/fonts/vollkorn-italic.woff2 | bin | 13796 -> 0 bytes | |||
-rw-r--r-- | src/fonts/vollkorn-regular.woff2 | bin | 13216 -> 0 bytes | |||
-rw-r--r-- | src/style.css | 16 |
4 files changed, 2 insertions, 36 deletions
@@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/sh . /usr/share/nvm/init-nvm.sh @@ -6,26 +6,6 @@ make mkdir -p src/fonts uni=`find out -name '*.html' | xargs glyphhanger \ - --cssSelector=':not(code, pre, kbd, samp)'` - -pyftsubset /usr/share/fonts/WOFF2/Vollkorn-Regular.woff2 \ - --output-file=src/fonts/vollkorn-regular.woff2 \ - --flavor=woff2 \ - --layout-features-=locl \ - --layout-features+=lnum \ - --unicodes="$uni" \ - --no-hinting \ - --desubroutinize -pyftsubset /usr/share/fonts/WOFF2/Vollkorn-Italic.woff2 \ - --output-file=src/fonts/vollkorn-italic.woff2 \ - --flavor=woff2 \ - --layout-features-=locl \ - --layout-features+=lnum \ - --unicodes="$uni" \ - --no-hinting \ - --desubroutinize - -uni=`find out -name '*.html' | xargs glyphhanger \ --cssSelector='code, pre, kbd, samp, :where(code, pre, kbd, samp) *'` pyftsubset /usr/share/fonts/iosevka-smooth/woff2-unhinted/iosevka-smooth-regular.woff2 \ diff --git a/src/fonts/vollkorn-italic.woff2 b/src/fonts/vollkorn-italic.woff2 Binary files differdeleted file mode 100644 index a1443cf..0000000 --- a/src/fonts/vollkorn-italic.woff2 +++ /dev/null diff --git a/src/fonts/vollkorn-regular.woff2 b/src/fonts/vollkorn-regular.woff2 Binary files differdeleted file mode 100644 index 0c72d62..0000000 --- a/src/fonts/vollkorn-regular.woff2 +++ /dev/null diff --git a/src/style.css b/src/style.css index a418a11..6581e9d 100644 --- a/src/style.css +++ b/src/style.css @@ -1,5 +1,5 @@ :root { - --serif: Vollkorn; + --serif: serif; --mono: 'Iosevka Smooth'; --bg: #1D1F21; --fg: #C5C8C6; @@ -16,20 +16,6 @@ } @font-face { - font-family: Vollkorn; - src: url('fonts/vollkorn-regular.woff2') format('woff2'); - font-weight: normal; - font-style: normal; -} - -@font-face { - font-family: Vollkorn; - src: url('fonts/vollkorn-italic.woff2') format('woff2'); - font-weight: normal; - font-style: italic; -} - -@font-face { font-family: 'Iosevka Smooth'; src: url('fonts/iosevka-regular.woff2') format('woff2'); font-weight: normal; |