From 6c4ebca482af0d389ac6b4cd8da9ef1d17b990b4 Mon Sep 17 00:00:00 2001 From: Willow <42willow@pm.me> Date: Mon, 15 Jul 2024 11:20:36 +1000 Subject: [PATCH] docs(example): update installation page --- example/src/install.md | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) diff --git a/example/src/install.md b/example/src/install.md index 799d1ae..5fbd7c9 100644 --- a/example/src/install.md +++ b/example/src/install.md @@ -1,5 +1,38 @@ -# Install +# Usage -::: info -Coming soon -::: +1. Install the theme using your preferred package manager: + ::: code-group + + ```bash [npm] + npm install 42willow/vitepress#main + ``` + ```bash [Yarn] + yarn add 42willow/vitepress#main + ``` + ```bash [pnpm] + pnpm add 42willow/vitepress#main + ``` + ```bash [Bun] + bun add 42willow/vitepress#main + ``` + ::: + +2. Import the theme as shown [here](./example/.vitepress/theme/index.ts) +3. Add your preferred accent overrides to an `override.css` file as shown [here](./example/.vitepress/theme/override.css) + +> [!NOTE] +> Latte is included in all flavors as the light mode variant. + +  + +

+ +

+ +

+ Copyright © 2021-present Catppuccin Org +

+ +

+ +