hexo-theme-particlex 2.6.8 → 2.6.9

Sign up to get free protection for your applications and to get access to all the features.
package/layout/import.ejs CHANGED
@@ -1,23 +1,23 @@
1
- <script src="https://cdn.staticfile.org/vue/3.2.47/vue.global.prod.min.js"></script>
2
- <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.3.0/css/all.min.css" />
1
+ <script src="https://cdn.staticfile.org/vue/3.3.4/vue.global.prod.min.js"></script>
2
+ <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css" />
3
3
  <link rel="stylesheet" href="<%- url_for("/css/fonts.min.css") %>" />
4
4
  <script> const mixins = {}; </script>
5
5
  <% if (theme.polyfill.enable) { %>
6
6
  <script src="https://polyfill.io/v3/polyfill.min.js?features=<%- theme.polyfill.features %>"></script>
7
7
  <% } %>
8
8
  <% if (theme.highlight.enable) { %>
9
- <script src="https://cdn.staticfile.org/highlight.js/11.7.0/highlight.min.js"></script>
9
+ <script src="https://cdn.staticfile.org/highlight.js/11.8.0/highlight.min.js"></script>
10
10
  <script src="https://cdn.staticfile.org/highlightjs-line-numbers.js/2.8.0/highlightjs-line-numbers.min.js"></script>
11
11
  <link
12
12
  rel="stylesheet"
13
- href="https://cdn.staticfile.org/highlight.js/11.7.0/styles/<%- theme.highlight.style %>.min.css"
13
+ href="https://cdn.staticfile.org/highlight.js/11.8.0/styles/<%- theme.highlight.style %>.min.css"
14
14
  />
15
15
  <script src="<%- url_for("/js/lib/highlight.js") %>"></script>
16
16
  <% } %>
17
17
  <% if (theme.math.enable) { %>
18
- <script src="https://cdn.staticfile.org/KaTeX/0.16.4/katex.min.js"></script>
19
- <script src="https://cdn.staticfile.org/KaTeX/0.16.4/contrib/auto-render.min.js"></script>
20
- <link rel="stylesheet" href="https://cdn.staticfile.org/KaTeX/0.16.4/katex.min.css" />
18
+ <script src="https://cdn.staticfile.org/KaTeX/0.16.8/katex.min.js"></script>
19
+ <script src="https://cdn.staticfile.org/KaTeX/0.16.8/contrib/auto-render.min.js"></script>
20
+ <link rel="stylesheet" href="https://cdn.staticfile.org/KaTeX/0.16.8/katex.min.css" />
21
21
  <script src="<%- url_for("/js/lib/math.js") %>"></script>
22
22
  <% } %>
23
23
  <% if (theme.preview.enable) { %>
@@ -36,9 +36,9 @@
36
36
  <link rel="stylesheet" href="https://cdn.staticfile.org/gitalk/1.8.0/gitalk.min.css" />
37
37
  <% } %>
38
38
  <% if (theme.waline.enable) { %>
39
- <script src="https://cdn.staticfile.org/waline/2.14.8/waline.min.js"></script>
40
- <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.14.8/waline.min.css" />
41
- <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.14.8/waline-meta.min.css" />
39
+ <script src="https://cdn.staticfile.org/waline/2.15.5/waline.min.js"></script>
40
+ <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.15.5/waline.min.css" />
41
+ <link rel="stylesheet" href="https://cdn.staticfile.org/waline/2.15.5/waline-meta.min.css" />
42
42
  <% } %>
43
43
  <% if (theme.twikoo.enable) { %>
44
44
  <script src="https://cdn.staticfile.org/twikoo/1.6.16/twikoo.all.min.js"></script>
package/layout/layout.ejs CHANGED
@@ -36,12 +36,10 @@
36
36
  </div>
37
37
  </transition>
38
38
  <%- partial("menu") %>
39
- <transition name="into">
40
- <div id="main" v-show="!loading">
41
- <%- partial(type) %>
42
- <%- partial("footer") %>
43
- </div>
44
- </transition>
39
+ <div id="main" :class="loading ? 'into-enter-from': 'into-enter-active'">
40
+ <%- partial(type) %>
41
+ <%- partial("footer") %>
42
+ </div>
45
43
  <% if (theme.preview.enable) { %>
46
44
  <transition name="fade">
47
45
  <div id="preview" ref="preview" v-show="previewShow">
package/layout/menu.ejs CHANGED
@@ -1,5 +1,5 @@
1
- <nav id="menu" :class="{ hidden: hiddenMenu, 'menu-color': menuColor}">
2
- <div id="desktop-menu">
1
+ <div id="menu" :class="{ hidden: hiddenMenu, 'menu-color': menuColor}">
2
+ <nav id="desktop-menu">
3
3
  <a class="title" href="<%- config.root %>">
4
4
  <span><%= config.title.toUpperCase() %></span>
5
5
  </a>
@@ -9,8 +9,8 @@
9
9
  <span>&ensp;<%= key %></span>
10
10
  </a>
11
11
  <% }); %>
12
- </div>
13
- <div id="mobile-menu">
12
+ </nav>
13
+ <nav id="mobile-menu">
14
14
  <div class="title" @click="showMenuItems = !showMenuItems">
15
15
  <i class="fa-solid fa-bars fa-fw"></i>
16
16
  <span>&emsp;<%= config.title.toUpperCase() %></span>
@@ -29,8 +29,8 @@
29
29
  <% }); %>
30
30
  </div>
31
31
  </transition>
32
- </div>
33
- </nav>
32
+ </nav>
33
+ </div>
34
34
  <transition name="fade">
35
35
  <div id="menu-curtain" @click="showMenuItems = !showMenuItems" v-show="showMenuItems"></div>
36
36
  </transition>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.6.8",
3
+ "version": "2.6.9",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -576,12 +576,10 @@ body::-webkit-scrollbar-track {
576
576
  .input:hover {
577
577
  background: #fff;
578
578
  }
579
- .into-enter-active,
580
- .into-leave-active {
579
+ .into-enter-active {
581
580
  transition: opacity 0.5s, transform 0.5s;
582
581
  }
583
- .into-enter-from,
584
- .into-leave-to {
582
+ .into-enter-from {
585
583
  opacity: 0;
586
584
  transform: scale(1.1);
587
585
  }