@inchurch/matcha-theme 22.27.1 → 22.28.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.
@@ -45,9 +45,13 @@
45
45
  }
46
46
 
47
47
  // ── Content text ──
48
- .accordion-content {
49
- color: var(--matcha-color-text-label);
50
- }
48
+ // NÃO definir `color` aqui. `.accordion-content` é slot de conteúdo
49
+ // ARBITRÁRIO (form, tabela, parágrafo, componente inteiro) — impor cor
50
+ // sequestra tudo que for projetado. Até 22.27.1 este seletor aplicava
51
+ // `--matcha-color-text-label` (#7a818a), deixando todo texto de accordion
52
+ // cinza; o consumidor herda `--matcha-color-fg` (#2a2d33) do body reset,
53
+ // que é a cor correta. Mesmo contrato do matcha-card, cujo
54
+ // `.matcha-card__slot--content` também não define cor.
51
55
 
52
56
  // ── Chevron ──
53
57
  .accordion-chevron {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inchurch/matcha-theme",
3
- "version": "22.27.1",
3
+ "version": "22.28.0",
4
4
  "description": "Themes for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {