From eddba3c6526b270d6c45e5f2a7aa6b12b717cb66 Mon Sep 17 00:00:00 2001 From: Ajay Bura Date: Sun, 16 Jan 2022 14:17:23 +0530 Subject: [PATCH] Fix font weight for dark theme Signed-off-by: Ajay Bura --- src/font-face.css | 2 +- src/index.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/font-face.css b/src/font-face.css index 94fe4e3..dd165c3 100644 --- a/src/font-face.css +++ b/src/font-face.css @@ -36,7 +36,7 @@ @font-face { font-family: 'Inter'; src: url(../public/res/fonts/inter/Inter_vf_slant_weight.ttf); - font-weight: 380; + font-weight: 350; font-display: swap; } @font-face { diff --git a/src/index.scss b/src/index.scss index e24af32..a529b0c 100644 --- a/src/index.scss +++ b/src/index.scss @@ -227,7 +227,6 @@ /* text color | --tc-[background type]-[priority]: value */ - --ic-surface-high: rgb(255, 255, 255);; --tc-surface-high: rgba(255, 255, 255, 98%); --tc-surface-normal: rgba(255, 255, 255, 94%); --tc-surface-normal-low: rgba(255, 255, 255, 60%); @@ -242,6 +241,7 @@ --tc-badge: black; /* system icons | --ic-[background type]-[priority]: value */ + --ic-surface-high: rgb(255, 255, 255); --ic-surface-normal: rgba(255, 255, 255, 84%); --ic-surface-low: rgba(255, 255, 255, 64%); --ic-primary-normal: #ffffff; @@ -284,7 +284,7 @@ --fs-b3: 11.2px; /* override normal font weight for dark mode */ - --fw-normal: 380; + --fw-normal: 350; --font-secondary: 'Inter', 'Roboto', sans-serif; }