@olivmath_/fw3 0.0.0-stage → 0.1.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/README.md CHANGED
@@ -1,3 +1,88 @@
1
- # Temporary Holding Version
1
+ # @fw3/brand
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Identidade visual do Floripa Web3 — tokens de design, logo e logomarca.
4
+
5
+ ## Instalação
6
+
7
+ ```bash
8
+ npm install @fw3/brand
9
+ ```
10
+
11
+ ## Uso
12
+
13
+ ### JavaScript / TypeScript
14
+
15
+ ```js
16
+ import { colors, typography, spacing } from "@fw3/brand";
17
+
18
+ // Cor primária
19
+ console.log(colors.blue); // "#183CFF"
20
+
21
+ // Tipografia
22
+ console.log(typography.heading.fontFamily); // "Geist, Arial, sans-serif"
23
+
24
+ // Espaçamento (grid 8px)
25
+ console.log(spacing.md); // 16
26
+ ```
27
+
28
+ ### CSS Variables
29
+
30
+ ```css
31
+ @import "@fw3/brand/brand.css";
32
+
33
+ body {
34
+ background: var(--fw3-canvas);
35
+ color: var(--fw3-black);
36
+ font-family: var(--fw3-font-display);
37
+ }
38
+ ```
39
+
40
+ ### Assets (logo, logomarca, fontes)
41
+
42
+ ```js
43
+ import { paths } from "@fw3/brand/assets";
44
+
45
+ // paths.logo.svg → caminho absoluto do logo SVG
46
+ // paths.logo.png → caminho absoluto do logo PNG
47
+ // paths.logomarca.svg → caminho absoluto da logomarca SVG
48
+ // paths.fonts.geist → caminho absoluto da fonte Geist
49
+ ```
50
+
51
+ Ou importe diretamente:
52
+
53
+ ```js
54
+ import logoSvg from "@fw3/brand/assets/logo.svg";
55
+ import logomarcaSvg from "@fw3/brand/assets/logomarca.svg";
56
+ ```
57
+
58
+ ## Paleta
59
+
60
+ | Token | Hex | Uso |
61
+ |---|---|---|
62
+ | `blue` | `#183CFF` | Primária, CTAs |
63
+ | `yellow` | `#FFDB18` | Acento |
64
+ | `black` | `#08090B` | Texto |
65
+ | `white` | `#FFFFFF` | Fundo cards |
66
+ | `blueDeep` | `#183F8F` | Links |
67
+ | `blueSoft` | `#CBD6FF` | Fundos suaves |
68
+ | `blueLine` | `#7DA2F8` | Bordas |
69
+ | `canvas` | `#F5F5F3` | Fundo página |
70
+ | `panel` | `#E7E7E4` | Painéis |
71
+ | `muted` | `#555D69` | Texto secundário |
72
+ | `danger` | `#D0121A` | Erros |
73
+
74
+ ## Tipografia
75
+
76
+ Família única: **Geist** (display, heading, body) + **Geist Mono** (code, accent).
77
+
78
+ | Papel | Peso | Tamanho | Line-height |
79
+ |---|---|---|---|
80
+ | display | 600 | 64px | 1.1 |
81
+ | heading | 600 | 32px | 1.25 |
82
+ | body | 400 | 17px | 1.65 |
83
+ | code | 400 | 16px | 1.5 |
84
+ | accent | 600 | 12px | 1.4 |
85
+
86
+ ## Espaçamento
87
+
88
+ Grid de 8px: `2 · 4 · 8 · 16 · 24 · 32 · 48 · 64`
Binary file