diff --git a/src/content/docs/usage/themes.mdx b/src/content/docs/usage/themes.mdx index afdcea46..00ab458f 100644 --- a/src/content/docs/usage/themes.mdx +++ b/src/content/docs/usage/themes.mdx @@ -3,4 +3,52 @@ title: Themes description: Selecting and defining themes --- -TODO +import KomorebicPlatformLink from '../../../components/KomorebicPlatformLink.astro'; +import KomorebiConfigPlatformLink from '../../../components/KomorebiConfigPlatformLink.astro'; +import { Tabs, TabItem, Steps } from '@astrojs/starlight/components'; + + + + + + + + + +komorebi comes with a number of [Base16](https://tinted-theming.github.io/tinted-gallery/) and [Catppuccin](https://catppuccin.com) themes which can be applied to [borders](/usage/borders) and the komorebi-bar. + +Themes are configured by specifying a (Base16 or Catppuccin), and then specifying the `name` of a theme variant. + + + +```json +{ + "theme": { + "palette": "Base16", + "name": "Ashes" + } +} +``` + + + +```json +{ + "theme": { + "palette": "Catppuccin", + "name": "Latte" + } +} +``` + + + +Various overrides can be set by specifying the desired or value: + +- `theme.bar_accent` +- `theme.floating_border` +- `theme.monocle_border` +- `theme.single_border` +- `theme.stack_border` +- `theme.unfocused_border` +- `theme.unfocused_locked_border`