diff --git a/VERSION b/VERSION index 3208b09..7962f0f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -4.6.2 \ No newline at end of file +4.6.3 \ No newline at end of file diff --git a/assets/css/_colors.scss b/assets/css/_colors.scss index 5415074..62b163b 100644 --- a/assets/css/_colors.scss +++ b/assets/css/_colors.scss @@ -26,6 +26,8 @@ --highlight-gutter-background: #{$highlight-gutter-background}; --highlight-gutter-foreground: #{$highlight-gutter-foreground}; + --highlight-img-fill: brightness(1) invert(0); + color-scheme: light; } @@ -56,11 +58,14 @@ --highlight-gutter-background: #{$highlight-gutter-background-dark}; --highlight-gutter-foreground: #{$highlight-gutter-foreground-dark}; + --highlight-img-fill: brightness(0) invert(1); + color-scheme: dark; } img[data-theme="dark"] { opacity: .75; + filter: brightness(1) invert(0); &:hover { opacity: .9; diff --git a/assets/css/_common/outline/footer/index.scss b/assets/css/_common/outline/footer/index.scss index 4e200b4..83e6762 100644 --- a/assets/css/_common/outline/footer/index.scss +++ b/assets/css/_common/outline/footer/index.scss @@ -48,6 +48,7 @@ img { display: inline-block; max-width: 50px; + filter: var(--highlight-img-fill); @include mobile() { max-width: 40px; } diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index d3f6a87..2c8805c 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -447,8 +447,11 @@ params: url: /imgs/vendors/upyun.png width: 43 link: https://upyun.com - - name: Webify - link: https://webify.cloudbase.net + - name: Github + link: https://github.com + image: + url: /imgs/vendors/github.svg + width: 14 # --------------------------------------------------------------- @@ -1106,8 +1109,7 @@ params: # CDN 服务 # CDN Settings # --------------------------------------------------------------- - - vendors: + vendors: # The CDN provider of NexT internal scripts. # Available values: local | cdn internal: local diff --git a/static/imgs/vendors/github.svg b/static/imgs/vendors/github.svg new file mode 100644 index 0000000..bf1081a --- /dev/null +++ b/static/imgs/vendors/github.svg @@ -0,0 +1,3 @@ + + +