lint: Lint

This commit is contained in:
elvis kahoro 2023-06-20 23:39:00 -07:00
parent 6008ba3986
commit cfadbc7dce
79 changed files with 583 additions and 620 deletions

View file

@ -1,22 +1,17 @@
# Warp Themes
This is an open source repository with themes for [Warp](https://www.warp.dev/). We welcome and
appreciate any contributions! Join our [Discord](https://discord.gg/warpdotdev), we have a channel
dedicated to discussing custom themes.
This is an open source repository with themes for [Warp](https://www.warp.dev/). We welcome and appreciate any contributions! Join our [Discord](https://discord.gg/warpdotdev), we have a channel dedicated to discussing custom themes.
We have
[directions on how to use this repository in our documentation.](https://docs.warp.dev/features/themes)
We have [directions on how to use this repository in our documentation.](https://docs.warp.dev/features/themes)
## Custom Background Images
Warp supports setting background images, set the path to your background image in your themes
`.yaml` file:
Warp supports setting background images, set the path to your background image in your themes `.yaml` file:
- a relative path to `~/.warp/themes`
- the absolute path to the background image
If your background image was under `~/.warp/themes/level_one/level_two/background_image.jpg` then
the filepath in the yaml should be:
If your background image was under `~/.warp/themes/level_one/level_two/background_image.jpg` then the filepath in the yaml should be:
```yaml
background_image:
@ -25,21 +20,17 @@ background_image:
## Contributing
tldr; After adding your theme run the python script for generating theme previews
`./scripts/gen_theme_previews.py` like so:
tldr; After adding your theme run the python script for generating theme previews `./scripts/gen_theme_previews.py` like so:
`python3 ./scripts/gen_theme_previews.py standard`
For a newly added theme that's in the standard folder / directory. If you get the error that yaml is
missing make sure you `pip install PyYAML`
For a newly added theme that's in the standard folder / directory. If you get the error that yaml is missing make sure you `pip install PyYAML`
There are more
[directions on how to use this repository in our documentation.](https://docs.warp.dev/features/themes).
There are more [directions on how to use this repository in our documentation.](https://docs.warp.dev/features/themes).
## Open source dependencies
We'd like to call out a few of the open source themes and repositories that helped bootstrap the set
of themes for Warp:
We'd like to call out a few of the open source themes and repositories that helped bootstrap the set of themes for Warp:
- [iTerm colors pencil](https://github.com/mattly/iterm-colors-pencil)
- [Alacritty-theme](https://github.com/eendroroy/alacritty-theme)
@ -51,21 +42,14 @@ of themes for Warp:
## What are base16 themes?
> An architecture for building themes based on carefully chosen syntax highlighting using a base of
> sixteen colors. Base16 provides a set of guidelines detailing how to style syntax and how to code
> a builder for compiling Base16 schemes and templates.
> An architecture for building themes based on carefully chosen syntax highlighting using a base of sixteen colors. Base16 provides a set of guidelines detailing how to style syntax and how to code a builder for compiling Base16 schemes and templates.
More on the details and structure here:
[https://github.com/chriskempson/base16.](https://github.com/chriskempson/base16)
More on the details and structure here: [https://github.com/chriskempson/base16.](https://github.com/chriskempson/base16)
Base16 themes were sourced and auto-generated based on the Alacritty themes collected by @aarowill.
Repo: [https://github.com/aarowill/base16-alacritty](https://github.com/aarowill/base16-alacritty)
Base16 themes were sourced and auto-generated based on the Alacritty themes collected by @aarowill. Repo: [https://github.com/aarowill/base16-alacritty](https://github.com/aarowill/base16-alacritty)
## What are standard themes?
In this directory you'll find themes popular among other tools, including Solarized, Dracula and
others.
In this directory you'll find themes popular among other tools, including Solarized, Dracula and others.
Themes in this directory were sourced and auto-generated based on the Alacritty themes collected by
@eendroroy. Repo:
[https://github.com/eendroroy/alacritty-theme](https://github.com/eendroroy/alacritty-theme)
Themes in this directory were sourced and auto-generated based on the Alacritty themes collected by @eendroroy. Repo: [https://github.com/eendroroy/alacritty-theme](https://github.com/eendroroy/alacritty-theme)