@xyd-js/host 0.0.0-build-8a4960e-20250820095234 → 0.0.0-build-5e9e2a7-20250820102657
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 +17 -17
- package/app/root.tsx +2 -1
- package/app/scripts/colorSchemeScript.ts +2 -0
- package/package.json +17 -17
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
# @xyd-js/host
|
|
2
2
|
|
|
3
|
-
## 0.0.0-build-
|
|
3
|
+
## 0.0.0-build-5e9e2a7-20250820102657
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- update all packages
|
|
8
8
|
- Updated dependencies
|
|
9
|
-
- @xyd-js/analytics@0.0.0-build-
|
|
10
|
-
- @xyd-js/atlas@0.0.0-build-
|
|
11
|
-
- @xyd-js/components@0.0.0-build-
|
|
12
|
-
- @xyd-js/composer@0.0.0-build-
|
|
13
|
-
- @xyd-js/content@0.0.0-build-
|
|
14
|
-
- @xyd-js/core@0.0.0-build-
|
|
15
|
-
- @xyd-js/framework@0.0.0-build-
|
|
16
|
-
- @xyd-js/plugin-algolia@0.0.0-build-
|
|
17
|
-
- @xyd-js/plugin-orama@0.0.0-build-
|
|
18
|
-
- @xyd-js/theme-cosmo@0.0.0-build-
|
|
19
|
-
- @xyd-js/theme-gusto@0.0.0-build-
|
|
20
|
-
- @xyd-js/theme-opener@0.0.0-build-
|
|
21
|
-
- @xyd-js/theme-picasso@0.0.0-build-
|
|
22
|
-
- @xyd-js/theme-poetry@0.0.0-build-
|
|
23
|
-
- @xyd-js/theme-solar@0.0.0-build-
|
|
24
|
-
- @xyd-js/themes@0.0.0-build-
|
|
9
|
+
- @xyd-js/analytics@0.0.0-build-5e9e2a7-20250820102657
|
|
10
|
+
- @xyd-js/atlas@0.0.0-build-5e9e2a7-20250820102657
|
|
11
|
+
- @xyd-js/components@0.0.0-build-5e9e2a7-20250820102657
|
|
12
|
+
- @xyd-js/composer@0.0.0-build-5e9e2a7-20250820102657
|
|
13
|
+
- @xyd-js/content@0.0.0-build-5e9e2a7-20250820102657
|
|
14
|
+
- @xyd-js/core@0.0.0-build-5e9e2a7-20250820102657
|
|
15
|
+
- @xyd-js/framework@0.0.0-build-5e9e2a7-20250820102657
|
|
16
|
+
- @xyd-js/plugin-algolia@0.0.0-build-5e9e2a7-20250820102657
|
|
17
|
+
- @xyd-js/plugin-orama@0.0.0-build-5e9e2a7-20250820102657
|
|
18
|
+
- @xyd-js/theme-cosmo@0.0.0-build-5e9e2a7-20250820102657
|
|
19
|
+
- @xyd-js/theme-gusto@0.0.0-build-5e9e2a7-20250820102657
|
|
20
|
+
- @xyd-js/theme-opener@0.0.0-build-5e9e2a7-20250820102657
|
|
21
|
+
- @xyd-js/theme-picasso@0.0.0-build-5e9e2a7-20250820102657
|
|
22
|
+
- @xyd-js/theme-poetry@0.0.0-build-5e9e2a7-20250820102657
|
|
23
|
+
- @xyd-js/theme-solar@0.0.0-build-5e9e2a7-20250820102657
|
|
24
|
+
- @xyd-js/themes@0.0.0-build-5e9e2a7-20250820102657
|
package/app/root.tsx
CHANGED
|
@@ -108,6 +108,8 @@ function clientColorScheme() {
|
|
|
108
108
|
}
|
|
109
109
|
} else if (theme === 'light') {
|
|
110
110
|
return "light"
|
|
111
|
+
} else if (theme === 'dark') {
|
|
112
|
+
return "dark"
|
|
111
113
|
}
|
|
112
114
|
} catch (e) {
|
|
113
115
|
// Fallback to system preference if localStorage fails
|
|
@@ -128,7 +130,6 @@ function getPathname(url: string) {
|
|
|
128
130
|
return parsedUrl.pathname.replace(/^\//, '');
|
|
129
131
|
}
|
|
130
132
|
|
|
131
|
-
|
|
132
133
|
function DefaultMetas() {
|
|
133
134
|
return <>
|
|
134
135
|
<meta charSet="utf-8" />
|
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
}
|
|
14
14
|
} else if (theme === 'light') {
|
|
15
15
|
document.documentElement.setAttribute('data-color-scheme', 'light');
|
|
16
|
+
} else if (theme === 'dark') {
|
|
17
|
+
document.documentElement.setAttribute('data-color-scheme', 'dark');
|
|
16
18
|
}
|
|
17
19
|
} catch (e) {
|
|
18
20
|
// Fallback to system preference if localStorage fails
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyd-js/host",
|
|
3
|
-
"version": "0.0.0-build-
|
|
3
|
+
"version": "0.0.0-build-5e9e2a7-20250820102657",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"katex": "^0.16.22",
|
|
@@ -13,22 +13,22 @@
|
|
|
13
13
|
"@react-router/serve": "^7.7.1",
|
|
14
14
|
"openux-js": "0.0.0-pre.1",
|
|
15
15
|
"pluganalytics": "0.0.0-pre.3",
|
|
16
|
-
"@xyd-js/analytics": "0.0.0-build-
|
|
17
|
-
"@xyd-js/core": "0.0.0-build-
|
|
18
|
-
"@xyd-js/
|
|
19
|
-
"@xyd-js/
|
|
20
|
-
"@xyd-js/framework": "0.0.0-build-
|
|
21
|
-
"@xyd-js/composer": "0.0.0-build-
|
|
22
|
-
"@xyd-js/themes": "0.0.0-build-
|
|
23
|
-
"@xyd-js/atlas": "0.0.0-build-
|
|
24
|
-
"@xyd-js/theme-poetry": "0.0.0-build-
|
|
25
|
-
"@xyd-js/theme-cosmo": "0.0.0-build-
|
|
26
|
-
"@xyd-js/theme-opener": "0.0.0-build-
|
|
27
|
-
"@xyd-js/theme-picasso": "0.0.0-build-
|
|
28
|
-
"@xyd-js/theme-gusto": "0.0.0-build-
|
|
29
|
-
"@xyd-js/theme-solar": "0.0.0-build-
|
|
30
|
-
"@xyd-js/plugin-orama": "0.0.0-build-
|
|
31
|
-
"@xyd-js/plugin-algolia": "0.0.0-build-
|
|
16
|
+
"@xyd-js/analytics": "0.0.0-build-5e9e2a7-20250820102657",
|
|
17
|
+
"@xyd-js/core": "0.0.0-build-5e9e2a7-20250820102657",
|
|
18
|
+
"@xyd-js/components": "0.0.0-build-5e9e2a7-20250820102657",
|
|
19
|
+
"@xyd-js/content": "0.0.0-build-5e9e2a7-20250820102657",
|
|
20
|
+
"@xyd-js/framework": "0.0.0-build-5e9e2a7-20250820102657",
|
|
21
|
+
"@xyd-js/composer": "0.0.0-build-5e9e2a7-20250820102657",
|
|
22
|
+
"@xyd-js/themes": "0.0.0-build-5e9e2a7-20250820102657",
|
|
23
|
+
"@xyd-js/atlas": "0.0.0-build-5e9e2a7-20250820102657",
|
|
24
|
+
"@xyd-js/theme-poetry": "0.0.0-build-5e9e2a7-20250820102657",
|
|
25
|
+
"@xyd-js/theme-cosmo": "0.0.0-build-5e9e2a7-20250820102657",
|
|
26
|
+
"@xyd-js/theme-opener": "0.0.0-build-5e9e2a7-20250820102657",
|
|
27
|
+
"@xyd-js/theme-picasso": "0.0.0-build-5e9e2a7-20250820102657",
|
|
28
|
+
"@xyd-js/theme-gusto": "0.0.0-build-5e9e2a7-20250820102657",
|
|
29
|
+
"@xyd-js/theme-solar": "0.0.0-build-5e9e2a7-20250820102657",
|
|
30
|
+
"@xyd-js/plugin-orama": "0.0.0-build-5e9e2a7-20250820102657",
|
|
31
|
+
"@xyd-js/plugin-algolia": "0.0.0-build-5e9e2a7-20250820102657"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"autoprefixer": "^10.4.20",
|