@altafusion/fugue-theme 0.2.0 → 0.3.1

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,24 @@
1
1
  # @altafusion/fugue-theme
2
2
 
3
+ ## 0.3.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @altafusion/fugue-nuxt-ui@0.3.1
8
+ - @altafusion/nuxt-base@0.3.1
9
+
10
+ ## 0.3.0
11
+
12
+ ### Minor Changes
13
+
14
+ - da3fca4: Rename the light/dark state key from `sse:theme` to `fugue:theme`, and drop the one-time localStorage migration from legacy workflow and recipe keys in `@altafusion/fugue-workflow`. Code that reads `useState('sse:theme')` directly must use the new key.
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies [da3fca4]
19
+ - @altafusion/nuxt-base@0.3.0
20
+ - @altafusion/fugue-nuxt-ui@0.3.0
21
+
3
22
  ## 0.2.0
4
23
 
5
24
  ### Minor Changes
package/README.md CHANGED
@@ -21,4 +21,3 @@ export default defineNuxtConfig({
21
21
 
22
22
  - Altafusion product apps (**`templates/fugue-content-site`**, **`packages-consumer/fugue-content`**) extend here for tokens; **product brand** (logos, `--*` brand vars) lives in **`@altafusion/shell`**, not this package.
23
23
  - **`templates/docus-site`** doc sites use Docus chrome — they do **not** require fugue-theme.
24
- - Docs: **[Fugue overview](../../apps/developer-docs/content/3.fugue/1.overview.md)** · **[Shared packages](../../apps/developer-docs/content/2.monorepo/4.shared-packages.md)**.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Syncs fugue-theme light/dark (`useTheme` / `sse:theme`) with `[data-theme]` and
2
+ * Syncs fugue-theme light/dark (`useTheme` / `fugue:theme`) with `[data-theme]` and
3
3
  * `@nuxtjs/color-mode` when present — not Altafusion runtime brand (`useBrandTheme`).
4
4
  */
5
5
  export default defineNuxtPlugin(() => {
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Light/dark appearance for the fugue-theme layer (`sse:theme` state).
2
+ * Light/dark appearance for the fugue-theme layer (`fugue:theme` state).
3
3
  * Distinct from `useBrandTheme` in `@altafusion/shell` (Altafusion brand cookie / `[data-brand]`).
4
4
  */
5
5
  export function useTheme() {
6
- const theme = useState<'light' | 'dark'>('sse:theme', () => 'dark')
6
+ const theme = useState<'light' | 'dark'>('fugue:theme', () => 'dark')
7
7
 
8
8
  function toggleTheme() {
9
9
  theme.value = theme.value === 'light'
package/package.json CHANGED
@@ -1,9 +1,18 @@
1
1
  {
2
2
  "name": "@altafusion/fugue-theme",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.3.1",
5
5
  "description": "Optional Fugue theme layer — neutral tokens, theme CSS, Tailwind entry, dark-canvas",
6
6
  "license": "MIT",
7
+ "homepage": "https://github.com/altafusion/fugue/tree/main/packages-fugue/fugue-theme#readme",
8
+ "bugs": {
9
+ "url": "https://github.com/altafusion/fugue/issues"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git+https://github.com/altafusion/fugue.git",
14
+ "directory": "packages-fugue/fugue-theme"
15
+ },
7
16
  "publishConfig": {
8
17
  "access": "public"
9
18
  },
@@ -21,8 +30,8 @@
21
30
  "nuxt": ">=4.0.0"
22
31
  },
23
32
  "dependencies": {
24
- "@altafusion/fugue-nuxt-ui": "0.2.0",
25
- "@altafusion/nuxt-base": "0.2.0",
33
+ "@altafusion/fugue-nuxt-ui": "0.3.1",
34
+ "@altafusion/nuxt-base": "0.3.1",
26
35
  "@iconify-json/lucide": "^1.2.157",
27
36
  "@iconify-json/simple-icons": "^1.2.103",
28
37
  "@nuxt/eslint": "^1.17.0",
@@ -31,7 +40,7 @@
31
40
  "tailwindcss": "^4.3.5"
32
41
  },
33
42
  "devDependencies": {
34
- "@altafusion/eslint-config": "0.2.0",
43
+ "@altafusion/eslint-config": "0.3.1",
35
44
  "@types/node": "^26.6.6",
36
45
  "eslint": "^10.15.0",
37
46
  "nuxt": "^4.6.4",