@wcj/github-rank 22.3.18 → 22.3.19

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.
Files changed (38) hide show
  1. package/dist/repos.json +20017 -20017
  2. package/dist/sifou-daily.json +51 -114
  3. package/dist/sifou-monthly.json +67 -67
  4. package/dist/sifou-weekly.json +121 -121
  5. package/dist/toutiao-30.json +48 -48
  6. package/dist/toutiao-7.json +89 -89
  7. package/dist/toutiao-90.json +20 -20
  8. package/dist/trending-daily.json +173 -173
  9. package/dist/trending-monthly.json +159 -159
  10. package/dist/trending-weekly.json +160 -160
  11. package/dist/users.china.json +1933 -1947
  12. package/dist/users.json +1841 -1841
  13. package/package.json +1 -1
  14. package/web/36kr.html +35 -13
  15. package/web/data/repos.json +20017 -20017
  16. package/web/data/sifou-daily.json +51 -114
  17. package/web/data/sifou-monthly.json +67 -67
  18. package/web/data/sifou-weekly.json +121 -121
  19. package/web/data/toutiao-30.json +48 -48
  20. package/web/data/toutiao-7.json +89 -89
  21. package/web/data/toutiao-90.json +20 -20
  22. package/web/data/trending-daily.json +173 -173
  23. package/web/data/trending-monthly.json +159 -159
  24. package/web/data/trending-weekly.json +160 -160
  25. package/web/data/users.china.json +1933 -1947
  26. package/web/data/users.json +1841 -1841
  27. package/web/index.html +1076 -1054
  28. package/web/repos.html +2639 -2617
  29. package/web/sifou-daily.html +78 -252
  30. package/web/sifou-monthly.html +134 -112
  31. package/web/sifou-weekly.html +162 -140
  32. package/web/toutiao-30.html +86 -64
  33. package/web/toutiao-7.html +107 -85
  34. package/web/toutiao-90.html +56 -34
  35. package/web/trending-monthly.html +178 -152
  36. package/web/trending-weekly.html +175 -161
  37. package/web/trending.html +189 -163
  38. package/web/users.china.html +1353 -1331
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wcj/github-rank",
3
- "version": "22.3.18",
3
+ "version": "22.3.19",
4
4
  "description": "Github Users Ranking for China.",
5
5
  "scripts": {
6
6
  "start": "node lib/build.js",
package/web/36kr.html CHANGED
@@ -7,41 +7,63 @@
7
7
  <link rel="icon" type="image/x-icon" href="https://github.githubassets.com/favicon.ico">
8
8
  <title> 36Kr快讯 </title>
9
9
  <meta name="description" content="36Kr快讯">
10
+ <style>
11
+ [data-color-mode*='dark'] {
12
+ --color-fg-default: #c9d1d9;
13
+ --color-fg-muted: #8b949e;
14
+ --color-fg-subtle: #484f58;
15
+ --color-accent-fg: #58a6ff;
16
+ --color-accent-emphasis: #1f6feb;
17
+ --color-link-hover: #58a6ff;
18
+ --color-tab-fg: #494949;
19
+ --color-border: #e2e2e2;
20
+ --color-neutral-muted: rgba(110,118,129,0.4);
21
+ }
22
+ [data-color-mode*='light'] {
23
+ --color-fg-default: #24292f;
24
+ --color-fg-muted: #57606a;
25
+ --color-fg-subtle: #6e7781;
26
+ --color-accent-fg: #0969da;
27
+ --color-accent-emphasis: #0969da;
28
+ --color-link-hover: #58a6ff;
29
+ --color-tab-fg: #e2e2e2;
30
+ --color-border: #000;
31
+ --color-neutral-muted: rgba(175,184,193,0.2);
32
+ }
33
+ </style>
10
34
  <style>
11
35
  * { box-sizing: border-box; }
12
36
  html, body, ul, li, h1 { margin: 0; padding: 0 }
13
37
  html, body { font-size: 16px; font-family: -apple-system,"Helvetica Neue",Helvetica,Arial,"PingFang SC","Hiragino Sans GB","WenQuanYi Micro Hei","Microsoft Yahei",sans-serif; }
14
38
  ul { list-style: none; }
15
39
 
16
- a { color: #333; text-decoration: none; transition: all .2s ease-in; }
17
- a:hover { color: #1600ff; }
40
+ a { color: var(--color-accent-fg); text-decoration: none; transition: all .2s ease-in; }
41
+ a:hover { color: var(--color-link-hover); text-decoration: underline; }
18
42
  a.github-corner:hover .octo-arm { animation: octocat-wave 560ms infinite linear; }
19
43
  a.github-corner svg { fill: #f1f1f1; color: #000; position: absolute; top: 0; border: 0; right: 0; z-index: 99; width: 70px; height: 70px; }
20
44
  a.github-corner { position: fixed; z-index: 9999; top: 0; right: 0; }
21
45
 
22
46
  .title { padding: 32px 20px 10px 20px; font-size: 32px; display: flex; }
23
47
  .title a svg { display: block; }
24
- .title a { color: #0059ff; display: inline-block; margin-left: 10px; }
48
+ .title a { color: var(--color-accent-fg); display: inline-block; margin-left: 10px; }
25
49
  .time, .footer { padding: 5px 20px 2px 20px; font-size: 12px; color: #adadad; }
26
50
  .tabs { padding: 0 20px 5px 20px;}
27
- .tabs a { background: #e2e2e2; display: inline-block; border-radius: 2px; margin: 2px 0; padding: 2px 5px; font-size: 12px; line-height: 16px; color: #0366d6; }
51
+ .tabs a { background: var(--color-tab-fg); display: inline-block; border-radius: 2px; margin: 2px 0; padding: 2px 5px; font-size: 12px; line-height: 16px; color: var(--color-accent-fg); }
28
52
  .tabs a.active { background: #333; color: #efefef; }
29
53
  .tabs a:hover:not(.active) { background: #efefef; }
30
54
  .footer { padding: 0 20px 30px 20px; font-size: 12px; color: #adadad; }
31
55
  .footer .time { padding: 0; }
32
56
  .list { text-align: left; padding-bottom: 10px; margin: 0 15px; }
33
57
  .list img { width: 36px; height: 36px; border-radius: 3px; display: block; margin: 0 auto; background-color: #e2e2e2; border: 0; overflow: hidden; }
34
- .list a { color: #0366d6; }
35
- .list a:hover { color: #1600ff; }
36
58
  .list li { padding: 10px; transition: all .3s; }
37
59
  .list li.rank-title { margin: 0; padding: 3px 0 0 7px; margin-bottom: 10px; border-radius: 5px; font-size: 12px; line-height: 16px; }
38
60
  .list li.rank-title > a { margin-right: 10px; }
39
61
  .list li.rank-title:hover { background: transparent; }
40
62
  .list li:last-child, .list li.rank-title { border-bottom: 0; }
41
- .list li:hover { background: #efefef8f; }
63
+ .list li:hover { background: var(--color-neutral-muted); }
42
64
  .list li > div { display: table-cell; vertical-align: top; font-size: 14px; }
43
65
  .list li div.rank span { font-weight: bold; }
44
- .list li div.details { padding: 2px 0 0 0; font-size: 12px; float: left; color: #b9b9b9; }
66
+ .list li div.details { padding: 2px 0 0 0; font-size: 12px; float: left; color: var(--color-fg-muted); }
45
67
  .list li div.details a { color: #b9b9b9; transition: all .3s; }
46
68
  .list li div.details a:hover { color: #1600ff; }
47
69
  .list li div.details a:hover svg { fill: #1600ff; }
@@ -51,7 +73,7 @@
51
73
  .list li > div.info { width: 100%; }
52
74
  .list li > div.info i { color: #717171; }
53
75
  .list li > div.info a:hover i { color: #333; }
54
- .list li div.sub-title { color: #333; margin: 4px 0 0 0; }
76
+ .list li div.sub-title { color: var(--color-thme-text); margin: 4px 0 0 0; }
55
77
  .list li div.avatar { padding-right: 10px; }
56
78
 
57
79
 
@@ -67,8 +89,7 @@
67
89
  .title { padding-top: 16px; font-size: 21px; }
68
90
  }
69
91
  </style>
70
- <style>
71
- </style>
92
+ <script src="https://unpkg.com/@wcj/dark-mode"></script>
72
93
  </head>
73
94
  <body>
74
95
  <a href="https://github.com/jaywcjlove/github-rank" target="_blank" class="github-corner">
@@ -79,6 +100,7 @@
79
100
  </svg>
80
101
  </a>
81
102
  <h1 class="title">
103
+ <dark-mode permanent></dark-mode>
82
104
  36Kr快讯
83
105
 
84
106
 
@@ -91,7 +113,7 @@
91
113
  </a>
92
114
 
93
115
  </h1>
94
- <div class="time">Last cache created on 2022/3/18 by
116
+ <div class="time">Last cache created on 2022/3/19 by
95
117
 
96
118
 
97
119
 
@@ -799,7 +821,7 @@
799
821
  <img src="https://img.shields.io/npm/v/@wcj/github-rank.svg?label=unpkg">
800
822
  </a>
801
823
  </div>
802
- <div class="time">Last cache created on 2022/3/18 by Github API v3.</div>
824
+ <div class="time">Last cache created on 2022/3/19 by Github API v3.</div>
803
825
  Create by <a href="https://github.com/jaywcjlove" target="_blank">小弟调调™</a>.
804
826
  </div>
805
827
  </body>