From 14d2ee86ae7b439c37c511d14e1221fdec76a530 Mon Sep 17 00:00:00 2001 From: tinger Date: Tue, 28 May 2024 20:02:06 +0200 Subject: [PATCH] Install Liberation fonts in CI --- .github/workflows/tests.yml | 2 +- docs/util.typ | 3 --- src/theme.typ | 4 ++-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 54193e6..7be21f1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,7 +15,7 @@ jobs: - name: Probe runner package cache uses: awalsh128/cache-apt-pkgs-action@latest with: - packages: imagemagick cargo fonts-noto-cjk + packages: imagemagick cargo fonts-liberation version: 1.0 - name: Install oxipng from crates.io diff --git a/docs/util.typ b/docs/util.typ index e1734cc..0af307b 100644 --- a/docs/util.typ +++ b/docs/util.typ @@ -5,6 +5,3 @@ #let issue(num) = text(eastern, link(package.repository + "/issues/" + str(num))[hydra\##num]) #let issues = text(eastern, link(package.repository + "/issues/")[GitHub:typst-community/mantodea]) - -#let raw-bg = gray.lighten(50%) -#let bbox = box.with(inset: (x: 0.25em), outset: (y: 0.25em), radius: 0.25em) diff --git a/src/theme.typ b/src/theme.typ index b09ea86..f379091 100644 --- a/src/theme.typ +++ b/src/theme.typ @@ -2,11 +2,11 @@ fonts: ( serif: ("Linux Libertine", "Liberation Serif"), sans: ("Liberation Sans", "Helvetica Neue", "Helvetica"), - mono: ("Liberation Mono", ), + mono: ("Liberation Mono",), text: ("Linux Libertine", "Liberation Serif"), headings: ("Liberation Sans", "Helvetica Neue", "Helvetica"), - code: ("Liberation Mono", ), + code: ("Liberation Mono",), ), colors: ( primary: eastern,