From f59d26ba8f7b22ba27f70c0812e63f6f1e79f79a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ya=C3=ABl=20GUILLOUX?= Date: Wed, 23 Nov 2022 16:06:39 +0100 Subject: [PATCH] fix(fonts): update fonts from @nuxt-themes/tokens update --- assets/css/main.css | 2 +- components/content/TabsHeader.vue | 2 +- components/content/Terminal.vue | 4 ++-- pnpm-lock.yaml | 14 +++++++------- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/assets/css/main.css b/assets/css/main.css index c904d9654..add8f6539 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -56,7 +56,7 @@ body { -moz-osx-font-smoothing: grayscale; background: $dt('colors.neutral.white'); color: $dt('colors.gray.700'); - font-family: $dt('font.sans'); + font-family: $dt('fonts.sans'); @dark { background: $dt('colors.neutral.black'); diff --git a/components/content/TabsHeader.vue b/components/content/TabsHeader.vue index 7498382eb..824318d57 100644 --- a/components/content/TabsHeader.vue +++ b/components/content/TabsHeader.vue @@ -92,7 +92,7 @@ css({ py: '{space.2-5}', px: '{space.4}', position: 'relative', - fontFamily: '{font.mono}', + fontFamily: '{fonts.mono}', fontSize: '{text.sm.fontSize}', lineHeight: '{text.sm.lineHeight}', letterSpacing: '{letterSpacings.tight}', diff --git a/components/content/Terminal.vue b/components/content/Terminal.vue index 959ff3f4a..7faa10a66 100644 --- a/components/content/Terminal.vue +++ b/components/content/Terminal.vue @@ -137,14 +137,14 @@ css({ alignItems: 'center', justifyContent: 'center', fontWeight: '{fontWeights.semibold}', - fontFamily: '{font.mono}' + fontFamily: '{fonts.mono}' } }, '.window': { display: 'flex', flex: '1 1 0%', padding: '{space.4}', - fontFamily: '{font.mono}', + fontFamily: '{fonts.mono}', '.sign': { marginRight: '{space.2}', display: 'inline-block', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4eb4d45ec..4cff95cbd 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,8 +28,8 @@ dependencies: '@docsearch/js': 3.3.0_tbpndr44ulefs3hehwpi2mkf2y '@fontsource/inter': 4.5.14 '@iconify/vue': 4.0.0_vue@3.2.45 - '@nuxt-themes/tokens': 1.1.11_vue@3.2.45 - '@nuxt-themes/typography': 0.0.23_vue@3.2.45 + '@nuxt-themes/tokens': 1.1.12_vue@3.2.45 + '@nuxt-themes/typography': 0.0.24_vue@3.2.45 '@nuxt/content': 2.2.2 '@nuxthq/studio': 0.2.6 '@nuxtjs/algolia': 1.2.0_vue@3.2.45 @@ -653,8 +653,8 @@ packages: '@nodelib/fs.scandir': 2.1.5 fastq: 1.13.0 - /@nuxt-themes/tokens/1.1.11_vue@3.2.45: - resolution: {integrity: sha512-aJb5SlAwvZBcj6Ax8oiljnQt9VufoPbu/gyb3Vf4btnRUeNhTNxcnNtNg70uu2xLX5sB2UDPuJekLpo3EiFc1g==} + /@nuxt-themes/tokens/1.1.12_vue@3.2.45: + resolution: {integrity: sha512-NxhOhzazzp+Qm4MrXlgvwa+UIej4G/H32axNzYlIsaadPkfGpw0EwkqqTppQvITWoTL1SVIZopEWCLy1ujsYUQ==} dependencies: '@nuxtjs/color-mode': 3.1.8 '@vueuse/core': 9.6.0_vue@3.2.45 @@ -669,10 +669,10 @@ packages: - vue dev: false - /@nuxt-themes/typography/0.0.23_vue@3.2.45: - resolution: {integrity: sha512-kH9tgo5HMkVyNx0ldNBsWgwUQ+hx6xfTzwoQm/zAnMhuj1eqwgPv79u+X3HahjhE7pURDoUPPMtyDX2mFLMCbQ==} + /@nuxt-themes/typography/0.0.24_vue@3.2.45: + resolution: {integrity: sha512-WJV2AO7bDP32Au8o7S+0eMUNeXKsH6VYKoz2feXdOaHk9Wu+sb0AUMR/+bHQAUva6m7uavLAlTb/AVinO/BYhA==} dependencies: - '@nuxt-themes/tokens': 1.1.11_vue@3.2.45 + '@nuxt-themes/tokens': 1.1.12_vue@3.2.45 '@nuxtjs/color-mode': 3.1.8 nuxt-icon: 0.1.7_vue@3.2.45 pinceau: 0.6.26