Skip to content

Commit

Permalink
Homepage test: Does VitePress allow a ThemeableImage in homepage image
Browse files Browse the repository at this point in the history
  • Loading branch information
RainlessSky committed Aug 5, 2024
1 parent 6f0927d commit e40f20d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
:root {
--vp-c-brand-1: #17f2a7;
}
14 changes: 7 additions & 7 deletions docs/hero_test.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
---
--vp-home-hero-name-color: FFFFFF;
layout: home

hero:
name: Sector's Edge Map making documentation
text:
tagline: BYC4C
image:
src: /logo.png
alt: VitePress
name: Sector's Edge
text: Mapmaking Documentation
tagline: Making map making more accessible.
image: { light: se-docs-dark; dark: se-docs-light; alt?: Sector's Edge docs }
actions:
- theme: brand
text: Go to documentation
link: /index.md
- theme: brand
text: Getting Started
link: /guides/getting_started.md
---

0 comments on commit e40f20d

Please sign in to comment.