@aiaiai-pt/design-system 0.8.3 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiaiai-pt/design-system",
3
- "version": "0.8.3",
3
+ "version": "0.9.0",
4
4
  "description": "Design system tokens and Svelte components for aiaiai products",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -0,0 +1,44 @@
1
+ /*
2
+ * aiaiai Design System — Tier 1: Tenant Theme — Município de Valongo
3
+ *
4
+ * Example citizen-portal tenant theme (#7 portal template system). Demonstrates
5
+ * the Tier-1 contract: a municipality re-skins brand tokens only; structure,
6
+ * typography, spacing, motion, radius, and a11y stay frozen and
7
+ * conformance-checkable (Designers Italia "Modello Comuni" model).
8
+ *
9
+ * In production these overrides come from the tenant's `portal` ontology row
10
+ * and are injected at runtime by the portal's hooks.server.ts; this static
11
+ * file is the seed/example.
12
+ *
13
+ * Tier-1 rules: override < 20 semantic tokens; change accent + surface tint;
14
+ * keep everything else.
15
+ *
16
+ * Apply via: <html data-theme="valongo">
17
+ */
18
+
19
+ [data-theme="valongo"] {
20
+ /* ─── Accent: Valongo civic green ─── */
21
+ --color-accent: #2e7d32;
22
+ --color-accent-hover: #1b5e20;
23
+ --color-accent-subtle: #eaf4ea;
24
+
25
+ /* ─── Surface: warm neutral ─── */
26
+ --color-surface: #ffffff;
27
+ --color-surface-secondary: #f4f6f3;
28
+ --color-surface-tertiary: #e8ece6;
29
+
30
+ /* ─── Borders ─── */
31
+ --color-border: #d7ded3;
32
+ --color-border-strong: #abb8a4;
33
+
34
+ /* ─── Text ─── */
35
+ --color-text: #1c241b;
36
+ --color-text-secondary: #44513f;
37
+ --color-text-muted: #71806b;
38
+
39
+ /* ─── Overlay + focus follow the brand ─── */
40
+ --color-overlay: rgba(28, 36, 27, 0.5);
41
+ --focus-ring-color: var(--color-accent);
42
+
43
+ /* Total overrides: 14 tokens. Still an aiaiai product, in Valongo's colours. */
44
+ }