forked from zellij-org/zellij
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add self-provided themes (zellij-org#2224)
* chore: move themes to default assets * feat: add self-provided themes * fix: embed themes into binary
- Loading branch information
Showing
23 changed files
with
111 additions
and
41 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,5 @@ | ||
# Themes | ||
|
||
Themes can contain different flavors in one file, or can be created as individual files. | ||
It contains examples showing how to write a theme. | ||
|
||
Example: | ||
|
||
``` | ||
gruvbox.kdl | ||
├─ gruvbox-light | ||
└─ gruvbox-dark | ||
or | ||
gruvbox-light.kdl | ||
└─ gruvbox-light | ||
gruvbox-dark.kdl | ||
└─ gruvbox-dark | ||
``` | ||
If you would like to add a theme to zellij, please refer [zellij-utils/assets/themes](../../zellij-utils/assets/themes). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// This file shows how to write a theme file | ||
// using `gruvbox` theme. | ||
|
||
themes { | ||
// example of how to set a theme in RGB format | ||
gruvbox-light { | ||
fg 60 56 54 | ||
bg 251 82 75 | ||
black 40 40 40 | ||
red 205 75 69 | ||
green 152 151 26 | ||
yellow 215 153 33 | ||
blue 69 133 136 | ||
magenta 177 98 134 | ||
cyan 104 157 106 | ||
white 213 196 161 | ||
orange 214 93 14 | ||
} | ||
|
||
// example of how to set a theme in HEX format | ||
gruvbox-dark { | ||
fg "#D5C4A1" | ||
bg "#282828" | ||
black "#3C3836" | ||
red "#CC241D" | ||
green "#98971A" | ||
yellow "#D79921" | ||
blue "#3C8588" | ||
magenta "#B16286" | ||
cyan "#689D6A" | ||
white "#FBF1C7" | ||
orange "#D65D0E" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters