Browse Source

Merge pull request #6749 from nocodb/nc-fix/font-weight

Changed font weights
pull/6750/head
Raju Udava 1 year ago committed by GitHub
parent
commit
666eebf5ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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