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 +4 -1
- package/client/styles/common/custom-blocks.scss +3 -1
- package/client/styles/common/scrollbar.scss +3 -2
- package/client/styles/vars.scss +1 -3
- package/client/styles/widgets/banner.scss +8 -4
- package/dist/{chunk-62CWDGLS.cjs → chunk-7E4ZKF2A.cjs} +25 -25
- package/dist/{chunk-A5NIRECJ.mjs → chunk-ADF3MCMP.mjs} +28 -28
- package/dist/{config-bae39f59.d.ts → config-9d0ecaef.d.ts} +14 -4
- package/dist/node/cli.cjs +7 -7
- package/dist/node/cli.mjs +7 -7
- package/dist/node/index.cjs +1 -1
- package/dist/node/index.d.ts +23 -21
- package/dist/node/index.mjs +1 -1
- package/dist/types/index.d.ts +3 -3
- package/package.json +21 -21
- package/types/addon.ts +6 -0
- package/types/config.ts +6 -0
- package/types/index.ts +1 -0
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
|
-
<
|
|
48
|
+
<ValaxyThemeApp />
|
|
47
49
|
<ValaxyAddons />
|
|
50
|
+
<ValaxyUserApp />
|
|
48
51
|
<router-view />
|
|
49
52
|
</template>
|
|
@@ -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(
|
|
23
|
+
background-color: rgba(122, 122, 122, 0.7);
|
|
23
24
|
}
|
|
24
25
|
|
|
25
26
|
&:active {
|
|
26
|
-
background-color: rgba(
|
|
27
|
+
background-color: rgba(122, 122, 122, 0.9);
|
|
27
28
|
}
|
|
28
29
|
}
|
package/client/styles/vars.scss
CHANGED
|
@@ -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,
|
|
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(
|
|
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(
|
|
103
|
+
border-right-width: var(
|
|
104
|
+
--banner-empty-border-size,
|
|
105
|
+
var(--banner-char-size)
|
|
106
|
+
);
|
|
103
107
|
}
|
|
104
108
|
}
|
|
105
109
|
|