@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.
@@ -19,8 +19,7 @@
19
19
  --color-primary-400: #87a8c7;
20
20
  --color-primary-500: #7192ba; /* primario — rellenos/bordes/focus (UI 3:1) */
21
21
  --color-primary-600: #5d7ba3;
22
- --color-primary-700: #4d6588; /* --link: texto de links y ghost (AA ~6:1) */
23
- --color-primary-800: #40536e;
22
+ --color-primary-700: #4d6588; /* --link: #4d6588;
24
23
  --color-primary-900: #31343e; /* tinta de marca */
25
24
 
26
25
  --color-neutral-0: #ffffff;
@@ -49,13 +48,13 @@
49
48
  --color-info-700: #4d6588;
50
49
 
51
50
  /* == Tipografía → font-display, font-body, font-mono == */
52
- --font-display: "Fraunces", Georgia, serif; /* solo h1–h2 y cifras hero */
53
- --font-body: "Public Sans", system-ui, sans-serif;
51
+ --font-display: "Fraunces", Georgia, serif; /* marca, lectura y cifras destacadas */
52
+ --font-body: "Public Sans", system-ui, -apple-system, sans-serif;
54
53
  --font-mono: "IBM Plex Mono", 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
+ }
@@ -94,6 +94,43 @@
94
94
  --stagger-step: 30ms;
95
95
 
96
96
  color-scheme: light;
97
+
98
+ --overlay: rgba(49, 52, 62, .5);
99
+ --tooltip-bg: var(--neutral-900);
100
+ --tooltip-text: #ffffff;
101
+ --ring-danger: 0 0 0 3px rgba(192,77,77,.22);
102
+
103
+ --action-bg: var(--primary-700);
104
+ --action-hover: var(--primary-800);
105
+ --action-active: var(--primary-900);
106
+ --text-on-action: var(--text-on-primary);
107
+ --control-border: var(--neutral-400);
108
+ --placeholder: var(--text-muted);
109
+ --selection-bg: var(--action-bg);
110
+ --selection-text: var(--text-on-action);
111
+ --font-ui-heading: var(--font-body);
112
+ --text-ui-title: 2rem;
113
+ --touch-target: 44px;
114
+ --focus-color: var(--accent);
115
+ --text-display-fluid: clamp(2.75rem, 1.7rem + 3vw, 4.75rem);
116
+ --border-hover: var(--neutral-500);
117
+ --text-on-danger: #ffffff;
118
+
119
+ /* Series categóricas: orden estable; acompañar con etiqueta o forma. */
120
+ --chart-1: #4a8cc1;
121
+ --chart-2: #853f63;
122
+ --chart-3: #129a92;
123
+ --chart-4: #8e4031;
124
+ --chart-5: #5b975e;
125
+ --chart-6: #8a600a;
126
+ --chart-7: #857bc1;
127
+ /* Ritmo de contenido y formularios. */
128
+ --field-gap: 6px;
129
+ --heading-gap: var(--space-2);
130
+ --content-gap: var(--space-4);
131
+ --card-content-gap: var(--space-4);
132
+ --card-group-gap: var(--space-6);
133
+
97
134
  }
98
135
 
99
136
  /* == Modo oscuro (variante) — alternar data-theme en <html> == */
@@ -111,7 +148,7 @@
111
148
  --accent-hover: #a0c0d4;
112
149
  --accent-active: #7192ba;
113
150
  --accent-soft: rgba(113,146,186,.12);
114
- --accent-soft-strong: rgba(113,146,186,.2);
151
+ --accent-soft-strong: rgba(113,146,186,.18);
115
152
  --text-on-primary: #16181e;
116
153
  --link: #a0c0d4;
117
154
  --success-500: #5cbf93; --success-100: #12291f; --success-text: #7fd4ae;
@@ -124,14 +161,38 @@
124
161
  --shadow-md: 0 4px 12px rgba(0,0,0,.45);
125
162
  --shadow-lg: 0 12px 32px rgba(0,0,0,.55);
126
163
  color-scheme: dark;
164
+
165
+ --text-on-primary-solid: #a0c0d4;
166
+ --overlay: rgba(0, 0, 0, .6);
167
+ --tooltip-bg: #e6e9ee;
168
+ --tooltip-text: #31343e;
169
+ --ring-danger: 0 0 0 3px rgba(224,119,119,.25);
170
+
171
+ --selection-bg: var(--action-bg);
172
+ --selection-text: var(--text-on-action);
173
+ --action-bg: var(--accent);
174
+ --action-hover: var(--accent-hover);
175
+ --action-active: var(--accent-active);
176
+ --control-border: var(--text-muted);
177
+ --border-hover: var(--text-secondary);
178
+ --text-on-danger: #16181e;
179
+ --focus-color: var(--accent);
180
+
181
+ /* Series categóricas: orden estable; acompañar con etiqueta o forma. */
182
+ --chart-1: #5798ce;
183
+ --chart-2: #a0587c;
184
+ --chart-3: #2aa79e;
185
+ --chart-4: #aa5849;
186
+ --chart-5: #67a369;
187
+ --chart-6: #946a1c;
188
+ --chart-7: #877cc3;
127
189
  }
128
190
 
129
191
  /* == Accesibilidad del movimiento == */
192
+
130
193
  @media (prefers-reduced-motion: reduce) {
131
- *, *::before, *::after {
132
- animation-duration: 0.01ms !important;
133
- animation-iteration-count: 1 !important;
134
- transition-duration: 0.01ms !important;
135
- scroll-behavior: auto !important;
194
+ :root {
195
+ --duration-instant: 0ms; --duration-fast: 0ms; --duration-base: 0ms;
196
+ --duration-slow: 0ms; --duration-page: 0ms; --stagger-step: 0ms;
136
197
  }
137
198
  }