hexo-theme-shokax 0.0.4-alpha2 → 0.0.4-alpha3

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.
@@ -32,7 +32,7 @@ nav(class="state")
32
32
  div(class="social")
33
33
  each link, name in theme.social
34
34
  - var sidebarURL = link.split('||')[0].trim()
35
- - var sidebarIcon = '<i class="fa fa-solid fa-' + link.split('||')[1].trim() + '"></i>'
35
+ - var sidebarIcon = '<i class="fa fa-brands fa-' + link.split('||')[1].trim() + '"></i>'
36
36
  != _url(sidebarURL, sidebarIcon, {title: sidebarURL, class: 'item ' + name})
37
37
 
38
38
  != shokax_inject('sidebar')
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-shokax",
3
- "version": "0.0.4-alpha2",
3
+ "version": "0.0.4-alpha3",
4
4
  "description": "a hexo theme based on shoka",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/zkz098/hexo-theme-shokaX",
@@ -243,7 +243,7 @@ code,
243
243
  background: var(--grey-2);
244
244
  }
245
245
 
246
- .ic {
246
+ .fa {
247
247
  margin-top: 1rem;
248
248
  @extend .up-down;
249
249
  }
@@ -256,7 +256,7 @@ code,
256
256
  display: none;
257
257
  }
258
258
 
259
- .ic {
259
+ .fa {
260
260
  @extend .down-up;
261
261
  }
262
262
  }
@@ -69,7 +69,7 @@ $item {
69
69
  font-size: $font-size-smaller;
70
70
  color: var(--grey-5);
71
71
 
72
- .ic {
72
+ .fa {
73
73
  margin-right: .0625rem;
74
74
  }
75
75
 
@@ -208,7 +208,7 @@ $item {
208
208
  }
209
209
 
210
210
  .title {
211
- .ic {
211
+ .fa {
212
212
  font-size: 80%;
213
213
  }
214
214
  }
@@ -5,7 +5,7 @@
5
5
  margin: 1.25rem 0;
6
6
  flex-wrap: wrap;
7
7
 
8
- .ic {
8
+ .fa {
9
9
  margin: 0 .125rem;
10
10
  color: var(--grey-4);
11
11
 
@@ -6,11 +6,6 @@
6
6
  font-family: $font-family-posts;
7
7
  word-wrap();
8
8
 
9
- .exturl .ic {
10
- font-size: $font-size-small;
11
- margin-left: .25rem;
12
- }
13
-
14
9
  .exturl .fa {
15
10
  font-size: $font-size-small;
16
11
  margin-left: .25rem;
@@ -39,7 +39,7 @@
39
39
  font-weight: bold;
40
40
  color: var(--bg-color);
41
41
  border: none;
42
- .ic {
42
+ .fa {
43
43
  display: none;
44
44
  }
45
45
  }
@@ -186,16 +186,11 @@
186
186
  margin: .5rem;
187
187
  overflow: hidden;
188
188
  vertical-align: middle;
189
-
190
- &.actived .ic {
191
- color: var(--primary-color);
192
- }
193
-
194
189
  &.actived .fa {
195
190
  color: var(--primary-color);
196
191
  }
197
192
 
198
- .ic {
193
+ .fa {
199
194
  color: var(--grey-6);
200
195
  transition: all .25s ease;
201
196
 
@@ -22,7 +22,7 @@
22
22
  }
23
23
  }
24
24
 
25
- .ic {
25
+ .fa {
26
26
  margin-right: .5rem;
27
27
  }
28
28
 
@@ -32,7 +32,7 @@
32
32
  }
33
33
  }
34
34
 
35
- .ic {
35
+ .fa {
36
36
  margin-right: .625rem;
37
37
  }
38
38
 
@@ -129,15 +129,15 @@ dd {
129
129
  input, textarea {
130
130
  color: var(--text-color);
131
131
  }
132
- @font-face {
133
- font-family: 'ic';
134
- src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot');
135
- src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot?#iefix') format('embedded-opentype'),
136
- url('//at.alicdn.com/t/font_' + $iconfont + '.woff2') format('woff2'),
137
- url('//at.alicdn.com/t/font_' + $iconfont + '.woff') format('woff'),
138
- url('//at.alicdn.com/t/font_' + $iconfont + '.ttf') format('truetype'),
139
- url('//at.alicdn.com/t/font_' + $iconfont + '.svg#ic') format('svg');
140
- }
132
+ //@font-face {
133
+ // font-family: 'ic';
134
+ // src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot');
135
+ // src: url('//at.alicdn.com/t/font_' + $iconfont + '.eot?#iefix') format('embedded-opentype'),
136
+ // url('//at.alicdn.com/t/font_' + $iconfont + '.woff2') format('woff2'),
137
+ // url('//at.alicdn.com/t/font_' + $iconfont + '.woff') format('woff'),
138
+ // url('//at.alicdn.com/t/font_' + $iconfont + '.ttf') format('truetype'),
139
+ // url('//at.alicdn.com/t/font_' + $iconfont + '.svg#ic') format('svg');
140
+ //}
141
141
 
142
142
  @font-face {
143
143
  font-family: 'jetbrains-mono';
@@ -146,19 +146,6 @@ input, textarea {
146
146
  }
147
147
 
148
148
  // TODO
149
- .ic {
150
- font-family: "ic" !important;
151
- -webkit-font-smoothing: antialiased;
152
- -moz-osx-font-smoothing: grayscale;
153
- text-align: center;
154
- width: 1.25em;
155
- display: inline-block;
156
- font-style: normal;
157
- font-variant: normal;
158
- text-rendering: auto;
159
- line-height: 1;
160
- }
161
-
162
149
  .fa {
163
150
  -webkit-font-smoothing: antialiased;
164
151
  -moz-osx-font-smoothing: grayscale;
@@ -172,20 +159,12 @@ input, textarea {
172
159
  }
173
160
 
174
161
  // TODO
175
- .ic em {
176
- font-size: 0;
177
- }
178
162
 
179
163
  .fa em {
180
164
  font-size: 0;
181
165
  }
182
166
 
183
167
  // TODO
184
- .ic-lg {
185
- font-size: 1.33333em;
186
- line-height: .75em;
187
- vertical-align: -.0667em;
188
- }
189
168
 
190
169
  .fa-lg {
191
170
  font-size: 1.33333em;
@@ -41,7 +41,7 @@
41
41
  cursor: not-allowed
42
42
  }
43
43
 
44
- .ic {
44
+ .fa {
45
45
  text-align: left;
46
46
  width: (18em / 14);
47
47
  }
@@ -13,10 +13,10 @@ if $colors = hexo-config('style.colors')
13
13
  else
14
14
  @import "_colors";
15
15
 
16
- if $_iconfont = hexo-config('style.iconfont')
17
- @import $_iconfont;
18
- else
19
- @import "_iconfont";
16
+ //if $_iconfont = hexo-config('style.iconfont')
17
+ // @import $_iconfont;
18
+ //else
19
+ // @import "_iconfont";
20
20
 
21
21
  // Scaffolding
22
22
  @import "_common/scaffolding";