Tinted Theming template repository includes a GitHub Action that builds the colorschemes once a week. This keeps the template up-to-date with the tinted-schemes repository automatically.
tinted-builder-rust is recommended to build template repositories.
It's not required to be in any specific directory when building a
template because the build
subcommand accepts absolute or relative
paths as arguments. To build the current working directory
tinted-builder-rust build .
can be run.
The following is the dependency list for building themes of a tinted-theming template repository:
- tinted-builder-rust
>=0.11.0
- git
*
(any version)
- Install tinted-builder-rust
tinted-builder-rust build path/to/your/tinted-template-repository
Note: path/to/your/tinted-template-repository
is a placeholder path
and should reflect the absolute or relative path to your local template
repository you want to build.
-
Clone the tinted-template-repository locally, eg: tinted-tmux
-
Clone tinted-schemes locally
-
Install tinted-builder-rust
-
Execute:
tinted-builder-rust build /path/to/tinted-tmux --schemes-dir /path/to/tinted-schemes
Note:
path/to/tinted-tmux
andpath/to/tinted-schemes
are placeholders and should reflect the absolute or relative paths to your local template and schemes repositories.
A basic breakdown of the command used in the execute step above:
tinted-builder-rust
- The CLI tool tinted-builder-rustbuild
- Thebuild
subcommand. This accepts 1 absolute or relative path to template repository argument./path/to/tinted-template-repository
- The argument that thebuild
subcommand accepts. This is the absolute or relative path to the template repository to build or generate themes for.--schemes-dir
- A CLI flag which specifies that a custom schemes repository should be used instead of cloning and using the latest tinted-schemes repository./path/to/your/schemes-repo
- The path value associated with the--schemes-dir
CLI flag.
Run tinted-builder-rust --help
to explore more options and
subcommands. For more details refer to tinted-builder-rust README.md,
or open an issue on GitHub.