From 2065c87dc5a2d4499ba8688a883bf973f7206475 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sat, 17 Feb 2024 16:45:24 +0000 Subject: [PATCH] Global and reusable styles for fonts and colors --- web/src/styles/typography.css | 12 ++++++++++-- web/src/styles/values.css | 3 ++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/web/src/styles/typography.css b/web/src/styles/typography.css index 214771b..eb29ddf 100644 --- a/web/src/styles/typography.css +++ b/web/src/styles/typography.css @@ -16,15 +16,23 @@ code { monospace; } -.heading, h1, h2, h3, h4, h5, h6 { +.heading, h1 { font-family: "Libre Franklin", sans-serif; font-optical-sizing: auto; font-weight: 800; font-style: normal; } -.subtitle { +.subtitle, h2, h3, h4, h5, h6 { font-family: "Lekton", sans-serif; font-weight: 700; font-style: normal; } + +html, body, p, a, ul, ol, li, blockquote, pre, code, strong, i { + font-family: "Rubik", sans-serif; +} + +a { + color: var(--accent); +} diff --git a/web/src/styles/values.css b/web/src/styles/values.css index 94983ce..0d8bcbe 100644 --- a/web/src/styles/values.css +++ b/web/src/styles/values.css @@ -1,9 +1,10 @@ :root { - --accent: #f72b77; + --accent: #f45397; --accent-fg: #fff; --accent-2: #ffdf60; --accent-3: #5f53f4; + --accent-4: #28dffd; --foreground: #13151a;