Skip to content

Commit

Permalink
docs: update logo (#88)
Browse files Browse the repository at this point in the history
  • Loading branch information
pearmini authored Mar 10, 2024
1 parent 7f0f176 commit 64b7837
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 11 deletions.
2 changes: 1 addition & 1 deletion packages/genji-docs/.vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export default defineConfig({
],
},
],
logo: "/logo.png",
logo: "/logo.svg",
socialLinks: [
{ icon: "github", link: "https://github.com/vuejs/vitepress" },
],
Expand Down
21 changes: 12 additions & 9 deletions packages/genji-docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -1,22 +1,25 @@
:root {
--vp-c-indigo-1: #50a752;
--vp-c-indigo-3: #a7eb4f;
--vp-c-indigo-2: #92dba6;
--vp-c-indigo-1: #52b577;
--vp-c-indigo-2: #6edc8c;
--vp-c-indigo-3: #7bf69c;
--vp-home-hero-image-filter: blur(68px);
}

:root {
--vp-home-hero-name-background: -webkit-linear-gradient(
120deg,
#a7eb4f 30%,
#50a752
315deg,
var(--vp-c-indigo-3) 25%,
var(--vp-c-indigo-1)
);
--vp-home-hero-name-color: transparent;
}

:root {
--vp-home-hero-image-background-image: linear-gradient(
-45deg,
#a7eb4f 50%,
#50a752 50%
var(--vp-c-indigo-3) 50%,
var(--vp-c-indigo-1)
);
--vp-home-hero-name-color: transparent;
}

.clip {
Expand Down
2 changes: 1 addition & 1 deletion packages/genji-docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hero:
text: "The interactive Markdown extension"
tagline: Author interactive documents with just Markdown.
image:
src: /logo.png
src: /logo.svg
alt: Genji
actions:
- theme: brand
Expand Down
Binary file removed packages/genji-docs/public/logo.png
Binary file not shown.
1 change: 1 addition & 0 deletions packages/genji-docs/public/logo.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 64b7837

Please sign in to comment.