@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.
- package/assets/bruma/design-doc.md +225 -33
- package/assets/bruma/framework.css +268 -51
- package/assets/bruma/styleguide.html +676 -168
- package/assets/bruma/tailwind.css +48 -6
- package/assets/bruma/tokens.css +61 -5
- package/assets/bruma/tokens.json +769 -25
- package/assets/celeste/design-doc.md +242 -40
- package/assets/celeste/framework.css +290 -62
- package/assets/celeste/styleguide.html +760 -178
- package/assets/celeste/tailwind.css +48 -6
- package/assets/celeste/tokens.css +67 -6
- package/assets/celeste/tokens.json +778 -26
- package/assets/nocturna/design-doc.md +346 -52
- package/assets/nocturna/framework.css +317 -108
- package/assets/nocturna/styleguide.html +809 -215
- package/assets/nocturna/tailwind.css +46 -3
- package/assets/nocturna/tokens.css +115 -6
- package/assets/nocturna/tokens.json +754 -21
- package/assets/salvia/design-doc.md +224 -31
- package/assets/salvia/framework.css +269 -51
- package/assets/salvia/styleguide.html +674 -168
- package/assets/salvia/tailwind.css +48 -6
- package/assets/salvia/tokens.css +61 -5
- package/assets/salvia/tokens.json +769 -25
- package/dist/server.js +1 -1
- package/dist/snippet.js +26 -17
- package/dist/tokens.js +42 -5
- package/package.json +32 -8
|
@@ -18,8 +18,7 @@
|
|
|
18
18
|
--color-primary-300: #9d99c4; /* decorativo — nunca texto sobre niebla */
|
|
19
19
|
--color-primary-400: #7c78a8;
|
|
20
20
|
--color-primary-500: #5b578a; /* acento lavanda — controles, estados activos, focus; nunca fondo de áreas grandes */
|
|
21
|
-
--color-primary-600: #4d4979; /* --link:
|
|
22
|
-
--color-primary-700: #403d66;
|
|
21
|
+
--color-primary-600: #4d4979; /* --link: #4d4979;
|
|
23
22
|
--color-primary-800: #35334f;
|
|
24
23
|
--color-primary-900: #2c2b38; /* tinta de marca */
|
|
25
24
|
|
|
@@ -49,13 +48,13 @@
|
|
|
49
48
|
--color-info-700: #3a5b74;
|
|
50
49
|
|
|
51
50
|
/* == Tipografía → font-display, font-body, font-mono == */
|
|
52
|
-
--font-display: "Bricolage Grotesque", system-ui, sans-serif; /*
|
|
53
|
-
--font-body: "Atkinson Hyperlegible Next", system-ui, sans-serif;
|
|
51
|
+
--font-display: "Bricolage Grotesque", system-ui, sans-serif; /* marca, lectura y cifras destacadas */
|
|
52
|
+
--font-body: "Atkinson Hyperlegible Next", system-ui, -apple-system, sans-serif;
|
|
54
53
|
--font-mono: "Atkinson Hyperlegible Mono", ui-monospace, monospace;
|
|
55
54
|
|
|
56
55
|
/* == Escala tipográfica (ratio 1.25) con line-heights emparejados == */
|
|
57
|
-
--text-xs:
|
|
58
|
-
--text-sm:
|
|
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
|
+
}
|
package/assets/bruma/tokens.css
CHANGED
|
@@ -99,6 +99,43 @@
|
|
|
99
99
|
--stagger-step: 30ms;
|
|
100
100
|
|
|
101
101
|
color-scheme: light;
|
|
102
|
+
|
|
103
|
+
--overlay: rgba(31, 30, 40, .5);
|
|
104
|
+
--tooltip-bg: var(--neutral-900);
|
|
105
|
+
--tooltip-text: var(--neutral-0);
|
|
106
|
+
--focus-color: var(--accent);
|
|
107
|
+
--text-on-danger: var(--neutral-0);
|
|
108
|
+
--border-hover: var(--neutral-500);
|
|
109
|
+
--ring-danger: 0 0 0 3px rgba(178,76,85,.22);
|
|
110
|
+
|
|
111
|
+
--action-bg: var(--accent);
|
|
112
|
+
--action-hover: var(--accent-hover);
|
|
113
|
+
--action-active: var(--accent-active);
|
|
114
|
+
--text-on-action: var(--text-on-primary);
|
|
115
|
+
--control-border: var(--border-strong);
|
|
116
|
+
--placeholder: var(--text-muted);
|
|
117
|
+
--selection-bg: var(--action-bg);
|
|
118
|
+
--selection-text: var(--text-on-action);
|
|
119
|
+
--font-ui-heading: var(--font-body);
|
|
120
|
+
--text-ui-title: 2rem;
|
|
121
|
+
--touch-target: 44px;
|
|
122
|
+
--text-display-fluid: clamp(2.5rem, 1.8rem + 2.2vw, 4.25rem);
|
|
123
|
+
|
|
124
|
+
/* Series categóricas: orden estable; acompañar con etiqueta o forma. */
|
|
125
|
+
--chart-1: #857bc1;
|
|
126
|
+
--chart-2: #8a600a;
|
|
127
|
+
--chart-3: #4a8cc1;
|
|
128
|
+
--chart-4: #853f63;
|
|
129
|
+
--chart-5: #129a92;
|
|
130
|
+
--chart-6: #8e4031;
|
|
131
|
+
--chart-7: #5b975e;
|
|
132
|
+
/* Ritmo de contenido y formularios. */
|
|
133
|
+
--field-gap: 6px;
|
|
134
|
+
--heading-gap: var(--space-2);
|
|
135
|
+
--content-gap: var(--space-4);
|
|
136
|
+
--card-content-gap: var(--space-4);
|
|
137
|
+
--card-group-gap: var(--space-5);
|
|
138
|
+
|
|
102
139
|
}
|
|
103
140
|
|
|
104
141
|
/* == Modo oscuro (variante) — alternar data-theme en <html> ==
|
|
@@ -134,14 +171,33 @@
|
|
|
134
171
|
--shadow-lg: 0 8px 20px rgba(8,8,12,.28);
|
|
135
172
|
--shadow-xl: 0 16px 32px rgba(8,8,12,.32);
|
|
136
173
|
color-scheme: dark;
|
|
174
|
+
|
|
175
|
+
--overlay: rgba(0, 0, 0, .6);
|
|
176
|
+
--tooltip-bg: #e7e6ef;
|
|
177
|
+
--tooltip-text: #1f1e28;
|
|
178
|
+
--focus-color: var(--accent);
|
|
179
|
+
--text-on-danger: #16151c;
|
|
180
|
+
--border-hover: #aaa8bb;
|
|
181
|
+
--ring-danger: 0 0 0 3px rgba(224,136,144,.25);
|
|
182
|
+
|
|
183
|
+
--selection-bg: var(--action-bg);
|
|
184
|
+
--selection-text: var(--text-on-action);
|
|
185
|
+
|
|
186
|
+
/* Series categóricas: orden estable; acompañar con etiqueta o forma. */
|
|
187
|
+
--chart-1: #877cc3;
|
|
188
|
+
--chart-2: #946a1c;
|
|
189
|
+
--chart-3: #5798ce;
|
|
190
|
+
--chart-4: #a0587c;
|
|
191
|
+
--chart-5: #2aa79e;
|
|
192
|
+
--chart-6: #aa5849;
|
|
193
|
+
--chart-7: #67a369;
|
|
137
194
|
}
|
|
138
195
|
|
|
139
196
|
/* == Accesibilidad del movimiento == */
|
|
197
|
+
|
|
140
198
|
@media (prefers-reduced-motion: reduce) {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
transition-duration: 0.01ms !important;
|
|
145
|
-
scroll-behavior: auto !important;
|
|
199
|
+
:root {
|
|
200
|
+
--duration-instant: 0ms; --duration-fast: 0ms; --duration-base: 0ms;
|
|
201
|
+
--duration-slow: 0ms; --duration-page: 0ms; --stagger-step: 0ms;
|
|
146
202
|
}
|
|
147
203
|
}
|