@slabui/theme-react 0.0.5 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @slabui/theme-react
2
2
 
3
+ ## 0.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#87](https://github.com/slabui/ui/pull/87) [`457187c`](https://github.com/slabui/ui/commit/457187c1a4fa6fa034d8bd1b2251798bd3655aa8) Thanks [@andrefelipeschulle](https://github.com/andrefelipeschulle)! - Tamanho do texto ajustável pelo `--font-size`:
8
+
9
+ - O tema padrão ganha o `--font-size` (`1rem`, o `text-base`), e cada `--text-*` do `@theme inline` passa a ser `calc(var(--font-size) * <proporção>)`, com as alturas de linha sem unidade. Mudar o `--font-size` aumenta ou diminui todas as classes `text-*` sem mexer no espaçamento.
10
+ - `slabui init` grava a tipografia (`--font-*` e `--text-*`) num `fonts.css` ao lado do CSS global, importado por ele; o `--font-size` fica no `:root` do global. O `add` e o `update` gravam a tipografia dos itens no `fonts.css` quando ele existe; num projeto sem `fonts.css`, ela continua no CSS global.
11
+ - No editor de tema, a seção "Spacing" vira "Size", com o controle "Text size" ao lado do espaçamento.
12
+ - A seção "Size" (espaçamento e tamanho do texto) é um recurso Pro: no plano free, o editor mostra o aviso no lugar dos controles, e o servidor do editor recusa gravar `--spacing` e `--font-size` (403).
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [[`457187c`](https://github.com/slabui/ui/commit/457187c1a4fa6fa034d8bd1b2251798bd3655aa8)]:
17
+ - @slabui/theme-core@0.2.0
18
+
19
+ ## 0.1.0
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [[`3b1257c`](https://github.com/slabui/ui/commit/3b1257cf215e6546875379bd1f0f4103fbc45148)]:
24
+ - @slabui/theme-core@0.1.0
25
+
3
26
  ## 0.0.5
4
27
 
5
28
  ### Patch Changes