synthesisui 0.16.442 → 0.16.443

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.
@@ -1838,6 +1838,23 @@ function stopValue(raw, declared) {
1838
1838
  return refFor(raw);
1839
1839
  if (TAILWIND_COLOR[raw])
1840
1840
  return TAILWIND_COLOR[raw];
1841
+ /**
1842
+ * A PALETA DO FRAMEWORK TAMBÉM PINTA UMA PARADA - e o caminho normal de cor já a consulta.
1843
+ *
1844
+ * Medido no `codelevel` em 20/09, contra o censo de produção: o `SkillNode` escreve
1845
+ * `bg-gradient-to-br from-white to-amber-50`, e o gradiente inteiro era descartado porque
1846
+ * `amber-50` não resolvia aqui. Ninguém declara `--color-amber-50` no código dele: é a paleta
1847
+ * padrão do Tailwind, que `frameworkDeclaration` conhece e esta função não consultava.
1848
+ *
1849
+ * A assimetria era a falha: `bg-amber-50` sozinho era lido, e `to-amber-50` não. Uma parada
1850
+ * ilegível derruba o gradiente inteiro, então a cor da paleta apagava a decisão toda.
1851
+ *
1852
+ * O valor vem com o carimbo de framework do outro lado; aqui só o valor interessa, porque uma
1853
+ * parada é uma string dentro do `linear-gradient`.
1854
+ */
1855
+ const daPaleta = frameworkDeclaration("color", raw);
1856
+ if (daPaleta)
1857
+ return daPaleta.value;
1841
1858
  if (/^#[0-9a-fA-F]{3,8}$/.test(raw) ||
1842
1859
  raw === "transparent" ||
1843
1860
  raw === "white" ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "synthesisui",
3
- "version": "0.16.442",
3
+ "version": "0.16.443",
4
4
  "description": "Bring SynthesisUI design systems into any project - tokens, typed components, whole pages and an agent-ready CLAUDE.md manifest.",
5
5
  "type": "module",
6
6
  "bin": {