hexo-theme-particlex 2.0.5 → 2.0.6

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/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [ParticleX](https://github.com/argvchs/hexo-theme-particlex) 主题,诞生原因是因为原来的 [Particle](https://github.com/korilin/hexo-theme-particle) 主题不维护了,但是我觉得还是很好的
4
4
 
5
- 原来用的是 Vue 2 + Ant Design Vue 1,现更新到 Vue 3,去除 Ant Design Vue 采用自定义样式,图标更改为 Font Awesome 6,将不能用的 JSDelivr 改为 Staticfile CDN
5
+ 原来用的是 Vue 2 + Ant Design Vue 1,现更新到 Vue 3,去除 Ant Design Vue 采用自定义样式,图标更改为 Font Awesome 6,CDN 改为 Staticfile
6
6
 
7
7
  原项目 `README.md` 里说:
8
8
 
@@ -3,7 +3,7 @@
3
3
  <div id="loadcontent" style="width:50vmin;height:50vmin;padding:50px;border-radius:50%;display:flex;justify-content:center;align-items:center;border:solid 10px #a3ddfb;text-align:center">
4
4
  <div>
5
5
  <h2>LOADING...</h2>
6
- <p style="word-break:keep-all">加载过慢请开启缓存(浏览器默认开启)</p>
6
+ <p style="word-break:keep-all">加载过慢请开启缓存(浏览器默认开启)</p>
7
7
  <div>
8
8
  <img alt="loading" src="<%- url_for("/loading.gif") %>">
9
9
  </div>
package/layout/script.ejs CHANGED
@@ -41,6 +41,7 @@
41
41
  data-input-position="<%- theme.giscus.inputPosition %>"
42
42
  data-theme="<%- theme.giscus.theme %>"
43
43
  data-lang="<%- theme.giscus.lang %>"
44
+ crossorigin
44
45
  async
45
46
  ></script>
46
47
  <% } %>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -541,8 +541,8 @@ footer .footer-wrap {
541
541
  top: -70px !important;
542
542
  }
543
543
  .menu-color {
544
- background: #00000033 !important;
545
- box-shadow: 0 -1px 10px 0 #ffffff00 !important;
544
+ background: #0003 !important;
545
+ box-shadow: 0 -1px 10px 0 #fff0 !important;
546
546
  }
547
547
  .menu-color .title {
548
548
  color: #fff !important;
@@ -983,11 +983,11 @@ body::-webkit-scrollbar-track {
983
983
  border: 3px solid #e6efff;
984
984
  background-image: linear-gradient(
985
985
  45deg,
986
- rgba(255, 255, 255, 0.4) 25%,
986
+ #fff6 25%,
987
987
  transparent 25%,
988
988
  transparent 50%,
989
- rgba(255, 255, 255, 0.4) 50%,
990
- rgba(255, 255, 255, 0.4) 75%,
989
+ #fff6 50%,
990
+ #fff6 75%,
991
991
  transparent 75%,
992
992
  transparent
993
993
  );