From 236919b4e6ce0c144ca4d5f12ab96a90de2042c2 Mon Sep 17 00:00:00 2001 From: eugenesvk Date: Wed, 3 May 2023 23:07:56 +0700 Subject: Update font-extend to include font-prepend --- sass/_font-extend-COPY-ME.sass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sass/_font-extend-COPY-ME.sass') diff --git a/sass/_font-extend-COPY-ME.sass b/sass/_font-extend-COPY-ME.sass index f1f6262..658ebbd 100644 --- a/sass/_font-extend-COPY-ME.sass +++ b/sass/_font-extend-COPY-ME.sass @@ -4,11 +4,14 @@ // copy this file to your 'sass' folder: // either: remove the leading '_' and add 'font-extend-COPY-ME.css' to your 'stylesheets' in 'config.toml' // or : import it with '@use "_font-extend-COPY-ME"' in whatever existing sass file you already load + +// delete the following two lines if you want to prepend your fonts... $findFont-Main : "Segoe UI" // ← append custom MAIN font(s) AFTER this (full list @ '_variables.scss') $findFont-Code : "Segoe UI Mono" // ← append custom CODE font(s) AFTER this $fontExt-Main : ("MAIN FONT 1", "MAIN FONT 2") // list of custom MAIN font(s) to append $fontExt-Code : ("CODE FONT 1", "CODE FONT 2") // list of custom CODE font(s) to append +// ...and delete the corresponding variables ↓ @use "../themes/abridge/sass/font-extend" with($findFont-Main:$findFont-Main, $findFont-Code:$findFont-Code,$fontExt-Main:$fontExt-Main,$fontExt-Code:$fontExt-Code) // check ↑ relative path if you copy this file to some other location -- cgit v1.3.1