Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add new way to set theme #2

Merged
merged 2 commits into from
Aug 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,20 @@

## Usage

1. Copy the contents of [`config.yaml`](https://github.com/catppuccin/zellij/blob/main/config.yaml) into your own zellij configuration file. The `catppuccin` entry inside of `themes` can be added to your already existing themes.
**There are two ways to use this colour scheme:**

**Using zellij configuration file**

1. Copy the contents of [`catppuccin.yaml`](https://github.com/catppuccin/zellij/blob/main/config.yaml) into your own zellij configuration file. The `catppuccin` entry inside of `themes` can be added to your already existing themes.
2. Set the line `theme: catppuccin-macchiato` to match your desired flavour. (latte, frappe, macchiato, mocha)

**Using themes directory**

1. Clone this repository locally, or download `catppuccin.yaml` directly.
2. Move `catppuccin.yaml` to the `~/.config/zellij/themes` directory.
3. Set the line `theme: catppuccin-macchiato` to match your desired flavour. (latte, frappe, macchiato, mocha)

> Or you can choose a theme directly from the command line `zellij options --theme catppuccin-macchiato`.

## 💝 Thanks to

Expand Down
56 changes: 56 additions & 0 deletions catppuccin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
themes:
catppuccin-latte:
bg: "#eff1f5"
fg: "#acb0be" # Surface2
red: "#d20f39"
green: "#40a02b"
blue: "#1e66f5"
yellow: "#df8e1d"
magenta: "#ea76cb" # Pink
orange: "#fe640b" # Peach
cyan: "#04a5e5" # Sky
gray: "#7c7f93" # Overlay2
black: "#4c4f69" # Text
white: "#dce0e8" # Crust

catppuccin-frappe:
bg: "#303446"
fg: "#c6d0f5"
red: "#e78284"
green: "#a6d189"
blue: "#8caaee"
yellow: "#e5c890"
magenta: "#f4b8e4" # Pink
orange: "#ef9f76" # Peach
cyan: "#99d1db" # Sky
gray: "#414559" # Surface0
black: "#292c3c" # Mantle
white: "#c6d0f5"

catppuccin-macchiato:
bg: "#24273a"
fg: "#cad3f5"
red: "#ed8796"
green: "#a6da95"
blue: "#8aadf4"
yellow: "#eed49f"
magenta: "#f5bde6" # Pink
orange: "#f5a97f" # Peach
cyan: "#91d7e3" # Sky
gray: "#363a4f" # Surface0
black: "#1e2030" # Mantle
white: "#cad3f5"

catppuccin-mocha:
bg: "#1e1e2e"
fg: "#cdd6f4"
red: "#f38ba8"
green: "#a6e3a1"
blue: "#89b4fa"
yellow: "#f9e2af"
magenta: "#f5c2e7" # Pink
orange: "#fab387" # Peach
cyan: "#89dceb" # Sky
gray: "#313244" # Surface0
black: "#181825" # Mantle
white: "#cdd6f4"
51 changes: 0 additions & 51 deletions config.yaml

This file was deleted.