@higinio/design-mcp 0.2.0 → 0.2.1

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.
@@ -18,8 +18,7 @@
18
18
  --color-primary-300: #97b09e; /* decorativo — nunca texto sobre lino */
19
19
  --color-primary-400: #73907c;
20
20
  --color-primary-500: #4f6b58; /* acento salvia — botón primario, bordes, focus */
21
- --color-primary-600: #435c4b; /* --link: texto de links y ghost (AA ~6:1) */
22
- --color-primary-700: #384d3f;
21
+ --color-primary-600: #435c4b; /* --link: #435c4b;
23
22
  --color-primary-800: #304236;
24
23
  --color-primary-900: #2c3630; /* tinta de marca */
25
24
 
@@ -49,13 +48,13 @@
49
48
  --color-info-700: #3f5a70;
50
49
 
51
50
  /* == Tipografía → font-display, font-body, font-mono == */
52
- --font-display: "Lora", Georgia, serif; /* solo h1–h2 y cifras hero */
53
- --font-body: "Nunito Sans", system-ui, sans-serif;
51
+ --font-display: "Lora", Georgia, serif; /* marca, lectura y cifras destacadas */
52
+ --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
54
53
  --font-mono: "Source Code Pro", ui-monospace, monospace;
55
54
 
56
55
  /* == Escala tipográfica (ratio 1.25) con line-heights emparejados == */
57
- --text-xs: 0.75rem; --text-xs--line-height: 1.5;
58
- --text-sm: 0.875rem; --text-sm--line-height: 1.5;
56
+ --text-xs: .75rem; --text-xs--line-height: 1.5;
57
+ --text-sm: .875rem; --text-sm--line-height: 1.5;
59
58
  --text-base: 1rem; --text-base--line-height: 1.6;
60
59
  --text-lg: 1.125rem; --text-lg--line-height: 1.55;
61
60
  --text-xl: 1.25rem; --text-xl--line-height: 1.4;
@@ -119,3 +118,46 @@
119
118
  --color-danger: var(--danger-500);
120
119
  --color-info: var(--info-500);
121
120
  }
121
+
122
+ /* CONTRATOS COMPARTIDOS GENERADOS */
123
+ @theme inline {
124
+ --color-surface: var(--surface);
125
+ --color-surface-alt: var(--surface-alt);
126
+ --color-action-bg: var(--action-bg);
127
+ --color-action-hover: var(--action-hover);
128
+ --color-action-active: var(--action-active);
129
+ --color-text-on-action: var(--text-on-action);
130
+ --color-control-border: var(--control-border);
131
+ --color-focus-color: var(--focus-color);
132
+ --color-placeholder: var(--placeholder);
133
+ --color-selection-bg: var(--selection-bg);
134
+ --color-selection-text: var(--selection-text);
135
+ --color-chart-1: var(--chart-1);
136
+ --color-chart-2: var(--chart-2);
137
+ --color-chart-3: var(--chart-3);
138
+ --color-chart-4: var(--chart-4);
139
+ --color-chart-5: var(--chart-5);
140
+ --color-chart-6: var(--chart-6);
141
+ --color-chart-7: var(--chart-7);
142
+ --spacing-1: var(--space-1);
143
+ --spacing-2: var(--space-2);
144
+ --spacing-3: var(--space-3);
145
+ --spacing-4: var(--space-4);
146
+ --spacing-5: var(--space-5);
147
+ --spacing-6: var(--space-6);
148
+ --spacing-8: var(--space-8);
149
+ --spacing-10: var(--space-10);
150
+ --spacing-12: var(--space-12);
151
+ --spacing-16: var(--space-16);
152
+ --spacing-20: var(--space-20);
153
+ --spacing-24: var(--space-24);
154
+ --spacing-field-gap: var(--field-gap);
155
+ --spacing-heading-gap: var(--heading-gap);
156
+ --spacing-content-gap: var(--content-gap);
157
+ --spacing-card-content-gap: var(--card-content-gap);
158
+ --spacing-card-group-gap: var(--card-group-gap);
159
+ --spacing-form-gap: var(--form-gap);
160
+ --spacing-section-gap: var(--section-gap);
161
+ --text-display: var(--text-display-fluid);
162
+ --text-title-ui: var(--text-ui-title);
163
+ }
@@ -95,6 +95,43 @@
95
95
  --stagger-step: 30ms;
96
96
 
97
97
  color-scheme: light;
98
+
99
+ --overlay: rgba(44, 54, 48, .5);
100
+ --tooltip-bg: var(--neutral-900);
101
+ --tooltip-text: var(--neutral-0);
102
+ --focus-color: var(--accent);
103
+ --text-on-danger: var(--neutral-0);
104
+ --border-hover: var(--neutral-500);
105
+ --ring-danger: 0 0 0 3px rgba(181,82,63,.22);
106
+
107
+ --action-bg: var(--accent);
108
+ --action-hover: var(--accent-hover);
109
+ --action-active: var(--accent-active);
110
+ --text-on-action: var(--text-on-primary);
111
+ --control-border: var(--border-strong);
112
+ --placeholder: var(--text-muted);
113
+ --selection-bg: var(--action-bg);
114
+ --selection-text: var(--text-on-action);
115
+ --font-ui-heading: var(--font-body);
116
+ --text-ui-title: 2rem;
117
+ --touch-target: 44px;
118
+ --text-display-fluid: clamp(2.5rem, 1.8rem + 2.4vw, 4.5rem);
119
+
120
+ /* Series categóricas: orden estable; acompañar con etiqueta o forma. */
121
+ --chart-1: #549864;
122
+ --chart-2: #8d4226;
123
+ --chart-3: #179a8e;
124
+ --chart-4: #81416d;
125
+ --chart-5: #8a8b39;
126
+ --chart-6: #195f91;
127
+ --chart-7: #996f18;
128
+ /* Ritmo de contenido y formularios. */
129
+ --field-gap: 6px;
130
+ --heading-gap: var(--space-2);
131
+ --content-gap: var(--space-4);
132
+ --card-content-gap: var(--space-4);
133
+ --card-group-gap: var(--space-8);
134
+
98
135
  }
99
136
 
100
137
  /* == Modo oscuro (variante) — alternar data-theme en <html> ==
@@ -130,14 +167,33 @@
130
167
  --shadow-lg: 0 8px 24px rgba(8,10,9,.3);
131
168
  --shadow-xl: 0 16px 32px rgba(8,10,9,.35);
132
169
  color-scheme: dark;
170
+
171
+ --overlay: rgba(0, 0, 0, .6);
172
+ --tooltip-bg: #e3e8e2;
173
+ --tooltip-text: #2c3630;
174
+ --focus-color: var(--accent);
175
+ --text-on-danger: #151a17;
176
+ --border-hover: #a6b0a8;
177
+ --ring-danger: 0 0 0 3px rgba(217,128,109,.25);
178
+
179
+ --selection-bg: var(--action-bg);
180
+ --selection-text: var(--text-on-action);
181
+
182
+ /* Series categóricas: orden estable; acompañar con etiqueta o forma. */
183
+ --chart-1: #60a46f;
184
+ --chart-2: #a85a3f;
185
+ --chart-3: #2da79b;
186
+ --chart-4: #9b5986;
187
+ --chart-5: #818230;
188
+ --chart-6: #3678ac;
189
+ --chart-7: #946b10;
133
190
  }
134
191
 
135
192
  /* == Accesibilidad del movimiento == */
193
+
136
194
  @media (prefers-reduced-motion: reduce) {
137
- *, *::before, *::after {
138
- animation-duration: 0.01ms !important;
139
- animation-iteration-count: 1 !important;
140
- transition-duration: 0.01ms !important;
141
- scroll-behavior: auto !important;
195
+ :root {
196
+ --duration-instant: 0ms; --duration-fast: 0ms; --duration-base: 0ms;
197
+ --duration-slow: 0ms; --duration-page: 0ms; --stagger-step: 0ms;
142
198
  }
143
199
  }