Skip to content

Commit

Permalink
update appearance
Browse files Browse the repository at this point in the history
  • Loading branch information
SaFrMo committed Jun 25, 2024
1 parent 007afee commit 132294b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 14 deletions.
29 changes: 15 additions & 14 deletions packages/docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
import { defineConfig } from 'vitepress';
import { defineConfig } from "vitepress";

// https://vitepress.dev/reference/site-config
export default defineConfig({
title: "Lunchbox",
description: "ThreeJS web components",
appearance: 'dark',
appearance: "dark",
themeConfig: {
// https://vitepress.dev/reference/default-theme-config
nav: [
{ text: 'Guide', link: '/guide' },
],
nav: [{ text: "Guide", link: "/guide" }],

sidebar: [
{
text: 'Getting started',
text: "Getting started",
items: [
{ text: 'Overview', link: '/guide' },
{ text: 'Install', link: '/install' },
{ text: 'Core concepts', link: '/concepts' },
{ text: "Overview", link: "/guide" },
{ text: "Install", link: "/install" },
{ text: "Core concepts", link: "/concepts" },
],
},
{
text: 'Components',
text: "Components",
items: [
{ text: 'Component Guide', link: '/components/component-guide' },
{ text: 'Events', link: '/components/events' },
{ text: 'Advanced components', link: '/components/advanced' },
{ text: "Component Guide", link: "/components/component-guide" },
{ text: "Events", link: "/components/events" },
{ text: "Advanced components", link: "/components/advanced" },
],
},
],

socialLinks: [
{ icon: 'github', link: 'https://github.com/breakfast-studio/lunchboxjs' },
{
icon: "github",
link: "https://github.com/breakfast-studio/lunchboxjs",
},
],
},
});
8 changes: 8 additions & 0 deletions packages/docs/.vitepress/theme/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,12 @@ three-lunchbox {
border-radius: 8px;
overflow: hidden;
background: var(--vp-code-block-bg);
}

.VPNavBarAppearance {
display: none !important;
}
.VPSocialLinks::before {
/* display: none !important; */
transform: translateX(-7px);
}

0 comments on commit 132294b

Please sign in to comment.