diff options
author | Jean-Nicolas Veigel <art.jnveigel@gmail.com> | 2024-03-16 03:54:16 +0100 |
---|---|---|
committer | Louis Pilfold <louis@lpil.uk> | 2024-03-26 10:31:25 +0000 |
commit | a2db58855e1102d38ae2a151cfe04141d429266c (patch) | |
tree | 423eeb0a7f69886d38915e7d0aadbab89eb244a2 /static/css/fonts.css | |
parent | d5f3d8b2ba17c64f2e4ca7365219b643ac27ed3f (diff) | |
download | tour-a2db58855e1102d38ae2a151cfe04141d429266c.tar.gz tour-a2db58855e1102d38ae2a151cfe04141d429266c.zip |
style: add support for more color schemes
toggle between light & dark variants
Diffstat (limited to 'static/css/fonts.css')
-rw-r--r-- | static/css/fonts.css | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/static/css/fonts.css b/static/css/fonts.css new file mode 100644 index 0000000..1f07a2e --- /dev/null +++ b/static/css/fonts.css @@ -0,0 +1,28 @@ +@font-face { + font-family: "Lexend"; + font-display: swap; + font-weight: 400; + src: url("https://gleam.run/fonts/Lexend.woff2") format("woff2"); +} + +@font-face { + font-family: "Lexend"; + font-display: swap; + font-weight: 700; + src: url("https://gleam.run/fonts/Lexend-700.woff2") format("woff2"); +} + +@font-face { + font-family: "Outfit"; + font-display: swap; + src: url("https://gleam.run/fonts/Outfit.woff") format("woff"); +} + +:root { + --font-family-normal: "Outfit", sans-serif; + --font-family-title: "Lexend", sans-serif; + + --font-size-normal: calc(var(--gap) * 1.5); + --font-size-small: calc(var(--gap) * 1.2); + --font-size-extra-small: calc(var(--gap)); +}
\ No newline at end of file |