@xyd-js/host 0.0.0-build-31b39ec-20250820101539 → 0.0.0-build-eb01699-20250820104451

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-31b39ec-20250820101539
3
+ ## 0.0.0-build-eb01699-20250820104451
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-31b39ec-20250820101539
10
- - @xyd-js/atlas@0.0.0-build-31b39ec-20250820101539
11
- - @xyd-js/components@0.0.0-build-31b39ec-20250820101539
12
- - @xyd-js/composer@0.0.0-build-31b39ec-20250820101539
13
- - @xyd-js/content@0.0.0-build-31b39ec-20250820101539
14
- - @xyd-js/core@0.0.0-build-31b39ec-20250820101539
15
- - @xyd-js/framework@0.0.0-build-31b39ec-20250820101539
16
- - @xyd-js/plugin-algolia@0.0.0-build-31b39ec-20250820101539
17
- - @xyd-js/plugin-orama@0.0.0-build-31b39ec-20250820101539
18
- - @xyd-js/theme-cosmo@0.0.0-build-31b39ec-20250820101539
19
- - @xyd-js/theme-gusto@0.0.0-build-31b39ec-20250820101539
20
- - @xyd-js/theme-opener@0.0.0-build-31b39ec-20250820101539
21
- - @xyd-js/theme-picasso@0.0.0-build-31b39ec-20250820101539
22
- - @xyd-js/theme-poetry@0.0.0-build-31b39ec-20250820101539
23
- - @xyd-js/theme-solar@0.0.0-build-31b39ec-20250820101539
24
- - @xyd-js/themes@0.0.0-build-31b39ec-20250820101539
9
+ - @xyd-js/analytics@0.0.0-build-eb01699-20250820104451
10
+ - @xyd-js/atlas@0.0.0-build-eb01699-20250820104451
11
+ - @xyd-js/components@0.0.0-build-eb01699-20250820104451
12
+ - @xyd-js/composer@0.0.0-build-eb01699-20250820104451
13
+ - @xyd-js/content@0.0.0-build-eb01699-20250820104451
14
+ - @xyd-js/core@0.0.0-build-eb01699-20250820104451
15
+ - @xyd-js/framework@0.0.0-build-eb01699-20250820104451
16
+ - @xyd-js/plugin-algolia@0.0.0-build-eb01699-20250820104451
17
+ - @xyd-js/plugin-orama@0.0.0-build-eb01699-20250820104451
18
+ - @xyd-js/theme-cosmo@0.0.0-build-eb01699-20250820104451
19
+ - @xyd-js/theme-gusto@0.0.0-build-eb01699-20250820104451
20
+ - @xyd-js/theme-opener@0.0.0-build-eb01699-20250820104451
21
+ - @xyd-js/theme-picasso@0.0.0-build-eb01699-20250820104451
22
+ - @xyd-js/theme-poetry@0.0.0-build-eb01699-20250820104451
23
+ - @xyd-js/theme-solar@0.0.0-build-eb01699-20250820104451
24
+ - @xyd-js/themes@0.0.0-build-eb01699-20250820104451
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-31b39ec-20250820101539",
3
+ "version": "0.0.0-build-eb01699-20250820104451",
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/core": "0.0.0-build-31b39ec-20250820101539",
17
- "@xyd-js/analytics": "0.0.0-build-31b39ec-20250820101539",
18
- "@xyd-js/components": "0.0.0-build-31b39ec-20250820101539",
19
- "@xyd-js/content": "0.0.0-build-31b39ec-20250820101539",
20
- "@xyd-js/framework": "0.0.0-build-31b39ec-20250820101539",
21
- "@xyd-js/themes": "0.0.0-build-31b39ec-20250820101539",
22
- "@xyd-js/atlas": "0.0.0-build-31b39ec-20250820101539",
23
- "@xyd-js/theme-poetry": "0.0.0-build-31b39ec-20250820101539",
24
- "@xyd-js/theme-cosmo": "0.0.0-build-31b39ec-20250820101539",
25
- "@xyd-js/theme-opener": "0.0.0-build-31b39ec-20250820101539",
26
- "@xyd-js/composer": "0.0.0-build-31b39ec-20250820101539",
27
- "@xyd-js/theme-picasso": "0.0.0-build-31b39ec-20250820101539",
28
- "@xyd-js/theme-solar": "0.0.0-build-31b39ec-20250820101539",
29
- "@xyd-js/theme-gusto": "0.0.0-build-31b39ec-20250820101539",
30
- "@xyd-js/plugin-orama": "0.0.0-build-31b39ec-20250820101539",
31
- "@xyd-js/plugin-algolia": "0.0.0-build-31b39ec-20250820101539"
16
+ "@xyd-js/analytics": "0.0.0-build-eb01699-20250820104451",
17
+ "@xyd-js/core": "0.0.0-build-eb01699-20250820104451",
18
+ "@xyd-js/components": "0.0.0-build-eb01699-20250820104451",
19
+ "@xyd-js/content": "0.0.0-build-eb01699-20250820104451",
20
+ "@xyd-js/framework": "0.0.0-build-eb01699-20250820104451",
21
+ "@xyd-js/composer": "0.0.0-build-eb01699-20250820104451",
22
+ "@xyd-js/themes": "0.0.0-build-eb01699-20250820104451",
23
+ "@xyd-js/atlas": "0.0.0-build-eb01699-20250820104451",
24
+ "@xyd-js/theme-poetry": "0.0.0-build-eb01699-20250820104451",
25
+ "@xyd-js/theme-cosmo": "0.0.0-build-eb01699-20250820104451",
26
+ "@xyd-js/theme-opener": "0.0.0-build-eb01699-20250820104451",
27
+ "@xyd-js/theme-picasso": "0.0.0-build-eb01699-20250820104451",
28
+ "@xyd-js/theme-gusto": "0.0.0-build-eb01699-20250820104451",
29
+ "@xyd-js/theme-solar": "0.0.0-build-eb01699-20250820104451",
30
+ "@xyd-js/plugin-orama": "0.0.0-build-eb01699-20250820104451",
31
+ "@xyd-js/plugin-algolia": "0.0.0-build-eb01699-20250820104451"
32
32
  },
33
33
  "devDependencies": {
34
34
  "autoprefixer": "^10.4.20",