@slabui/theme-react 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/CHANGELOG.md +29 -0
- package/dist/editor/index.mjs +2 -2
- package/dist/editor/index.mjs.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,34 @@
|
|
|
1
1
|
# @slabui/theme-react
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#100](https://github.com/slabui/ui/pull/100) [`f34616f`](https://github.com/slabui/ui/commit/f34616f6645db59a5a6cd40e94ac8fc0adc801f3) Thanks [@andrefelipeschulle](https://github.com/andrefelipeschulle)! - Larguras do container no tema:
|
|
8
|
+
|
|
9
|
+
- O tema padrão ganha `--page-sm` (`768px`), `--page` (`1200px`) e `--page-lg` (`1440px`) no `:root`, com os apelidos `--container-page-sm`, `--container-page` e `--container-page-lg` no `@theme inline` (`max-w-page-sm`, `max-w-page`, `max-w-page-lg`). Os nomes ficam fora de `--container-sm`/`--container-lg`, que são do Tailwind.
|
|
10
|
+
- No editor de tema, a nova seção "Layout" tem os controles "Narrow width", "Page width" e "Wide width", em `px`, e a prévia mostra as três larguras em escala quando o container está instalado.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies [[`f34616f`](https://github.com/slabui/ui/commit/f34616f6645db59a5a6cd40e94ac8fc0adc801f3)]:
|
|
15
|
+
- @slabui/theme-core@0.4.0
|
|
16
|
+
|
|
17
|
+
## 0.3.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [#95](https://github.com/slabui/ui/pull/95) [`d099c46`](https://github.com/slabui/ui/commit/d099c4656eb551a3b51c75034adb05873533ce93) Thanks [@andrefelipeschulle](https://github.com/andrefelipeschulle)! - O tema padrão ganha a cor da marca, `brand` e `brand-foreground`, com os mesmos valores iniciais do `primary`. A `brand` é a identidade (logo, destaques); o `primary` é a cor das ações dos componentes.
|
|
22
|
+
|
|
23
|
+
O `slabui init` passa a gravar, além das cores do `base.css`, as que quase todo componente usa, cada uma com o `-foreground`: `brand`, `primary`, `secondary`, `danger`, `success`, `warning` e `inverted`. Com o `danger`, vem também o apelido `--color-destructive`.
|
|
24
|
+
|
|
25
|
+
No editor de tema, a lista de cores ganha o grupo "Brand", antes de "Actions".
|
|
26
|
+
|
|
27
|
+
### Patch Changes
|
|
28
|
+
|
|
29
|
+
- Updated dependencies [[`d099c46`](https://github.com/slabui/ui/commit/d099c4656eb551a3b51c75034adb05873533ce93)]:
|
|
30
|
+
- @slabui/theme-core@0.3.0
|
|
31
|
+
|
|
3
32
|
## 0.2.0
|
|
4
33
|
|
|
5
34
|
### Minor Changes
|