update docs

This commit is contained in:
Adam Matthiesen 2024-02-01 16:04:59 -08:00
parent 3266794775
commit 9e1be4c660
1 changed files with 19 additions and 0 deletions

View File

@ -41,6 +41,15 @@ export default defineConfig({
## Setup Tailwind
There are multiple color options with Catppuccin. This theme defaults to one of the 3 darker themes. The themes in order are
- Latte (Light)
- Frappe (Light Dark)
- Macchiato (Dark Light) *DEFAULT*
- Mocha (Darkest)
### To use Default options just call the theme's Node Module
```ts frame="code" title="tailwind.config.cjs"
/** @type {import('tailwindcss').Config} */
module.exports = {
@ -48,6 +57,16 @@ module.exports = {
};
```
### To use Specific options call the theme's Node Module `/` the color option lowercase
```ts frame="code" title="tailwind.config.cjs"
/** @type {import('tailwindcss').Config} */
module.exports = {
// OTHER OPTIONS ARE: `/frappe`, `/macchiato`, or `/mocha`
presets: [require('@matthiesenxyz/astro-ghostcms-catppuccin/latte')]
};
```
## Setup `.env` variables
```ansi frame="code" title=".env"