hexo-theme-shokax 0.2.0-rc1 → 0.2.0-rc2

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-shokax",
3
- "version": "0.2.0-rc1",
3
+ "version": "0.2.0-rc2",
4
4
  "description": "a hexo theme based on shoka",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/zkz098/hexo-theme-shokaX",
@@ -19,10 +19,10 @@
19
19
  "@types/jquery": "^3.5.16",
20
20
  "@types/js-yaml": "^4.0.5",
21
21
  "@types/lozad": "^1.16.1",
22
- "@types/node": "^18.14.1",
22
+ "@types/node": "^18.13.0",
23
23
  "@types/shelljs": "^0.8.11",
24
- "@typescript-eslint/eslint-plugin": "^5.53.0",
25
- "@typescript-eslint/parser": "^5.53.0",
24
+ "@typescript-eslint/eslint-plugin": "^5.51.0",
25
+ "@typescript-eslint/parser": "^5.51.0",
26
26
  "@vuepress/client": "2.0.0-beta.60",
27
27
  "eslint": "^8.34.0",
28
28
  "eslint-config-standard": "^17.0.0",
@@ -30,12 +30,10 @@
30
30
  "eslint-plugin-n": "^15.6.1",
31
31
  "eslint-plugin-promise": "^6.1.1",
32
32
  "eslint-plugin-vue": "^9.9.0",
33
- "hexo-fs": "^4.1.1",
34
- "hexo-util": "^3.0.1",
35
33
  "typescript": "^4.9.5",
36
34
  "vue": "^3.2.47",
37
35
  "vuepress": "2.0.0-beta.60",
38
- "vuepress-plugin-sitemap2": "2.0.0-beta.181"
36
+ "vuepress-plugin-sitemap2": "2.0.0-beta.180"
39
37
  },
40
38
  "dependencies": {
41
39
  "js-yaml": "^4.1.0"
@@ -34,7 +34,7 @@ hexo.extend.generator.register('script', function (locals) {
34
34
  },
35
35
  loader: theme.loader,
36
36
  search: null,
37
- valine: theme.valine,
37
+ valine: theme.valine, // TODO 废弃属性
38
38
  outime: {
39
39
  enable: theme.outime.enable,
40
40
  days: theme.outime.days
@@ -16,7 +16,6 @@
16
16
  const fs = require('fs')
17
17
  const path = require('path')
18
18
  const yaml = require('js-yaml')
19
- // const url = require('url')
20
19
 
21
20
  function linkGrid (args, content) {
22
21
  const theme = hexo.theme.config
@@ -13,13 +13,16 @@
13
13
  img,
14
14
  .tabs,
15
15
  .links {
16
-
16
+ content-visibility: auto;
17
+ contain-intrinsic-size: 979px 1.2em;
17
18
  &:last-child {
18
19
  margin-bottom: 0;
19
20
  }
20
21
  }
21
22
 
22
23
  ul, dd, ol {
24
+ content-visibility: auto;
25
+ contain-intrinsic-size: 979px 3.5em;
23
26
  ul, ol {
24
27
  margin-top: 0;
25
28
  }