@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
|
@@ -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:
|
|
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; /*
|
|
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:
|
|
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
|
+
}
|
|
@@ -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,.
|
|
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
|
-
|
|
132
|
-
|
|
133
|
-
|
|
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
|
}
|