🐛 💄 Fixed the config file & add github flag in footer.

This commit is contained in:
elkan1788 2024-07-22 22:21:18 +08:00
parent 1b98206cad
commit 119b715655
5 changed files with 16 additions and 5 deletions

View File

@ -1 +1 @@
4.6.2 4.6.3

View File

@ -26,6 +26,8 @@
--highlight-gutter-background: #{$highlight-gutter-background}; --highlight-gutter-background: #{$highlight-gutter-background};
--highlight-gutter-foreground: #{$highlight-gutter-foreground}; --highlight-gutter-foreground: #{$highlight-gutter-foreground};
--highlight-img-fill: brightness(1) invert(0);
color-scheme: light; color-scheme: light;
} }
@ -56,11 +58,14 @@
--highlight-gutter-background: #{$highlight-gutter-background-dark}; --highlight-gutter-background: #{$highlight-gutter-background-dark};
--highlight-gutter-foreground: #{$highlight-gutter-foreground-dark}; --highlight-gutter-foreground: #{$highlight-gutter-foreground-dark};
--highlight-img-fill: brightness(0) invert(1);
color-scheme: dark; color-scheme: dark;
} }
img[data-theme="dark"] { img[data-theme="dark"] {
opacity: .75; opacity: .75;
filter: brightness(1) invert(0);
&:hover { &:hover {
opacity: .9; opacity: .9;

View File

@ -48,6 +48,7 @@
img { img {
display: inline-block; display: inline-block;
max-width: 50px; max-width: 50px;
filter: var(--highlight-img-fill);
@include mobile() { @include mobile() {
max-width: 40px; max-width: 40px;
} }

View File

@ -447,8 +447,11 @@ params:
url: /imgs/vendors/upyun.png url: /imgs/vendors/upyun.png
width: 43 width: 43
link: https://upyun.com link: https://upyun.com
- name: Webify - name: Github
link: https://webify.cloudbase.net link: https://github.com
image:
url: /imgs/vendors/github.svg
width: 14
# --------------------------------------------------------------- # ---------------------------------------------------------------
@ -1106,7 +1109,6 @@ params:
# CDN 服务 # CDN 服务
# CDN Settings # CDN Settings
# --------------------------------------------------------------- # ---------------------------------------------------------------
vendors: vendors:
# The CDN provider of NexT internal scripts. # The CDN provider of NexT internal scripts.
# Available values: local | cdn # Available values: local | cdn

3
static/imgs/vendors/github.svg vendored Normal file
View File

@ -0,0 +1,3 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M16 0C7.16 0 0 7.16 0 16C0 23.08 4.58 29.06 10.94 31.18C11.74 31.32 12.04 30.84 12.04 30.42C12.04 30.04 12.02 28.78 12.02 27.44C8 28.18 6.96 26.46 6.64 25.56C6.46 25.1 5.68 23.68 5 23.3C4.44 23 3.64 22.26 4.98 22.24C6.24 22.22 7.14 23.4 7.44 23.88C8.88 26.3 11.18 25.62 12.1 25.2C12.24 24.16 12.66 23.46 13.12 23.06C9.56 22.66 5.84 21.28 5.84 15.16C5.84 13.42 6.46 11.98 7.48 10.86C7.32 10.46 6.76 8.82 7.64 6.62C7.64 6.62 8.98 6.2 12.04 8.26C13.32 7.9 14.68 7.72 16.04 7.72C17.4 7.72 18.76 7.9 20.04 8.26C23.1 6.18 24.44 6.62 24.44 6.62C25.32 8.82 24.76 10.46 24.6 10.86C25.62 11.98 26.24 13.4 26.24 15.16C26.24 21.3 22.5 22.66 18.94 23.06C19.52 23.56 20.02 24.52 20.02 26.02C20.02 28.16 20 29.88 20 30.42C20 30.84 20.3 31.34 21.1 31.18C27.42 29.06 32 23.06 32 16C32 7.16 24.84 0 16 0V0Z" fill="#24292E"/>
</svg>

After

Width:  |  Height:  |  Size: 959 B