Fix font weight for dark theme

Signed-off-by: Ajay Bura <ajbura@gmail.com>
This commit is contained in:
Ajay Bura 2022-01-16 14:17:23 +05:30
parent f0c9a458bb
commit eddba3c652
2 changed files with 3 additions and 3 deletions

View file

@ -36,7 +36,7 @@
@font-face { @font-face {
font-family: 'Inter'; font-family: 'Inter';
src: url(../public/res/fonts/inter/Inter_vf_slant_weight.ttf); src: url(../public/res/fonts/inter/Inter_vf_slant_weight.ttf);
font-weight: 380; font-weight: 350;
font-display: swap; font-display: swap;
} }
@font-face { @font-face {

View file

@ -227,7 +227,6 @@
/* text color | --tc-[background type]-[priority]: value */ /* text color | --tc-[background type]-[priority]: value */
--ic-surface-high: rgb(255, 255, 255);;
--tc-surface-high: rgba(255, 255, 255, 98%); --tc-surface-high: rgba(255, 255, 255, 98%);
--tc-surface-normal: rgba(255, 255, 255, 94%); --tc-surface-normal: rgba(255, 255, 255, 94%);
--tc-surface-normal-low: rgba(255, 255, 255, 60%); --tc-surface-normal-low: rgba(255, 255, 255, 60%);
@ -242,6 +241,7 @@
--tc-badge: black; --tc-badge: black;
/* system icons | --ic-[background type]-[priority]: value */ /* system icons | --ic-[background type]-[priority]: value */
--ic-surface-high: rgb(255, 255, 255);
--ic-surface-normal: rgba(255, 255, 255, 84%); --ic-surface-normal: rgba(255, 255, 255, 84%);
--ic-surface-low: rgba(255, 255, 255, 64%); --ic-surface-low: rgba(255, 255, 255, 64%);
--ic-primary-normal: #ffffff; --ic-primary-normal: #ffffff;
@ -284,7 +284,7 @@
--fs-b3: 11.2px; --fs-b3: 11.2px;
/* override normal font weight for dark mode */ /* override normal font weight for dark mode */
--fw-normal: 380; --fw-normal: 350;
--font-secondary: 'Inter', 'Roboto', sans-serif; --font-secondary: 'Inter', 'Roboto', sans-serif;
} }