@adres/mgda-ui 0.0.1 → 0.0.2

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/knowledge.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "generatedBy": "scripts/sync-component-knowledge.mjs",
4
4
  "package": {
5
5
  "name": "@adres/mgda-ui",
6
- "version": "0.0.1"
6
+ "version": "0.0.2"
7
7
  },
8
8
  "totals": {
9
9
  "components": 117,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adres/mgda-ui",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -9,17 +9,17 @@
9
9
  * - The Tailwind @theme inline mapping that exposes semantic tokens as utilities
10
10
  *
11
11
  * What does NOT live here:
12
- * - Brand-specific values (colors, font family, gradients) → those come from
13
- * a brand package (e.g. @adres/brand-adres) imported BEFORE this file.
12
+ * - ../theme/theme.css: the MGDA values (colors, font family, shadows)
14
13
  *
15
14
  * Import order in your app:
16
- * @import "tailwindcss" prefix(ax); ← Tailwind 4 entry (REQUIRED FIRST)
17
- * @import "@adres/brand-adres/theme.css"; ← provides values for --primary, etc.
18
- * @import "@adres/mgda-ui/styles"; ← this file: maps them to utilities
15
+ * @import "tailwindcss" prefix(ax); <- Tailwind 4 entry (REQUIRED FIRST)
16
+ * @import "@adres/mgda-ui/styles"; <- this file (theme + utility wiring)
19
17
  */
20
18
 
21
- /* Dark mode is toggled by a `.dark` class on the root (the brand themes flip
22
- * their tokens under `:root[data-brand].dark`). Re-point Tailwind's `dark:`
19
+ @import "../theme/theme.css";
20
+
21
+ /* Dark mode is toggled by a `.dark` class on the root (the theme flips
22
+ * its tokens under `:root.dark`). Re-point Tailwind's `dark:`
23
23
  * variant at that same class so utilities like `ax:dark:bg-primary-stronger` follow
24
24
  * the app toggle, NOT the OS `prefers-color-scheme`, which is Tailwind's
25
25
  * default and would otherwise apply in light mode on a dark-set OS. */