Skip to content

Open source personal finance application

fix: move font declarations from @theme static to @theme

Ilya Komichevd34067653d74
diff --git a/app/assets/css/theme.css b/app/assets/css/theme.css
index 41f78e88..9b24746f 100644
--- a/app/assets/css/theme.css
+++ b/app/assets/css/theme.css
@@ -100,13 +100,15 @@
--color-item-6: var(--item-6);
--color-item-7: var(--item-7);
- --font-brand: Nunito, Roboto, sans-serif;
- --font-primary: Roboto, sans-serif;
- --font-secondary: Unica One, Roboto, sans-serif;
- --font-tertiary: Roboto, sans-serif;
-
--text-2xs: 10px;
--breakpoint-2sm: 320px;
--breakpoint-3sm: 360px;
}
+
+@theme {
+ --font-brand: Nunito, Roboto, sans-serif;
+ --font-primary: Roboto, sans-serif;
+ --font-secondary: Unica One, Roboto, sans-serif;
+ --font-tertiary: Roboto, sans-serif;
+}
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 2addc9f0..fa3a9008 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -40,11 +40,7 @@ export default defineNuxtConfig({
fonts: {
defaults: {
- styles: ['normal'],
- subsets: [
- 'cyrillic',
- ],
- weights: [400],
+ subsets: ['cyrillic'],
},
},