fix font-weight in dark theme with unsupported fonts (#1964)
authorAjay Bura <32841439+ajbura@users.noreply.github.com>
Sun, 22 Sep 2024 12:31:32 +0000 (22:31 +1000)
committerGitHub <noreply@github.com>
Sun, 22 Sep 2024 12:31:32 +0000 (22:31 +1000)
src/config.css.ts

index df04b909630f692069d5cadfcadb26de19a70fca..5d63c34abadb8c92e684b9cc5e1dac00415b748f 100644 (file)
@@ -5,7 +5,7 @@ export const onLightFontWeight = createTheme(config.fontWeight, {
   W100: '100',
   W200: '200',
   W300: '300',
-  W400: '420',
+  W400: '400',
   W500: '500',
   W600: '600',
   W700: '700',
@@ -17,10 +17,10 @@ export const onDarkFontWeight = createTheme(config.fontWeight, {
   W100: '100',
   W200: '200',
   W300: '300',
-  W400: '350',
-  W500: '450',
-  W600: '550',
-  W700: '650',
-  W800: '750',
-  W900: '850',
+  W400: '400',
+  W500: '500',
+  W600: '600',
+  W700: '700',
+  W800: '800',
+  W900: '900',
 });