diff --git a/docs/.vitepress/config.js b/docs/.vitepress/config.js index 90db3bcc..d0727101 100644 --- a/docs/.vitepress/config.js +++ b/docs/.vitepress/config.js @@ -12,6 +12,11 @@ export default defineConfig({ themeConfig: { logo: 'https://raw.githubusercontent.com/chialab/dna/main/logo.svg', + editLink: { + pattern: 'https://github.com/chialab/dna/edit/main/docs/:path', + text: 'Suggest changes to this page', + }, + search: { provider: 'algolia', options: { diff --git a/docs/.vitepress/theme/theme.css b/docs/.vitepress/theme/theme.css index e7d34f88..3e87bb0c 100644 --- a/docs/.vitepress/theme/theme.css +++ b/docs/.vitepress/theme/theme.css @@ -4,4 +4,7 @@ --vp-button-brand-bg: var(--vp-c-brand-1); --vp-button-brand-hover-bg: #d56e00; --vp-button-brand-active-bg: #ce5900; + + --vp-home-hero-name-color: transparent; + --vp-home-hero-name-background: linear-gradient(to bottom right, #ffac52 0%, #f07c00 100%); }