@xyd-js/host 0.0.0-build-5e9e2a7-20250820102657 → 0.0.0-build-0016109-20250820105436

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,24 +1,24 @@
1
1
  # @xyd-js/host
2
2
 
3
- ## 0.0.0-build-5e9e2a7-20250820102657
3
+ ## 0.0.0-build-0016109-20250820105436
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-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
9
+ - @xyd-js/analytics@0.0.0-build-0016109-20250820105436
10
+ - @xyd-js/atlas@0.0.0-build-0016109-20250820105436
11
+ - @xyd-js/components@0.0.0-build-0016109-20250820105436
12
+ - @xyd-js/composer@0.0.0-build-0016109-20250820105436
13
+ - @xyd-js/content@0.0.0-build-0016109-20250820105436
14
+ - @xyd-js/core@0.0.0-build-0016109-20250820105436
15
+ - @xyd-js/framework@0.0.0-build-0016109-20250820105436
16
+ - @xyd-js/plugin-algolia@0.0.0-build-0016109-20250820105436
17
+ - @xyd-js/plugin-orama@0.0.0-build-0016109-20250820105436
18
+ - @xyd-js/theme-cosmo@0.0.0-build-0016109-20250820105436
19
+ - @xyd-js/theme-gusto@0.0.0-build-0016109-20250820105436
20
+ - @xyd-js/theme-opener@0.0.0-build-0016109-20250820105436
21
+ - @xyd-js/theme-picasso@0.0.0-build-0016109-20250820105436
22
+ - @xyd-js/theme-poetry@0.0.0-build-0016109-20250820105436
23
+ - @xyd-js/theme-solar@0.0.0-build-0016109-20250820105436
24
+ - @xyd-js/themes@0.0.0-build-0016109-20250820105436
package/app/root.tsx CHANGED
@@ -96,12 +96,9 @@ function clientColorScheme() {
96
96
 
97
97
  try {
98
98
  var theme = localStorage.getItem('xyd-color-scheme') || 'auto';
99
- var isDark = false;
100
99
 
101
- if (theme === 'dark') {
102
- isDark = true;
103
- } else if (theme === 'auto') {
104
- isDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
100
+ if (theme === 'auto') {
101
+ const isDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
105
102
 
106
103
  if (isDark) {
107
104
  return "dark"
@@ -1,12 +1,9 @@
1
1
  (function () {
2
2
  try {
3
3
  var theme = localStorage.getItem('xyd-color-scheme') || 'auto';
4
- var isDark = false;
5
4
 
6
- if (theme === 'dark') {
7
- isDark = true;
8
- } else if (theme === 'auto') {
9
- isDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
5
+ if (theme === 'auto') {
6
+ const isDark = window.matchMedia('(prefers-color-scheme: dark)').matches;
10
7
 
11
8
  if (isDark) {
12
9
  document.documentElement.setAttribute('data-color-scheme', 'dark');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyd-js/host",
3
- "version": "0.0.0-build-5e9e2a7-20250820102657",
3
+ "version": "0.0.0-build-0016109-20250820105436",
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-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"
16
+ "@xyd-js/analytics": "0.0.0-build-0016109-20250820105436",
17
+ "@xyd-js/core": "0.0.0-build-0016109-20250820105436",
18
+ "@xyd-js/components": "0.0.0-build-0016109-20250820105436",
19
+ "@xyd-js/content": "0.0.0-build-0016109-20250820105436",
20
+ "@xyd-js/framework": "0.0.0-build-0016109-20250820105436",
21
+ "@xyd-js/composer": "0.0.0-build-0016109-20250820105436",
22
+ "@xyd-js/themes": "0.0.0-build-0016109-20250820105436",
23
+ "@xyd-js/atlas": "0.0.0-build-0016109-20250820105436",
24
+ "@xyd-js/theme-poetry": "0.0.0-build-0016109-20250820105436",
25
+ "@xyd-js/theme-cosmo": "0.0.0-build-0016109-20250820105436",
26
+ "@xyd-js/theme-opener": "0.0.0-build-0016109-20250820105436",
27
+ "@xyd-js/theme-picasso": "0.0.0-build-0016109-20250820105436",
28
+ "@xyd-js/theme-gusto": "0.0.0-build-0016109-20250820105436",
29
+ "@xyd-js/theme-solar": "0.0.0-build-0016109-20250820105436",
30
+ "@xyd-js/plugin-orama": "0.0.0-build-0016109-20250820105436",
31
+ "@xyd-js/plugin-algolia": "0.0.0-build-0016109-20250820105436"
32
32
  },
33
33
  "devDependencies": {
34
34
  "autoprefixer": "^10.4.20",