@menumalsuite/design-system 0.1.4 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19,7 +19,7 @@ const props = withDefaults(defineProps<Props>(), {
19
19
  viewBox="0 0 1998.65 2000"
20
20
  preserveAspectRatio="xMinYMid meet"
21
21
  class="menumal-logo"
22
- :class="props.class ? props.class : 'h-8 w-32'"
22
+ :class="props.class ? props.class : 'h-[29.4px] w-auto'"
23
23
  >
24
24
  <g>
25
25
  <path
@@ -100,7 +100,7 @@ const props = withDefaults(defineProps<Props>(), {
100
100
  viewBox="0 0 6200 2000"
101
101
  preserveAspectRatio="xMinYMid meet"
102
102
  class="menumal-logo"
103
- :class="props.class ? props.class : 'h-8 w-32'"
103
+ :class="props.class ? props.class : 'h-[29.4px] w-auto'"
104
104
  >
105
105
  <!-- Logo completo con testo "menumal" -->
106
106
  <g>
package/nuxt.config.ts CHANGED
@@ -27,6 +27,14 @@ export default defineNuxtConfig({
27
27
  },
28
28
  },
29
29
  compatibilityDate: "2026-05-13",
30
+ fonts: {
31
+ // Manrope is a variable font (axis 200–800). Scope the full-range weights to
32
+ // Manrope only via `families` — a global `defaults.weights` would merge with
33
+ // Nuxt UI's discrete [400,500,600,700] and produce an invalid Google query
34
+ // (range + discrete mixed → 400 Bad Request) for every font, incl. JetBrains Mono.
35
+ // Range MUST be a space-separated string ("200 800"), not "200..800".
36
+ families: [{ name: "Manrope", weights: ["200 800"] }],
37
+ },
30
38
  icon: {
31
39
  customCollections: [
32
40
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@menumalsuite/design-system",
3
3
  "type": "module",
4
- "version": "0.1.4",
4
+ "version": "0.1.6",
5
5
  "main": "./nuxt.config.ts",
6
6
  "exports": {
7
7
  ".": "./nuxt.config.ts"