orbital-ds 0.2.0 → 0.4.0
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/AGENTS.md +60 -0
- package/README.md +28 -14
- package/components.manifest.json +1255 -0
- package/contract.json +162 -38
- package/dist/styles.css +486 -427
- package/dist/themes/qratia.css +14 -14
- package/dist/themes/qratia.fonts.css +2 -0
- package/dist/themes/qratia.scoped.css +247 -0
- package/dist/themes/twitter.css +290 -0
- package/dist/themes/twitter.fonts.css +6 -0
- package/dist/themes/twitter.scoped.css +290 -0
- package/dist/themes/zyro.css +252 -60
- package/dist/themes/zyro.fonts.css +2 -0
- package/dist/themes/zyro.scoped.css +381 -0
- package/dist/ui/attachment.d.ts +1 -1
- package/dist/ui/badge.d.ts +1 -1
- package/dist/ui/bubble.d.ts +1 -1
- package/dist/ui/button.d.ts +2 -2
- package/dist/ui/input-group.d.ts +1 -1
- package/dist/ui/item.d.ts +2 -2
- package/dist/ui/sidebar.js +4 -4
- package/dist/ui/tabs.d.ts +1 -1
- package/docs/CONTRACT.md +44 -5
- package/package.json +15 -8
- package/scripts/doctor.mjs +110 -28
- package/scripts/init.mjs +55 -0
- package/scripts/manifest.mjs +79 -0
package/contract.json
CHANGED
|
@@ -1,38 +1,162 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version":
|
|
3
|
-
"descripcion": "Contrato de tema de orbital-ds: todo tema (themes/*.css) debe definir estos tokens en :root. Nombres en inglés estándar; los de shadcn sin prefijo.",
|
|
4
|
-
"root": [
|
|
5
|
-
"radius",
|
|
6
|
-
"background",
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"descripcion": "Contrato de tema de orbital-ds: todo tema (themes/*.css) debe definir estos tokens en :root. Nombres en inglés estándar; los de shadcn sin prefijo; los propios con --ds-. baseTheme es el tema aplicado siempre (los demás se aplican encima, con ámbito).",
|
|
4
|
+
"root": [
|
|
5
|
+
"radius",
|
|
6
|
+
"background",
|
|
7
|
+
"foreground",
|
|
8
|
+
"card",
|
|
9
|
+
"card-foreground",
|
|
10
|
+
"popover",
|
|
11
|
+
"popover-foreground",
|
|
12
|
+
"primary",
|
|
13
|
+
"primary-foreground",
|
|
14
|
+
"secondary",
|
|
15
|
+
"secondary-foreground",
|
|
16
|
+
"muted",
|
|
17
|
+
"muted-foreground",
|
|
18
|
+
"accent",
|
|
19
|
+
"accent-foreground",
|
|
20
|
+
"destructive",
|
|
21
|
+
"destructive-foreground",
|
|
22
|
+
"border",
|
|
23
|
+
"input",
|
|
24
|
+
"ring",
|
|
25
|
+
"chart-1",
|
|
26
|
+
"chart-2",
|
|
27
|
+
"chart-3",
|
|
28
|
+
"chart-4",
|
|
29
|
+
"chart-5",
|
|
30
|
+
"sidebar",
|
|
31
|
+
"sidebar-foreground",
|
|
32
|
+
"sidebar-primary",
|
|
33
|
+
"sidebar-primary-foreground",
|
|
34
|
+
"sidebar-accent",
|
|
35
|
+
"sidebar-accent-foreground",
|
|
36
|
+
"sidebar-border",
|
|
37
|
+
"sidebar-ring",
|
|
38
|
+
"danger",
|
|
39
|
+
"danger-soft",
|
|
40
|
+
"warning",
|
|
41
|
+
"warning-soft",
|
|
42
|
+
"success",
|
|
43
|
+
"success-soft",
|
|
44
|
+
"info",
|
|
45
|
+
"info-soft",
|
|
46
|
+
"neutral",
|
|
47
|
+
"neutral-soft",
|
|
48
|
+
"link",
|
|
49
|
+
"link-hover",
|
|
50
|
+
"inset",
|
|
51
|
+
"inset-foreground",
|
|
52
|
+
"brand",
|
|
53
|
+
"brand-bright"
|
|
54
|
+
],
|
|
55
|
+
"fonts": [
|
|
56
|
+
"ds-font-sans"
|
|
57
|
+
],
|
|
58
|
+
"dark": {
|
|
59
|
+
"descripcion": "Recomendados en .dark (si faltan, el tema hereda el valor claro y doctor avisa).",
|
|
60
|
+
"avisar_si_falta": [
|
|
61
|
+
"background",
|
|
62
|
+
"foreground",
|
|
63
|
+
"card",
|
|
64
|
+
"card-foreground",
|
|
65
|
+
"popover",
|
|
66
|
+
"popover-foreground",
|
|
67
|
+
"primary",
|
|
68
|
+
"primary-foreground",
|
|
69
|
+
"muted",
|
|
70
|
+
"muted-foreground",
|
|
71
|
+
"border",
|
|
72
|
+
"input",
|
|
73
|
+
"ring",
|
|
74
|
+
"danger",
|
|
75
|
+
"warning",
|
|
76
|
+
"success",
|
|
77
|
+
"info",
|
|
78
|
+
"link"
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"baseTheme": "qratia",
|
|
82
|
+
"brand": {
|
|
83
|
+
"descripcion": "Grupo ESTABLE de variables que una app suele personalizar en su fichero de marca (brand.css). Renombrar o quitar una es versión MAYOR. Todas están también en `root` salvo las --ds-*.",
|
|
84
|
+
"tokens": [
|
|
85
|
+
{
|
|
86
|
+
"name": "primary",
|
|
87
|
+
"example": "oklch(0.55 0.2 260)",
|
|
88
|
+
"about": "color de acción principal (botones, foco)"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "primary-foreground",
|
|
92
|
+
"example": "#ffffff",
|
|
93
|
+
"about": "texto sobre el color principal (comprueba el contraste)"
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
"name": "ring",
|
|
97
|
+
"example": "oklch(0.55 0.2 260)",
|
|
98
|
+
"about": "anillo de foco; suele ir igual que primary"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "link",
|
|
102
|
+
"example": "oklch(0.5 0.15 260)",
|
|
103
|
+
"about": "texto de enlace: más oscuro que primary para tener contraste"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "link-hover",
|
|
107
|
+
"example": "oklch(0.42 0.13 260)",
|
|
108
|
+
"about": "enlace al pasar el ratón"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "brand",
|
|
112
|
+
"example": "oklch(0.7 0.13 220)",
|
|
113
|
+
"about": "acento de marca (detalles, selección)"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "brand-bright",
|
|
117
|
+
"example": "oklch(0.8 0.13 220)",
|
|
118
|
+
"about": "acento de marca sobre fondos oscuros"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "sidebar-primary",
|
|
122
|
+
"example": "oklch(0.8 0.13 220)",
|
|
123
|
+
"about": "acento dentro del sidebar"
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"name": "sidebar-primary-foreground",
|
|
127
|
+
"example": "#04121c",
|
|
128
|
+
"about": "texto sobre el acento del sidebar"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"name": "sidebar-accent-foreground",
|
|
132
|
+
"example": "oklch(0.85 0.1 220)",
|
|
133
|
+
"about": "texto del destino activo del sidebar"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"name": "accent-foreground",
|
|
137
|
+
"example": "oklch(0.5 0.15 260)",
|
|
138
|
+
"about": "texto sobre superficies de acento suave"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"name": "chart-1",
|
|
142
|
+
"example": "oklch(0.55 0.2 260)",
|
|
143
|
+
"about": "primera serie de las gráficas: la marca"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "radius",
|
|
147
|
+
"example": "12px",
|
|
148
|
+
"about": "redondez base (en temas cuya rampa deriva de ella)"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "ds-font-sans",
|
|
152
|
+
"example": "'Inter', system-ui, sans-serif",
|
|
153
|
+
"about": "fuente del cuerpo (carga la fuente en tu app)"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"name": "ds-font-display",
|
|
157
|
+
"example": "'Sora', system-ui, sans-serif",
|
|
158
|
+
"about": "fuente de los titulares"
|
|
159
|
+
}
|
|
160
|
+
]
|
|
161
|
+
}
|
|
162
|
+
}
|