valaxy 0.11.1 → 0.11.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/client/App.vue CHANGED
@@ -3,6 +3,8 @@ import { computed, provide, ref } from 'vue'
3
3
  import { useHead } from '@vueuse/head'
4
4
  // @ts-expect-error virtual module
5
5
  import ValaxyUserApp from '/@valaxyjs/UserAppVue'
6
+ // @ts-expect-error virtual module
7
+ import ValaxyThemeApp from '/@valaxyjs/ThemeAppVue'
6
8
  import ValaxyAddons from './components/ValaxyAddons.vue'
7
9
  import { isDark } from './composables'
8
10
 
@@ -43,7 +45,8 @@ provide('onContentUpdated', onContentUpdated)
43
45
  </script>
44
46
 
45
47
  <template>
46
- <ValaxyUserApp />
48
+ <ValaxyThemeApp />
47
49
  <ValaxyAddons />
50
+ <ValaxyUserApp />
48
51
  <router-view />
49
52
  </template>
@@ -85,7 +85,9 @@ html.dark {
85
85
  align-items: center;
86
86
 
87
87
  > .icon {
88
- width: 16px;
88
+ display: inline-flex;
89
+ width: 1rem;
90
+ height: 1rem;
89
91
  margin-right: 4px;
90
92
  }
91
93
  }
@@ -13,16 +13,17 @@
13
13
  ::-webkit-scrollbar-thumb {
14
14
  border-radius: 2px;
15
15
  background-color: rgba(122, 122, 122, 0.3);
16
+ // transition not work
16
17
 
17
18
  &:window-inactive {
18
19
  background-color: rgba(122, 122, 122, 0.3);
19
20
  }
20
21
 
21
22
  &:hover {
22
- background-color: rgba(get-css-var("c", "primary", "rgb"), 0.7);
23
+ background-color: rgba(122, 122, 122, 0.7);
23
24
  }
24
25
 
25
26
  &:active {
26
- background-color: rgba(get-css-var("c", "primary", "rgb"), 0.9);
27
+ background-color: rgba(122, 122, 122, 0.9);
27
28
  }
28
29
  }
@@ -22,9 +22,7 @@ $font: map.merge(
22
22
  "sans":
23
23
  'Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif',
24
24
  "mono": 'Menlo, Monaco, Consolas, "Courier New", monospace',
25
- "serif":
26
- "'Songti SC', 'Noto Serif SC', STZhongsong, STKaiti, KaiTi, Roboto, serif",
27
- "serif-weight": 900,
25
+ "serif": "'Noto Serif SC', STZhongsong, STKaiti, KaiTi, Roboto, serif",
28
26
  ),
29
27
  $font
30
28
  );
@@ -19,7 +19,8 @@ $char-animation-duration: 0.4s;
19
19
  }
20
20
 
21
21
  .vertical-line {
22
- &-top, &-bottom {
22
+ &-top,
23
+ &-bottom {
23
24
  display: flex;
24
25
  background-color: var(--banner-line-color);
25
26
  width: 1px;
@@ -47,9 +48,9 @@ $char-animation-duration: 0.4s;
47
48
  }
48
49
 
49
50
  .char {
50
- font-family: get-css-var('font', 'serif');
51
+ font-family: get-css-var("font", "serif");
52
+ font-weight: 900;
51
53
  font-size: var(--banner-char-size, 1rem);
52
- font-weight: get-css-var('font', 'serif-weight');
53
54
  background-color: var(--banner-char-bg-color);
54
55
  line-height: 1;
55
56
 
@@ -99,7 +100,10 @@ $char-animation-duration: 0.4s;
99
100
 
100
101
  to {
101
102
  opacity: 1;
102
- border-right-width: var(--banner-empty-border-size, var(--banner-char-size));
103
+ border-right-width: var(
104
+ --banner-empty-border-size,
105
+ var(--banner-char-size)
106
+ );
103
107
  }
104
108
  }
105
109