-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use whiskers; make file naming consistent (#14)
- Loading branch information
1 parent
0543c28
commit ce45454
Showing
228 changed files
with
286 additions
and
2,613 deletions.
There are no files selected for viewing
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
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
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,45 @@ | ||
# Default help menu | ||
_default: | ||
@just --list | ||
|
||
whiskers_cmd := "whiskers" | ||
template_path := "lazygit.hbs" | ||
other_template_path := "lazygit-mergeable.hbs" | ||
|
||
output_base := "themes" | ||
other_output_base := "themes-mergable" | ||
|
||
# Generate an accent / flavor combination. Minified name for line brevity | ||
_a flavor accent: | ||
@{{whiskers_cmd}} {{template_path}} {{flavor}} --override accent="{{accent}}" > {{output_base}}/{{flavor}}/{{accent}}.yml | ||
@{{whiskers_cmd}} {{other_template_path}} {{flavor}} --override accent="{{accent}}" > {{other_output_base}}/{{flavor}}/{{accent}}.yml | ||
|
||
# Generate a flavor with all its accents | ||
_gen f: (_a f "rosewater") (_a f "flamingo") (_a f "pink") (_a f "mauve") (_a f "red") (_a f "maroon") (_a f "peach") (_a f "yellow") (_a f "green") (_a f "teal") (_a f "sky") (_a f "sapphire") (_a f "blue") (_a f "lavender") | ||
|
||
# Port tasks start | ||
|
||
# Setup the output location | ||
setup: | ||
mkdir -p {{output_base}} | ||
mkdir -p {{output_base}}/mocha | ||
mkdir -p {{output_base}}/macchiato | ||
mkdir -p {{output_base}}/latte | ||
mkdir -p {{output_base}}/frappe | ||
|
||
mkdir -p {{other_output_base}} | ||
mkdir -p {{other_output_base}}/mocha | ||
mkdir -p {{other_output_base}}/macchiato | ||
mkdir -p {{other_output_base}}/latte | ||
mkdir -p {{other_output_base}}/frappe | ||
|
||
# Teardown the output location | ||
clean: | ||
rm -r {{output_base}} | ||
rm -r {{other_output_base}} | ||
|
||
# Generate a single flavor with its accents | ||
generate flavor: (_gen flavor) | ||
|
||
# Generate all flavors with their accents | ||
all: setup (_gen "latte") (_gen "frappe") (_gen "macchiato") (_gen "mocha") |
23 changes: 13 additions & 10 deletions
23
themes-mergable/frappe/frappe-blue.yml → lazygit-mergeable.hbs
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,23 +1,26 @@ | ||
--- | ||
accent: "NO ACCENT SET" | ||
--- | ||
gui: | ||
theme: | ||
activeBorderColor: | ||
- '#8caaee' | ||
- '#{{ accent }}' | ||
- bold | ||
inactiveBorderColor: | ||
- '#a5adce' | ||
- '#{{ subtext0 }}' | ||
optionsTextColor: | ||
- '#8caaee' | ||
- '#{{ blue }}' | ||
selectedLineBgColor: | ||
- '#414559' | ||
- '#{{ surface0 }}' | ||
selectedRangeBgColor: | ||
- '#414559' | ||
- '#{{ surface0 }}' | ||
cherryPickedCommitBgColor: | ||
- '#51576d' | ||
- '#{{ surface1 }}' | ||
cherryPickedCommitFgColor: | ||
- '#8caaee' | ||
- '#{{ accent }}' | ||
unstagedChangesColor: | ||
- '#e78284' | ||
- '#{{ red }}' | ||
defaultFgColor: | ||
- '#c6d0f5' | ||
- '#{{ text }}' | ||
searchingActiveBorderColor: | ||
- '#e5c890' | ||
- '#{{ yellow }}' |
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,22 +1,25 @@ | ||
--- | ||
accent: "NO ACCENT SET" | ||
--- | ||
theme: | ||
activeBorderColor: | ||
- '#8caaee' | ||
- '#{{ accent }}' | ||
- bold | ||
inactiveBorderColor: | ||
- '#a5adce' | ||
- '#{{ subtext0 }}' | ||
optionsTextColor: | ||
- '#8caaee' | ||
- '#{{ blue }}' | ||
selectedLineBgColor: | ||
- '#414559' | ||
- '#{{ surface0 }}' | ||
selectedRangeBgColor: | ||
- '#414559' | ||
- '#{{ surface0 }}' | ||
cherryPickedCommitBgColor: | ||
- '#51576d' | ||
- '#{{ surface1 }}' | ||
cherryPickedCommitFgColor: | ||
- '#8caaee' | ||
- '#{{ accent }}' | ||
unstagedChangesColor: | ||
- '#e78284' | ||
- '#{{ red }}' | ||
defaultFgColor: | ||
- '#c6d0f5' | ||
- '#{{ text }}' | ||
searchingActiveBorderColor: | ||
- '#e5c890' | ||
- '#{{ yellow }}' |
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 |
---|---|---|
|
@@ -20,4 +20,4 @@ gui: | |
defaultFgColor: | ||
- '#c6d0f5' | ||
searchingActiveBorderColor: | ||
- '#e5c890' | ||
- '#e5c890' |
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 |
---|---|---|
|
@@ -20,4 +20,4 @@ gui: | |
defaultFgColor: | ||
- '#c6d0f5' | ||
searchingActiveBorderColor: | ||
- '#e5c890' | ||
- '#e5c890' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.