jekyll-theme-chirpy-g 1.0.4 → 1.2.0

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 (78) hide show
  1. checksums.yaml +4 -4
  2. data/_data/locales/ar.yml +7 -1
  3. data/_data/locales/bg-BG.yml +7 -1
  4. data/_data/locales/ca-ES.yml +7 -1
  5. data/_data/locales/cs-CZ.yml +7 -1
  6. data/_data/locales/da-DK.yml +7 -1
  7. data/_data/locales/de-DE.yml +7 -1
  8. data/_data/locales/dv/342/200/221MV.yml +7 -1
  9. data/_data/locales/el-GR.yml +7 -1
  10. data/_data/locales/en.yml +7 -1
  11. data/_data/locales/es-ES.yml +7 -1
  12. data/_data/locales/fa-IR.yml +7 -1
  13. data/_data/locales/fi-FI.yml +7 -1
  14. data/_data/locales/fr-FR.yml +7 -1
  15. data/_data/locales/hu-HU.yml +7 -1
  16. data/_data/locales/id-ID.yml +7 -1
  17. data/_data/locales/it-IT.yml +7 -1
  18. data/_data/locales/ja-JP.yml +7 -1
  19. data/_data/locales/ko-KR.yml +7 -1
  20. data/_data/locales/ku-IQ.yml +7 -1
  21. data/_data/locales/my-MM.yml +7 -1
  22. data/_data/locales/nl-NL.yml +7 -1
  23. data/_data/locales/ps/342/200/221AF.yml +7 -1
  24. data/_data/locales/pt-BR.yml +7 -1
  25. data/_data/locales/ru-RU.yml +7 -1
  26. data/_data/locales/sl-SI.yml +7 -1
  27. data/_data/locales/sv-SE.yml +7 -1
  28. data/_data/locales/th.yml +7 -1
  29. data/_data/locales/tr-TR.yml +7 -1
  30. data/_data/locales/uk-UA.yml +7 -1
  31. data/_data/locales/ur-PK.yml +7 -1
  32. data/_data/locales/vi-VN.yml +7 -1
  33. data/_data/locales/zh-CN.yml +7 -1
  34. data/_data/locales/zh-TW.yml +7 -1
  35. data/_data/origin/cors.yml +18 -15
  36. data/_includes/comments/disqus.html +2 -2
  37. data/_includes/comments/giscus.html +17 -7
  38. data/_includes/comments/utterances.html +4 -4
  39. data/_includes/datetime.html +2 -2
  40. data/_includes/head.html +2 -4
  41. data/_includes/js-selector.html +0 -1
  42. data/_includes/language-alias.html +7 -9
  43. data/_includes/media-url.html +1 -1
  44. data/_includes/notification.html +13 -9
  45. data/_includes/post-edit.html +23 -0
  46. data/_includes/post-paginator.html +1 -1
  47. data/_includes/refactor-content.html +1 -1
  48. data/_includes/sidebar.html +48 -6
  49. data/_layouts/default.html +6 -5
  50. data/_layouts/graph.html +12 -1
  51. data/_layouts/post.html +16 -13
  52. data/_sass/abstracts/_mixins.scss +6 -0
  53. data/_sass/abstracts/_variables.scss +6 -0
  54. data/_sass/base/_base.scss +28 -20
  55. data/_sass/base/_syntax.scss +89 -82
  56. data/_sass/components/_popups.scss +17 -28
  57. data/_sass/layout/_sidebar.scss +97 -9
  58. data/_sass/pages/_archives.scss +1 -1
  59. data/_sass/pages/_graph.scss +91 -0
  60. data/_sass/pages/_post.scss +10 -0
  61. data/_sass/themes/_dark.scss +20 -13
  62. data/_sass/themes/_light.scss +18 -11
  63. data/_sass/vendors/_bootstrap.scss +1 -1
  64. data/assets/css/jekyll-theme-chirpy-g.scss +4 -0
  65. data/assets/img/favicons/site.webmanifest +1 -1
  66. data/assets/js/data/graph.json +12 -9
  67. data/assets/js/data/mathjax.js +4 -0
  68. data/assets/js/dist/app.min.js +2 -2
  69. data/assets/js/dist/categories.min.js +2 -2
  70. data/assets/js/dist/commons.min.js +2 -2
  71. data/assets/js/dist/graph.min.js +2 -2
  72. data/assets/js/dist/home.min.js +2 -2
  73. data/assets/js/dist/misc.min.js +2 -2
  74. data/assets/js/dist/page.min.js +2 -2
  75. data/assets/js/dist/post.min.js +2 -2
  76. data/assets/js/dist/sw.min.js +1 -1
  77. data/assets/js/dist/theme.min.js +2 -2
  78. metadata +3 -2
@@ -1,3 +1,4 @@
1
+ @use 'sass:list';
1
2
  @use '../abstracts/variables' as v;
2
3
  @use '../abstracts/breakpoints' as bp;
3
4
  @use '../abstracts/mixins' as mx;
@@ -5,32 +6,36 @@
5
6
  @use '../themes/light';
6
7
  @use '../themes/dark';
7
8
 
8
- :root {
9
- font-size: 16px;
9
+ $enable-dual: not list.index(v.$theme-options, v.$theme);
10
+ $enable-light: v.$theme == light or $enable-dual;
11
+ $enable-dark: v.$theme == dark or $enable-dual;
12
+
13
+ @if $enable-light {
14
+ :root[#{v.$theme-attr}='light'] {
15
+ @include light.styles;
16
+ }
10
17
  }
11
18
 
12
- html {
13
- @media (prefers-color-scheme: light) {
14
- &:not([data-mode]),
15
- &[data-mode='light'] {
19
+ @if $enable-dark {
20
+ :root[#{v.$theme-attr}='dark'] {
21
+ @include dark.styles;
22
+ }
23
+ }
24
+
25
+ @if $enable-dual {
26
+ :root:not([#{v.$theme-attr}]) {
27
+ @include mx.color-scheme(light) {
16
28
  @include light.styles;
17
29
  }
18
30
 
19
- &[data-mode='dark'] {
31
+ @include mx.color-scheme(dark) {
20
32
  @include dark.styles;
21
33
  }
22
34
  }
35
+ }
23
36
 
24
- @media (prefers-color-scheme: dark) {
25
- &:not([data-mode]),
26
- &[data-mode='dark'] {
27
- @include dark.styles;
28
- }
29
-
30
- &[data-mode='light'] {
31
- @include light.styles;
32
- }
33
- }
37
+ :root {
38
+ font-size: 16px;
34
39
 
35
40
  @include bp.lg {
36
41
  overflow-y: scroll;
@@ -369,7 +374,9 @@ main {
369
374
  box-shadow: none;
370
375
  border-color: var(--input-focus-border-color) !important;
371
376
  background: center !important;
372
- transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
377
+ transition:
378
+ background-color 0.15s ease-in-out,
379
+ border-color 0.15s ease-in-out;
373
380
  }
374
381
 
375
382
  .left {
@@ -391,8 +398,9 @@ main {
391
398
 
392
399
  /* MathJax */
393
400
  mjx-container {
394
- overflow-y: hidden;
395
- min-width: auto !important;
401
+ a {
402
+ display: inline-block;
403
+ }
396
404
  }
397
405
 
398
406
  @media (hover: hover) {
@@ -78,7 +78,7 @@ code {
78
78
  }
79
79
 
80
80
  a > &.highlighter-rouge {
81
- padding-bottom: 0; /* show link's underlinke */
81
+ padding-bottom: 0; /* show link's underline */
82
82
  color: inherit;
83
83
  }
84
84
 
@@ -124,6 +124,87 @@ div[class^='language-'] {
124
124
  }
125
125
 
126
126
  .code-header {
127
+ @extend %no-cursor;
128
+
129
+ display: flex;
130
+ justify-content: space-between;
131
+ align-items: center;
132
+ height: v.$code-header-height;
133
+ margin-left: 0.75rem;
134
+ margin-right: 0.25rem;
135
+
136
+ /* the label block */
137
+ span {
138
+ color: var(--code-header-text-color);
139
+ line-height: v.$code-header-height;
140
+ overflow: hidden;
141
+ text-overflow: ellipsis;
142
+ white-space: nowrap;
143
+
144
+ /* label icon */
145
+ i {
146
+ font-size: 1rem;
147
+ width: v.$code-icon-width;
148
+ color: var(--code-header-icon-color);
149
+
150
+ &.small {
151
+ font-size: 70%;
152
+ }
153
+ }
154
+
155
+ @at-root [file] #{&} > i {
156
+ position: relative;
157
+ top: 1px; /* center the file icon */
158
+ }
159
+
160
+ /* label text */
161
+ &::after {
162
+ content: attr(data-label-text);
163
+ font-size: 0.85rem;
164
+ font-weight: 600;
165
+ }
166
+ }
167
+
168
+ /* clipboard */
169
+ button {
170
+ @extend %cursor-pointer;
171
+ @extend %rounded;
172
+
173
+ border: 1px solid transparent;
174
+ height: 2rem;
175
+ width: 2rem;
176
+ margin-right: 0.125rem;
177
+ padding: 0;
178
+ background-color: inherit;
179
+
180
+ i {
181
+ color: var(--code-header-icon-color);
182
+ }
183
+
184
+ &[timeout] {
185
+ &:hover {
186
+ border-color: var(--clipboard-checked-color);
187
+ }
188
+
189
+ i {
190
+ font-size: 90%;
191
+ color: var(--clipboard-checked-color);
192
+ }
193
+ }
194
+
195
+ &:focus {
196
+ outline: none;
197
+ }
198
+
199
+ &:not([timeout]):hover {
200
+ background-color: rgb(128 128 128 / 37%);
201
+
202
+ i {
203
+ color: white;
204
+ }
205
+ }
206
+ }
207
+
127
208
  @include bp.sm {
128
209
  @include mx.ml-mr(0);
129
210
 
@@ -137,15 +218,19 @@ div[class^='language-'] {
137
218
  height: v.$code-dot-size;
138
219
  border-radius: 50%;
139
220
  background-color: var(--code-header-muted-color);
140
- box-shadow: (v.$code-dot-size + v.$code-dot-gap) 0 0
221
+ box-shadow:
222
+ (v.$code-dot-size + v.$code-dot-gap) 0 0
141
223
  var(--code-header-muted-color),
142
224
  (v.$code-dot-size + v.$code-dot-gap) * 2 0 0
143
225
  var(--code-header-muted-color);
144
226
  }
145
227
 
146
228
  span {
147
- // center the text of label
148
- margin-left: calc(($dot-margin + v.$code-dot-size) / 2 * -1);
229
+ margin-left: v.$code-icon-width * -1; // center the label text
230
+ max-width: calc(
231
+ 100% - $dot-margin - (v.$code-dot-gap + v.$code-dot-size) * 3 -
232
+ v.$code-icon-width * 4
233
+ );
149
234
  }
150
235
  }
151
236
  }
@@ -172,81 +257,3 @@ div {
172
257
  }
173
258
  }
174
259
  }
175
-
176
- .code-header {
177
- @extend %no-cursor;
178
-
179
- display: flex;
180
- justify-content: space-between;
181
- align-items: center;
182
- height: v.$code-header-height;
183
- margin-left: 0.75rem;
184
- margin-right: 0.25rem;
185
-
186
- /* the label block */
187
- span {
188
- line-height: v.$code-header-height;
189
-
190
- /* label icon */
191
- i {
192
- font-size: 1rem;
193
- width: v.$code-icon-width;
194
- color: var(--code-header-icon-color);
195
-
196
- &.small {
197
- font-size: 70%;
198
- }
199
- }
200
-
201
- @at-root [file] #{&} > i {
202
- position: relative;
203
- top: 1px; /* center the file icon */
204
- }
205
-
206
- /* label text */
207
- &::after {
208
- content: attr(data-label-text);
209
- font-size: 0.85rem;
210
- font-weight: 600;
211
- color: var(--code-header-text-color);
212
- }
213
- }
214
-
215
- /* clipboard */
216
- button {
217
- @extend %cursor-pointer;
218
- @extend %rounded;
219
-
220
- border: 1px solid transparent;
221
- height: v.$code-header-height;
222
- width: v.$code-header-height;
223
- padding: 0;
224
- background-color: inherit;
225
-
226
- i {
227
- color: var(--code-header-icon-color);
228
- }
229
-
230
- &[timeout] {
231
- &:hover {
232
- border-color: var(--clipboard-checked-color);
233
- }
234
-
235
- i {
236
- color: var(--clipboard-checked-color);
237
- }
238
- }
239
-
240
- &:focus {
241
- outline: none;
242
- }
243
-
244
- &:not([timeout]):hover {
245
- background-color: rgb(128 128 128 / 37%);
246
-
247
- i {
248
- color: white;
249
- }
250
- }
251
- }
252
- }
@@ -7,49 +7,41 @@
7
7
  @-webkit-keyframes popup {
8
8
  from {
9
9
  opacity: 0;
10
- bottom: 0;
10
+ bottom: 10%;
11
11
  }
12
12
  }
13
13
 
14
14
  @keyframes popup {
15
15
  from {
16
16
  opacity: 0;
17
- bottom: 0;
18
- }
19
- }
20
-
21
- .toast-header {
22
- background: none;
23
- border-bottom: none;
24
- color: inherit;
25
- }
26
-
27
- .toast-body {
28
- font-family: Lato, sans-serif;
29
- line-height: 1.25rem;
30
-
31
- button {
32
- font-size: 90%;
33
- min-width: 4rem;
17
+ bottom: 10%;
34
18
  }
35
19
  }
36
20
 
37
21
  &.toast {
38
22
  &.show {
39
- display: block;
40
- min-width: 20rem;
41
- border-radius: 0.5rem;
42
23
  -webkit-backdrop-filter: blur(10px);
43
24
  backdrop-filter: blur(10px);
44
- background-color: rgb(255 255 255 / 50%);
45
- color: #1b1b1eba;
46
25
  position: fixed;
47
26
  left: 50%;
48
- bottom: 20%;
27
+ bottom: 30%;
49
28
  transform: translateX(-50%);
50
29
  -webkit-animation: popup 0.8s;
51
30
  animation: popup 0.8s;
52
31
  }
32
+
33
+ .toast-body {
34
+ line-height: 1.25rem;
35
+ font-family: v.$font-family-heading;
36
+ }
37
+
38
+ button[aria-label='Update'] {
39
+ font-size: 0.8rem;
40
+ }
41
+
42
+ .btn-close {
43
+ font-size: 0.625rem;
44
+ }
53
45
  }
54
46
  }
55
47
 
@@ -101,10 +93,7 @@
101
93
  }
102
94
 
103
95
  button {
104
- > i {
105
- font-size: 1.25rem;
106
- vertical-align: middle;
107
- }
96
+ font-size: 0.75rem;
108
97
 
109
98
  &:focus-visible {
110
99
  box-shadow: none;
@@ -17,7 +17,6 @@ $sidebar-display: 'sidebar-display'; /* the attribute for sidebar display */
17
17
  overflow-y: auto;
18
18
  width: v.$sidebar-width;
19
19
  background: var(--sidebar-bg);
20
- border-right: 1px solid var(--sidebar-border-color);
21
20
 
22
21
  /* Hide scrollbar for IE, Edge and Firefox */
23
22
  -ms-overflow-style: none; /* IE and Edge */
@@ -76,11 +75,12 @@ $sidebar-display: 'sidebar-display'; /* the attribute for sidebar display */
76
75
  }
77
76
 
78
77
  .profile-wrapper {
79
- @include mx.mt-mb(2.5rem);
80
78
  @extend %clickable-transition;
81
79
 
82
80
  padding-left: 2.5rem;
83
81
  padding-right: 1.25rem;
82
+ margin-top: 2.5rem;
83
+ margin-bottom: 1rem;
84
84
  width: 100%;
85
85
 
86
86
  @include bp.lg {
@@ -105,6 +105,8 @@ $sidebar-display: 'sidebar-display'; /* the attribute for sidebar display */
105
105
  letter-spacing: 0.25px;
106
106
  margin-top: 1.25rem;
107
107
  margin-bottom: 0.5rem;
108
+ width: -webkit-fit-content;
109
+ width: -moz-fit-content;
108
110
  width: fit-content;
109
111
  color: var(--site-title-color);
110
112
  }
@@ -114,6 +116,7 @@ $sidebar-display: 'sidebar-display'; /* the attribute for sidebar display */
114
116
  color: var(--site-subtitle-color);
115
117
  margin-top: 0.25rem;
116
118
  word-spacing: 1px;
119
+ height: 3rem;
117
120
  -webkit-user-select: none;
118
121
  -moz-user-select: none;
119
122
  -ms-user-select: none;
@@ -207,7 +210,7 @@ $sidebar-display: 'sidebar-display'; /* the attribute for sidebar display */
207
210
  }
208
211
  }
209
212
 
210
- a {
213
+ > a {
211
214
  @extend %button;
212
215
  @extend %sidebar-link-hover;
213
216
  @extend %clickable-transition;
@@ -227,13 +230,102 @@ $sidebar-display: 'sidebar-display'; /* the attribute for sidebar display */
227
230
 
228
231
  #mode-toggle {
229
232
  @extend %button;
230
- @extend %sidebar-links;
231
233
  @extend %sidebar-link-hover;
234
+ @extend %clickable-transition;
235
+
236
+ > i {
237
+ display: none;
238
+
239
+ @at-root :root[data-bs-theme='light'][data-theme-persisted]
240
+ &[data-theme-mode='light'] {
241
+ display: block;
242
+ }
243
+
244
+ @at-root :root[data-bs-theme='dark'][data-theme-persisted]
245
+ &[data-theme-mode='dark'] {
246
+ display: block;
247
+ }
248
+
249
+ @at-root :root:not([data-theme-persisted]) &[data-theme-mode='system'] {
250
+ display: block;
251
+ }
252
+ }
253
+
254
+ @-webkit-keyframes menu-pop {
255
+ from {
256
+ opacity: 0;
257
+ translate: 0 0.5rem;
258
+ }
259
+
260
+ to {
261
+ opacity: 1;
262
+ translate: 0 0;
263
+ }
264
+ }
265
+
266
+ @keyframes menu-pop {
267
+ from {
268
+ opacity: 0;
269
+ translate: 0 0.5rem;
270
+ }
271
+
272
+ to {
273
+ opacity: 1;
274
+ translate: 0 0;
275
+ }
276
+ }
277
+
278
+ + .dropdown-menu {
279
+ background-color: var(--menu-bg);
280
+ border-color: var(--menu-border-color);
281
+ box-shadow: var(--menu-shadow-color) 0 1px 4px;
282
+ border-radius: 0.75rem !important;
283
+
284
+ &.show {
285
+ display: flex;
286
+ flex-direction: column;
287
+ gap: 0.25rem;
288
+ left: -0.25rem !important;
289
+ -webkit-animation: menu-pop 0.2s ease-out;
290
+ animation: menu-pop 0.2s ease-out;
291
+ }
292
+
293
+ .dropdown-item {
294
+ border-radius: 0.5rem;
295
+ color: var(--sidebar-muted-color);
296
+ font-size: 90%;
297
+
298
+ &.active {
299
+ font-weight: 600;
300
+ color: var(--menu-active-color);
301
+
302
+ &::after {
303
+ content: '\f00c';
304
+ font: var(--fa-font-solid);
305
+ font-size: 0.75rem;
306
+ color: var(--sidebar-btn-color);
307
+ margin-left: auto;
308
+ padding-left: 1rem;
309
+ }
310
+ }
311
+
312
+ &:active,
313
+ &:hover,
314
+ &.active {
315
+ background-color: var(--menu-highlight-bg);
316
+ }
317
+
318
+ > i {
319
+ color: var(--sidebar-btn-color);
320
+ margin-right: 0.5rem;
321
+ }
322
+ }
323
+ }
232
324
  }
233
325
 
234
326
  .icon-border {
235
327
  @extend %no-cursor;
236
- @include mx.ml-mr(calc((v.$sb-btn-gap - $btn-border-width) / 2));
328
+ @include mx.ml-mr(0.6rem);
237
329
 
238
330
  background-color: var(--sidebar-btn-color);
239
331
  content: '';
@@ -241,10 +333,6 @@ $sidebar-display: 'sidebar-display'; /* the attribute for sidebar display */
241
333
  height: $btn-border-width;
242
334
  border-radius: 50%;
243
335
  margin-bottom: $btn-mb;
244
-
245
- @include bp.xxxl {
246
- @include mx.ml-mr(calc((v.$sb-btn-gap-lg - $btn-border-width) / 2));
247
- }
248
336
  }
249
337
  } /* .sidebar-bottom */
250
338
  } /* #sidebar */
@@ -112,7 +112,7 @@
112
112
  }
113
113
 
114
114
  a {
115
- /* post title in Archvies */
115
+ /* post title in Archives */
116
116
  margin-left: 2.5rem;
117
117
  position: relative;
118
118
  top: 0.1rem;
@@ -10,6 +10,43 @@
10
10
  align-items: center;
11
11
  }
12
12
 
13
+ .graph-legend {
14
+ position: absolute;
15
+ bottom: 12px;
16
+ left: 12px;
17
+ display: flex;
18
+ gap: 16px;
19
+ background: var(--graph-tooltip-bg);
20
+ padding: 8px 12px;
21
+ border-radius: 6px;
22
+ font-size: 12px;
23
+ color: var(--graph-tooltip-text);
24
+ box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
25
+ z-index: 5;
26
+
27
+ .legend-item {
28
+ display: flex;
29
+ align-items: center;
30
+ gap: 6px;
31
+ }
32
+
33
+ .legend-post {
34
+ width: 12px;
35
+ height: 12px;
36
+ border-radius: 50%;
37
+ background: var(--graph-post-node-color);
38
+ border: 1.5px solid var(--graph-post-node-stroke-color);
39
+ }
40
+
41
+ .legend-tag {
42
+ width: 8px;
43
+ height: 8px;
44
+ border-radius: 50%;
45
+ background: var(--graph-tag-node-color);
46
+ border: 1.5px solid var(--graph-tag-node-stroke-color);
47
+ }
48
+ }
49
+
13
50
  .post-node {
14
51
  r: 10;
15
52
  fill: var(--graph-post-node-color);
@@ -37,15 +74,69 @@
37
74
  text-anchor: middle;
38
75
  font-size: 12px;
39
76
  fill: var(--text-color);
77
+ opacity: 1;
78
+ pointer-events: none;
40
79
  }
41
80
 
42
81
  .tag-label {
43
82
  text-anchor: middle;
44
83
  font-size: 12px;
45
84
  fill: var(--text-color);
85
+ opacity: 1;
86
+ pointer-events: none;
46
87
  }
47
88
 
48
89
  .link {
49
90
  stroke: var(--graph-edges-color);
50
91
  stroke-opacity: 0.5;
92
+ transition: stroke-opacity 0.2s ease;
93
+ }
94
+
95
+ .node-group.dimmed {
96
+ opacity: 0.3;
97
+ transition: opacity 0.2s ease;
98
+
99
+ text {
100
+ opacity: 0;
101
+ }
102
+ }
103
+
104
+ .link.dimmed {
105
+ stroke-opacity: 0.1;
106
+ }
107
+
108
+ .graph-tooltip {
109
+ position: fixed;
110
+ background: var(--graph-tooltip-bg);
111
+ color: var(--graph-tooltip-text);
112
+ padding: 8px 12px;
113
+ border-radius: 6px;
114
+ font-size: 12px;
115
+ pointer-events: none;
116
+ opacity: 0;
117
+ transition: opacity 0.2s ease;
118
+ z-index: 10;
119
+ box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
120
+ line-height: 1.4;
121
+
122
+ .tooltip-date {
123
+ opacity: 0.7;
124
+ font-size: 11px;
125
+ }
126
+
127
+ .tooltip-tags {
128
+ font-size: 11px;
129
+ opacity: 0.8;
130
+ }
131
+
132
+ .tooltip-hint {
133
+ font-size: 10px;
134
+ opacity: 0.5;
135
+ font-style: italic;
136
+ }
137
+
138
+ .tooltip-count {
139
+ font-size: 11px;
140
+ opacity: 0.8;
141
+ }
51
142
  }
@@ -148,6 +148,16 @@ header {
148
148
  }
149
149
  }
150
150
 
151
+ .post-edit {
152
+ line-height: 1.2rem;
153
+
154
+ > a {
155
+ &:hover {
156
+ @extend %link-hover;
157
+ }
158
+ }
159
+ }
160
+
151
161
  .post-navigation {
152
162
  @include bp.lt(bp.get(lg)) {
153
163
  @include mx.pl-pr(0);
@@ -30,6 +30,11 @@
30
30
  rgb(58 55 55 / 40%) 50%,
31
31
  rgb(255 255 255 / 0%) 100%
32
32
  );
33
+ --menu-bg: rgb(30 30 30);
34
+ --menu-border-color: rgb(77 77 77 / 60%);
35
+ --menu-shadow-color: rgb(4 4 4 / 42%);
36
+ --menu-active-color: rgb(240 248 255 / 63%);
37
+ --menu-highlight-bg: rgb(90 91 92 / 12%);
33
38
 
34
39
  /* Sidebar */
35
40
  --site-title-color: #717070;
@@ -67,8 +72,8 @@
67
72
  --btn-share-hover-color: #bfc1ca;
68
73
  --card-bg: #1e1e1e;
69
74
  --card-hover-bg: #464d51;
70
- --card-shadow: rgb(21 21 21 / 72%) 0 6px 18px 0,
71
- rgb(137 135 135 / 24%) 0 0 0 1px;
75
+ --card-shadow:
76
+ rgb(21 21 21 / 72%) 0 6px 18px 0, rgb(137 135 135 / 24%) 0 0 0 1px;
72
77
  --kbd-wrap-color: #6a6a6a;
73
78
  --kbd-text-color: #d3d3d3;
74
79
  --kbd-bg-color: #242424;
@@ -89,19 +94,21 @@
89
94
  --search-tag-bg: #292828;
90
95
 
91
96
  /* Graph */
92
- --graph-border: #3B4F58;
93
- --graph-tag-node-color: #f8f9fa;
94
- --graph-post-node-color: #8AB4F8;
95
- --graph-tag-node-hover-color: #dee2e6;
96
- --graph-post-node-hover-color: #0d6efd;
97
- --graph-edges-color: #0056b2;
98
- --graph-edges-hover-color: #004085;
99
- --graph-tag-node-stroke-color: var(--main-bg);
100
- --graph-post-node-stroke-color: var(--main-bg);
97
+ --graph-border: #5c6370;
98
+ --graph-tag-node-color: #3b4048;
99
+ --graph-post-node-color: #8ab4f8;
100
+ --graph-tag-node-hover-color: #5c6370;
101
+ --graph-post-node-hover-color: #aecbfa;
102
+ --graph-edges-color: #5c6370;
103
+ --graph-edges-hover-color: #8ab4f8;
104
+ --graph-tag-node-stroke-color: #282c34;
105
+ --graph-post-node-stroke-color: #282c34;
101
106
  --graph-tag-node-stroke-hover-color: var(--tag-node-hover-color);
102
107
  --graph-post-node-stroke-hover-color: var(--post-node-hover-color);
103
- --graph-tag-label-color: #585858;
104
- --graph-post-label-color: #34343c;
108
+ --graph-tag-label-color: #abb2bf;
109
+ --graph-post-label-color: #e0e6f1;
110
+ --graph-tooltip-bg: #282c34;
111
+ --graph-tooltip-text: #e0e6f1;
105
112
 
106
113
  /* Categories */
107
114
  --categories-border: rgb(64 66 69 / 50%);