Browse Source

fix: Changed font weights

pull/6749/head
Muhammed Mustafa 1 year ago
parent
commit
f4edaabdbb
  1. 1
      packages/nc-gui/assets/style/fonts.css
  2. 9
      packages/nc-gui/windi.config.ts

1
packages/nc-gui/assets/style/fonts.css

@ -2,6 +2,7 @@
@font-face { @font-face {
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */ font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
font-family: 'Manrope'; font-family: 'Manrope';
font-weight: 450 900;
src: url('./manrope/Manrope-VariableFont_wght.ttf') format('truetype') src: url('./manrope/Manrope-VariableFont_wght.ttf') format('truetype')
} }

9
packages/nc-gui/windi.config.ts

@ -69,6 +69,15 @@ export default defineConfig({
min: '1780px', min: '1780px',
}, },
}, },
fontWeight: {
thin: 150,
extraLight: 250,
light: 350,
normal: 450,
medium: 550,
bold: 650,
black: 750,
},
textColor: { textColor: {
primary: 'rgba(var(--color-primary), var(--tw-text-opacity))', primary: 'rgba(var(--color-primary), var(--tw-text-opacity))',
accent: 'rgba(var(--color-accent), var(--tw-text-opacity))', accent: 'rgba(var(--color-accent), var(--tw-text-opacity))',

Loading…
Cancel
Save