Skip to content

Commit

Permalink
🐛 💄 Fixed the config file & add github flag in footer.
Browse files Browse the repository at this point in the history
  • Loading branch information
elkan1788 committed Jul 22, 2024
1 parent 1b98206 commit 119b715
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.6.2
4.6.3
5 changes: 5 additions & 0 deletions assets/css/_colors.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions assets/css/_common/outline/footer/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
img {
display: inline-block;
max-width: 50px;
filter: var(--highlight-img-fill);
@include mobile() {
max-width: 40px;
}
Expand Down
10 changes: 6 additions & 4 deletions exampleSite/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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


# ---------------------------------------------------------------
Expand Down Expand Up @@ -1106,8 +1109,7 @@ params:
# CDN 服务
# CDN Settings
# ---------------------------------------------------------------

vendors:
vendors:
# The CDN provider of NexT internal scripts.
# Available values: local | cdn
internal: local
Expand Down
3 changes: 3 additions & 0 deletions static/imgs/vendors/github.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 119b715

Please sign in to comment.