hexo-theme-stellar 1.32.1 → 1.32.2

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 (106) hide show
  1. package/_config.yml +46 -40
  2. package/layout/_partial/cover/post_cover.ejs +1 -5
  3. package/layout/_partial/cover/wiki_cover.ejs +1 -1
  4. package/layout/_partial/main/footer.ejs +15 -5
  5. package/layout/_partial/main/navbar/article_banner.ejs +1 -1
  6. package/layout/_partial/main/navbar/ghinfo.ejs +1 -1
  7. package/layout/_partial/scripts/defines.ejs +3 -1
  8. package/layout/_partial/scripts/lazyload.ejs +67 -0
  9. package/layout/_partial/scripts/utils.ejs +1 -0
  10. package/layout/_partial/scripts.ejs +1 -0
  11. package/layout/_partial/sidebar/index_leftbar.ejs +1 -1
  12. package/layout/_partial/sidebar/logo.ejs +1 -1
  13. package/layout/_partial/widgets/author.ejs +1 -1
  14. package/layout/_partial/widgets/ghissues.ejs +1 -1
  15. package/layout/_partial/widgets/ghrepo.ejs +2 -2
  16. package/layout/_partial/widgets/ghuser.ejs +2 -2
  17. package/layout/_partial/widgets/markdown.ejs +1 -1
  18. package/layout/_partial/widgets/recent.ejs +1 -1
  19. package/layout/_partial/widgets/related.ejs +1 -1
  20. package/layout/_partial/widgets/timeline.ejs +1 -1
  21. package/layout/_partial/widgets/tree.ejs +1 -1
  22. package/layout/_plugins/scrollreveal.ejs +3 -3
  23. package/package.json +1 -1
  24. package/scripts/tags/lib/albums.js +4 -3
  25. package/scripts/tags/lib/banner.js +1 -1
  26. package/scripts/tags/lib/chat.js +1 -5
  27. package/scripts/tags/lib/friends.js +1 -1
  28. package/scripts/tags/lib/gallery.js +4 -3
  29. package/scripts/tags/lib/image.js +5 -5
  30. package/scripts/tags/lib/link.js +1 -5
  31. package/scripts/tags/lib/md.js +1 -1
  32. package/scripts/tags/lib/posters.js +4 -3
  33. package/scripts/tags/lib/sites.js +7 -1
  34. package/scripts/tags/lib/timeline.js +1 -1
  35. package/source/css/_common/base.styl +2 -5
  36. package/source/css/_common/blockquote.styl +1 -1
  37. package/source/css/_common/blur.styl +7 -7
  38. package/source/css/_common/button.styl +2 -2
  39. package/source/css/_common/cap.styl +1 -1
  40. package/source/css/_common/device.styl +4 -4
  41. package/source/css/_common/highlight.styl +2 -0
  42. package/source/css/_common/html.styl +1 -1
  43. package/source/css/_common/svg.styl +1 -1
  44. package/source/css/_common/title.styl +1 -1
  45. package/source/css/_components/layout.styl +2 -2
  46. package/source/css/_components/list.styl +1 -2
  47. package/source/css/_components/main.styl +8 -4
  48. package/source/css/_components/md.styl +2 -2
  49. package/source/css/_components/pages/archives.styl +5 -5
  50. package/source/css/_components/pages/article-story.styl +10 -10
  51. package/source/css/_components/pages/article-tech.styl +2 -2
  52. package/source/css/_components/pages/notebook.styl +2 -2
  53. package/source/css/_components/partial/footer.styl +5 -9
  54. package/source/css/_components/partial/navbar.styl +2 -2
  55. package/source/css/_components/partial/related.styl +6 -6
  56. package/source/css/_components/sidebar/footer.styl +1 -1
  57. package/source/css/_components/sidebar/menu.styl +3 -3
  58. package/source/css/_components/sidebar/search.styl +7 -7
  59. package/source/css/_components/sidebar/sidebar.styl +24 -24
  60. package/source/css/_components/tag-plugins/button.styl +2 -2
  61. package/source/css/_components/tag-plugins/chat.styl +44 -8
  62. package/source/css/_components/tag-plugins/checkbox.styl +1 -1
  63. package/source/css/_components/tag-plugins/copy.styl +4 -3
  64. package/source/css/_components/tag-plugins/friends.styl +5 -6
  65. package/source/css/_components/tag-plugins/friends_posts.styl +8 -7
  66. package/source/css/_components/tag-plugins/gallery.styl +1 -2
  67. package/source/css/_components/tag-plugins/image.styl +1 -1
  68. package/source/css/_components/tag-plugins/inline-labels.styl +3 -3
  69. package/source/css/_components/tag-plugins/okr.styl +2 -3
  70. package/source/css/_components/tag-plugins/poetry.styl +1 -1
  71. package/source/css/_components/tag-plugins/quot.styl +1 -25
  72. package/source/css/_components/tag-plugins/read/paper.styl +2 -2
  73. package/source/css/_components/tag-plugins/read/reel.styl +4 -4
  74. package/source/css/_components/tag-plugins/sites.styl +14 -11
  75. package/source/css/_components/tag-plugins/tabs.styl +1 -1
  76. package/source/css/_components/tag-plugins/timeline.styl +10 -4
  77. package/source/css/_components/widgets/components.styl +3 -3
  78. package/source/css/_components/widgets/ghuser.styl +3 -3
  79. package/source/css/_components/widgets/list.styl +1 -1
  80. package/source/css/_components/widgets/markdown.styl +9 -3
  81. package/source/css/_components/widgets/related.styl +3 -3
  82. package/source/css/_components/widgets/tagcloud.styl +2 -2
  83. package/source/css/_components/widgets/timeline.styl +2 -2
  84. package/source/css/_components/widgets/toc.styl +2 -3
  85. package/source/css/_components/widgets/widgets.styl +4 -4
  86. package/source/css/_custom.styl +26 -38
  87. package/source/css/_defines/const.styl +1 -5
  88. package/source/css/_defines/func.styl +4 -4
  89. package/source/css/_defines/theme_base.styl +105 -0
  90. package/source/css/_defines/theme_colorful.styl +117 -0
  91. package/source/css/_plugins/comments/artalk.styl +25 -8
  92. package/source/css/_plugins/comments/twikoo.styl +10 -10
  93. package/source/css/_plugins/comments/waline.styl +2 -2
  94. package/source/css/_plugins/index.styl +1 -2
  95. package/source/css/_plugins/lazyload.styl +40 -50
  96. package/source/css/_plugins/mermaid.styl +1 -1
  97. package/source/css/_plugins/swiper.styl +2 -2
  98. package/source/css/_plugins/tianli_gpt.styl +8 -8
  99. package/source/css/main.styl +2 -1
  100. package/source/js/services/friends.js +1 -0
  101. package/source/js/services/friends_and_posts.js +1 -0
  102. package/source/js/services/sites.js +1 -0
  103. package/source/js/services/timeline.js +1 -0
  104. package/layout/_plugins/lazyload.ejs +0 -21
  105. package/source/css/_components/tag-plugins/common.styl +0 -120
  106. package/source/css/_defines/theme.styl +0 -120
@@ -1,6 +1,6 @@
1
1
  a.tag-plugin.button
2
2
  background: var(--theme)
3
- color: var(--alpha100)
3
+ color: var(--bg-a100)
4
4
  display: inline-flex
5
5
  align-items: baseline
6
6
  justify-content: center
@@ -28,7 +28,7 @@ a.tag-plugin.button[size='xs']
28
28
  margin: 0 2px
29
29
 
30
30
  a.tag-plugin.button:hover
31
- --theme: $color-hover
31
+ --theme: var(--accent)
32
32
 
33
33
  .tag-plugin.grid a.tag-plugin.button
34
34
  width: 100%
@@ -1,3 +1,39 @@
1
+ chat_light()
2
+ --chat-bg: #f1f2f5
3
+ --chat-block: #ffffff
4
+ --chat-border: #f2f2f2
5
+ --chat-qq-right-bg: #0099FF
6
+ --chat-qq-right-text: #ffffff
7
+ --chat-wechat-news-num: #d8dadf
8
+ --chat-video-button: #ffffffE6
9
+ --chat-wechat-right-bg: #91ED61
10
+ --chat-quote-blink-color: #185c6d1a
11
+ --chat-wechat-quote-color: #808080
12
+ --chat-wechat-quote-bg: #8080801a
13
+
14
+ chat_dark()
15
+ --chat-bg: #1f2224 // #111111
16
+ --chat-block: #25282a // #191919
17
+ --chat-border: #303437 // #222222
18
+ --chat-qq-right-bg: #0099ff80
19
+ --chat-qq-right-text: #ffffff99
20
+ --chat-wechat-news-num: #25282a
21
+ --chat-video-button: #25282ad9 // #191919E6
22
+ --chat-wechat-right-bg: hsl(hue($c-green), 25, 25)
23
+ --chat-quote-blink-color: #185c6d26
24
+ --chat-wechat-quote-color: #858585
25
+ --chat-wechat-quote-bg: #8585851a
26
+
27
+ :root[data-theme="light"]
28
+ chat_light()
29
+ :root[data-theme="dark"]
30
+ chat_dark()
31
+ :root:not([data-theme])
32
+ chat_light()
33
+ @media (prefers-color-scheme: dark)
34
+ chat_dark()
35
+
36
+
1
37
  .md-text .tag-plugin.chat
2
38
  .fs12
3
39
  font-size: $fs-12
@@ -115,10 +151,10 @@
115
151
  height: 100%
116
152
  .submit-btn
117
153
  padding: 3px 6px
118
- background: var(--theme-color-opa)
154
+ background: var(--theme-a30)
119
155
  border-radius: 6px
120
156
  font-size: $fs-14
121
- color: var(--theme-color)
157
+ color: var(--theme)
122
158
  .icons
123
159
  margin: 0 .5em
124
160
  display: flex
@@ -168,8 +204,8 @@
168
204
  align-items: center
169
205
  .label
170
206
  padding: 0 4px
171
- color: var(--theme-color)
172
- background: var(--theme-color-opa)
207
+ color: var(--theme)
208
+ background: var(--theme-a30)
173
209
  border-radius: 3px
174
210
  margin-right: 4px
175
211
  font-size: 'calc(%s - .1rem)' % $fs-12
@@ -192,17 +228,17 @@
192
228
  min-height: 100px
193
229
  >.quote
194
230
  color: var(--text-p3)
195
- background: var(--text-p3-opa)
231
+ background: var(--text-a20)
196
232
  padding: .3rem
197
233
  border-radius: 6px
198
234
  cursor: pointer
199
235
  margin-bottom: .3em
200
236
  trans2 color background .5s
201
237
  &:hover
202
- color: var(--theme-color)
203
- background: var(--theme-color-opa)
238
+ color: var(--theme)
239
+ background: var(--theme-a30)
204
240
  .quote-user>svg>path
205
- fill: var(--theme-color)
241
+ fill: var(--theme)
206
242
  .quote-user
207
243
  display: flex
208
244
  justify-content: space-between
@@ -26,7 +26,7 @@
26
26
  &:before, &:after
27
27
  position: absolute
28
28
  content: ""
29
- background: var(--site-bg)
29
+ background: var(--background)
30
30
  &:before
31
31
  left: 1px
32
32
  top: 5px
@@ -13,8 +13,8 @@
13
13
  margin: auto .5rem
14
14
  line-height: 1
15
15
  border-radius: 4px
16
- background: hsla($color-theme, 0.2)
17
- color: $color-theme
16
+ background: x-theme-alpha(0.2)
17
+ color: var(--theme)
18
18
  font-family: $ff-code
19
19
  font-size: $fs-13
20
20
  font-weight: 700
@@ -39,4 +39,5 @@
39
39
  padding: 0 .75rem
40
40
  color: var(--text-p2)
41
41
  &:hover
42
- background: var(--block-border)
42
+ color: var(--theme)
43
+ background: var(--theme-a20)
@@ -24,15 +24,14 @@
24
24
  overflow: hidden
25
25
  -webkit-line-clamp: 2
26
26
  position: relative
27
+ .lazy-box
28
+ border-radius: 64px
29
+ margin: 0 0 0.5rem
27
30
  img
28
31
  object-fit: cover
29
32
  display: block
30
33
  width: 48px
31
34
  height: 48px
32
- background: var(--card)
33
- border-radius: 64px
34
- margin: 0 0 0.5rem
35
-
36
35
  .label
37
36
  margin-top: 4px
38
37
  color: white
@@ -43,10 +42,10 @@
43
42
 
44
43
  // transform
45
44
  .users-wrap .user-card .card-link
46
- >img
45
+ .lazy-box
47
46
  floatable-trans()
48
47
  &:hover
49
48
  background: var(--block-border)
50
- img
49
+ .lazy-box
51
50
  transform: scale(1.2) rotate(8deg)
52
51
  box-shadow: $boxshadow-card-float
@@ -58,14 +58,15 @@
58
58
  font-weight: 500
59
59
  margin-top: 1rem
60
60
  max-width: 100%
61
+ .lazy-box
62
+ border-radius: 64px
63
+ floatable-trans()
61
64
  img
62
65
  object-fit: cover
63
66
  display: block
64
67
  width: 64px
65
68
  height: 64px
66
- background: var(--card)
67
- border-radius: 64px
68
- floatable-trans()
69
+
69
70
 
70
71
  .previews
71
72
  display: flex
@@ -117,7 +118,7 @@
117
118
  background: var(--block-border)
118
119
  trans1 all
119
120
  &:hover:before
120
- background: $color-hover
121
+ background: var(--accent)
121
122
  // height: calc(100% - 4px)
122
123
  height: 100%
123
124
  top: 0
@@ -150,11 +151,11 @@
150
151
  &:hover
151
152
  .desc
152
153
  &:before
153
- color: $color-hover
154
+ color: var(--accent)
154
155
  transform: scale(1.2) translateX(-4px)
155
156
  .card-link:hover
156
- img
157
+ .lazy-box
157
158
  transform: scale(1.2) rotate(8deg)
158
159
  box-shadow: $boxshadow-card-float
159
160
  .post-link:hover
160
- color: $color-hover
161
+ color: var(--accent)
@@ -96,8 +96,6 @@
96
96
  img
97
97
  width: 100%
98
98
  height: 100%
99
- &.loading
100
- background-size: convert(hexo-config('plugins.lazyload.loading_image.size'))
101
99
 
102
100
  // 瀑布流布局
103
101
  .tag-plugin.gallery.flow-box
@@ -111,6 +109,7 @@
111
109
  height: 100%
112
110
  border-radius: 8px
113
111
  &:has(img.loading),&:has(img.error)
112
+ background-color: var(--block)
114
113
  img
115
114
  background-color: var(--block)
116
115
  .image-meta
@@ -34,7 +34,7 @@
34
34
  color: var(--text-p1)
35
35
  &:hover
36
36
  background: var(--card) !important
37
- color: $color-theme
37
+ color: var(--theme)
38
38
  .image-meta
39
39
  display: flex
40
40
  justify-content: center
@@ -1,13 +1,13 @@
1
1
  .md-text
2
2
  u
3
3
  text-decoration: none
4
- border-bottom: 2px solid $color-hover
4
+ border-bottom: 2px solid var(--accent)
5
5
  emp
6
6
  width: fit-content
7
7
  text-decoration: none
8
- border-bottom: 4px dotted $color-hover
8
+ border-bottom: 4px dotted var(--accent)
9
9
  wavy
10
- text-decoration: underline wavy $color-hover
10
+ text-decoration: underline wavy var(--accent)
11
11
  del
12
12
  color: var(--text-p3)
13
13
  text-decoration: line-through var(--text-p3)
@@ -42,10 +42,9 @@
42
42
  padding: 2px 4px
43
43
  border-radius: 2px
44
44
  .okr-item.o
45
- border-bottom: 4px solid var(--theme-border)
45
+ border-bottom: 4px solid var(--block-border)
46
46
  .okr-item.kr+.okr-item.kr
47
- border-top: 1px dashed var(--theme-border)
48
-
47
+ border-top: 1px dashed var(--block-border)
49
48
 
50
49
  .tag-plugin.okr .okr-item
51
50
  display: grid
@@ -50,4 +50,4 @@
50
50
  top: 6px
51
51
  bottom: 6px
52
52
  border-radius: 4px
53
- background: $color-accent
53
+ background: var(--accent)
@@ -31,36 +31,12 @@
31
31
  font-size: calc(var(--fsp) + 2px)
32
32
  color: var(--text)
33
33
 
34
- // // type=text
35
- // .md-text .tag-plugin.quot
36
- // .content[type=text]
37
- // &:before,&:after
38
- // content: ""
39
- // position: absolute
40
- // width: 8px
41
- // height: 14px
42
- // &:before
43
- // top: -8px
44
- // left: 0
45
- // border-top: 6px solid $color-accent
46
- // border-left: 6px solid $color-accent
47
- // &:after
48
- // right: 0
49
- // bottom: -8px
50
- // border-right: 6px solid $color-accent
51
- // border-bottom: 6px solid $color-accent
52
- // h1.content[type=text]
53
- // &:before,&:after
54
- // width: 12px
55
- // height: 20px
56
- // border-width: 8px
57
-
58
34
  // type=icon
59
35
  .md-text .tag-plugin.quot
60
36
  img,svg
61
37
  height: 1.5em
62
38
  display: inline-block
63
- color: $color-accent
39
+ color: var(--accent)
64
40
  border-radius: 0
65
41
  flex-shrink: 0
66
42
  span.text
@@ -68,7 +68,7 @@
68
68
  top: calc(-1rem - 4px)
69
69
  right: calc(100% + 1rem - 6px)
70
70
  border-radius: 4px
71
- background: $color-accent
71
+ background: var(--accent)
72
72
  &:after
73
73
  content: ''
74
74
  position: absolute
@@ -77,7 +77,7 @@
77
77
  top: calc(-1rem - 4px)
78
78
  left: calc(100% + 1rem - 6px)
79
79
  border-radius: 4px
80
- background: $color-accent
80
+ background: var(--accent)
81
81
 
82
82
  // 下划线修饰
83
83
  .md-text .tag-plugin.paper > .content.underline > .title,
@@ -69,7 +69,7 @@
69
69
  top: calc(-1rem - 6px)
70
70
  bottom: calc(100% + 1rem - 6px)
71
71
  border-radius: 4px
72
- background: $color-accent
72
+ background: var(--accent)
73
73
  z-index: 1
74
74
  &:after
75
75
  content: ''
@@ -79,7 +79,7 @@
79
79
  top: calc(100% + 1rem - 6px)
80
80
  bottom: calc(-1rem - 6px)
81
81
  border-radius: 4px
82
- background: $color-accent
82
+ background: var(--accent)
83
83
  z-index: 1
84
84
  >.footer
85
85
  position: relative
@@ -91,7 +91,7 @@
91
91
  top: calc(-1rem - 6px)
92
92
  bottom: calc(100% + 1rem - 6px)
93
93
  border-radius: 4px
94
- background: $color-accent
94
+ background: var(--accent)
95
95
  &:after
96
96
  content: ''
97
97
  position: absolute
@@ -100,4 +100,4 @@
100
100
  top: calc(100% + 1rem - 6px)
101
101
  bottom: calc(-1rem - 6px)
102
102
  border-radius: 4px
103
- background: $color-accent
103
+ background: var(--accent)
@@ -10,24 +10,27 @@
10
10
  display: flex
11
11
  flex-direction: column
12
12
  position: relative
13
- >img
14
- object-fit: cover
15
- aspect-ratio: 1.5
16
- width: 100%
17
- height: 100%
13
+ .lazy-box
18
14
  border-radius: $border-card-s
19
15
  box-shadow: 0 1px 2px 0px rgba(0, 0, 0, 0.2)
16
+ overflow hidden
17
+ >img
18
+ object-fit: cover
19
+ aspect-ratio: 1.5
20
+ width: 100%
21
+ height: 100%
20
22
  .info
21
23
  margin-top: 0.5rem
22
24
  line-height: 1.2
23
25
  position: relative
24
- >img
25
- width: 28px
26
- height: @width
27
- border-radius: @width
26
+ .lazy-box
28
27
  float: left
29
28
  margin-right: 8px
30
29
  margin-top: 2px
30
+ border-radius: @width
31
+ >img
32
+ width: 28px
33
+ height: @width
31
34
  span
32
35
  display: block
33
36
  .title
@@ -71,11 +74,11 @@
71
74
 
72
75
  // transform
73
76
  .sites-wrap .site-card .card-link
74
- >img
77
+ >.lazy-box
75
78
  floatable-trans()
76
79
  &:hover
77
80
  .labels
78
81
  opacity 0
79
82
  transform: translateY(-4px)
80
- >img
83
+ >.lazy-box
81
84
  floatable-float()
@@ -66,7 +66,7 @@
66
66
  content: ''
67
67
  z-index: 1
68
68
  position: absolute
69
- background: $color-theme
69
+ background: var(--theme)
70
70
  height: 2px
71
71
  bottom: -8px
72
72
  left: .75rem
@@ -31,14 +31,14 @@
31
31
  box-sizing: border-box
32
32
  max-width: @max-width
33
33
  &[highlight] .header:before
34
- background: $color-theme
34
+ background: var(--theme)
35
35
  &+.timenode
36
36
  margin-top: 1rem
37
37
  &:hover .header
38
38
  span
39
39
  color: var(--text-p1)
40
40
  &:before
41
- background: $color-theme
41
+ background: var(--theme)
42
42
  height: 16px
43
43
  top: 'calc(50% - 0.5 * %s)' % @height
44
44
  transform: scale(1)
@@ -128,7 +128,7 @@
128
128
  display: inline-block
129
129
  trans1 all
130
130
  &:hover
131
- color: $color-hover
131
+ color: var(--accent)
132
132
  >p:first-child:not([class])
133
133
  font-size: 1rem
134
134
  margin: .25rem 0 .5rem
@@ -140,6 +140,12 @@
140
140
  margin: 0 auto
141
141
  img
142
142
  margin: 0.5rem auto
143
+ .lazy-box
144
+ margin: .5rem 0
145
+ border-radius: $border-image
146
+ >img
147
+ margin: 0 auto
148
+
143
149
  pre code
144
150
  font-size: $fs-13
145
151
 
@@ -173,7 +179,7 @@
173
179
  padding: 0 0.5rem
174
180
  display: flex
175
181
  align-items: center
176
- border-color: $color-link
182
+ border-color: var(--link)
177
183
  &:first-child
178
184
  margin-left: 0
179
185
  &:last-child
@@ -13,7 +13,7 @@
13
13
  align-items: center
14
14
  txt-ellipsis()
15
15
  &.active
16
- background: var(--alpha50)
16
+ background: var(--bg-a50)
17
17
  svg,img
18
18
  filter: unset
19
19
 
@@ -24,7 +24,7 @@
24
24
  $size = 16px
25
25
  padding: 0 2px
26
26
  &:not([class='active-icon'])
27
- color: $color-theme
27
+ color: var(--theme)
28
28
  max-height: 18px
29
29
  width: auto
30
30
  filter: grayscale(100%) brightness(0.8) opacity(0.8)
@@ -44,6 +44,6 @@
44
44
  padding: 0 8px
45
45
 
46
46
  .linklist .link:hover
47
- background: var(--alpha100)
47
+ background: var(--bg-a100)
48
48
  svg
49
49
  filter: unset
@@ -35,8 +35,8 @@
35
35
  border-radius: 64px
36
36
  margin: 1rem 0 0
37
37
  padding: 0.5rem 1rem
38
- background: $color-theme
39
- color: var(--card)
38
+ background: var(--theme)
39
+ color: white
40
40
  font-size: 1rem
41
41
  align-self: stretch
42
42
  text-align: center
@@ -50,7 +50,7 @@
50
50
  height: 1.5em
51
51
  width: auto
52
52
  &:hover
53
- background: $color-hover
53
+ background: var(--accent)
54
54
 
55
55
  .buttons
56
56
  margin: 1rem 0
@@ -7,7 +7,7 @@
7
7
  color: var(--text-p1)
8
8
  trans1 background
9
9
  &.active,&:hover
10
- background: var(--alpha100)
10
+ background: var(--bg-a100)
11
11
  a+a
12
12
  margin-top: 2px
13
13
  a
@@ -2,13 +2,19 @@
2
2
  .widget-body
3
3
  border-radius: $border-card-s
4
4
  padding: .25rem 1rem
5
- background: var(--alpha50)
5
+ background: var(--bg-a50)
6
6
  >*:first-child
7
7
  margin-top: .75rem
8
8
 
9
9
  .widget-wrapper.markdown .linklist
10
10
  margin: 1em 0
11
11
  .link
12
- background: var(--alpha50)
12
+ background: var(--bg-a50)
13
13
  .link:hover
14
- background: var(--alpha100)
14
+ background: var(--bg-a100)
15
+
16
+ .l_right .widget-wrapper.markdown .linklist
17
+ .link
18
+ background: var(--block)
19
+ .link:hover
20
+ background: var(--theme-a20)
@@ -5,7 +5,7 @@
5
5
  margin-top: 8px
6
6
  .item
7
7
  line-height: 1.2
8
- background: var(--alpha20)
8
+ background: var(--bg-a20)
9
9
  padding: 10px 16px
10
10
  border-radius: $border-card-s
11
11
  display: block
@@ -33,6 +33,6 @@
33
33
  .item
34
34
  trans1 background
35
35
  .item.active
36
- background: var(--alpha50)
36
+ background: var(--bg-a50)
37
37
  .item:hover
38
- background: var(--alpha50)
38
+ background: var(--bg-a50)
@@ -1,10 +1,10 @@
1
1
  .widget-wrapper.tagcloud .widget-body
2
2
  border-radius: $border-card-s
3
3
  padding: 12px 16px
4
- background: var(--alpha50)
4
+ background: var(--bg-a50)
5
5
  a
6
6
  word-break: break-word
7
7
  color: var(--text-p2)
8
8
  line-height: 1.5
9
9
  &:hover
10
- color: $color-hover
10
+ color: var(--accent)
@@ -33,7 +33,7 @@
33
33
  padding: 0
34
34
  margin: 0
35
35
  .highlight, pre:not([class]):has(>code)
36
- background: var(--alpha50)
36
+ background: var(--bg-a50)
37
37
 
38
38
 
39
39
  .tag-plugin.timeline[api] .body .footer
@@ -46,4 +46,4 @@
46
46
  content: none
47
47
  .l_left .widget-wrapper.timeline .body
48
48
  box-shadow: none
49
- background: var(--alpha50)
49
+ background: var(--bg-a50)
@@ -1,5 +1,4 @@
1
1
  .widget-wrapper.toc
2
- background: var(--site-bg)
3
2
  z-index 3
4
3
  .widget-body
5
4
  position relative
@@ -40,7 +39,7 @@
40
39
  bottom: 6px
41
40
  left: -8px
42
41
  width: 4px
43
- background: $color-theme
42
+ background: var(--theme)
44
43
  border-radius: 4px
45
44
  &:hover
46
45
  background: var(--block-border)
@@ -179,6 +178,6 @@
179
178
  color: var(--text-p2)
180
179
  .widget-wrapper.toc .widget-footer
181
180
  a
182
- background: var(--alpha100)
181
+ background: var(--bg-a100)
183
182
  a+a
184
183
  margin-top: 4px
@@ -1,7 +1,7 @@
1
1
  .widgets
2
2
  .loading-wrap
3
3
  margin: 0.5rem 0
4
- background: var(--alpha50)
4
+ background: var(--bg-a50)
5
5
 
6
6
  .widgets
7
7
  overflow: scroll
@@ -43,11 +43,11 @@
43
43
  transform: scale(1.2)
44
44
  fill: var(--text-p2)
45
45
  &:hover
46
- color: $color-hover
47
- background: var(--alpha100)
46
+ color: var(--accent)
47
+ background: var(--bg-a100)
48
48
  opacity 1
49
49
  svg
50
- fill: $color-hover
50
+ fill: var(--accent)
51
51
 
52
52
  .widget-body
53
53
  color: var(--text-p1)