Skip to content
Open
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
2 changes: 2 additions & 0 deletions src/modules/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import fzf from "./fzf";
import iterm from "./iterm";
import kitty from "./kitty";
import konsole from "./konsole";
import lazygit from "./lazygit";
import tmux from "./tmux";
import wezterm from "./wezterm";
import windows_terminal from "./windows_terminal";
Expand All @@ -19,6 +20,7 @@ export default {
iterm,
kitty,
konsole,
lazygit,
tmux,
wezterm,
windows_terminal,
Expand Down
36 changes: 36 additions & 0 deletions src/modules/lazygit.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
import { PrimerPalette } from "palette";
import { blend } from "@lib/colors";

const fmt = (c: string): string => {
return `'${c.replace("#", "0x")}'`;
};

export default {
name: "lazygit",
ext: "yml",
generate: (name: string, p: PrimerPalette): string => {
const parse = (c: string) => blend(p.canvas.default, c);
return `# (${name}) Colors for lazygit

theme:
activeBorderColor:
- '${p.accent.emphasis}'
- bold
inactiveBorderColor:
- '${p.border.default}'
optionsTextColor:
- '${p.fg.muted}'
selectedLineBgColor:
- ${fmt(parse(p.codemirror.selectionBg))}
cherryPickedCommitBgColor:
- '${p.canvas.overlay}'
cherryPickedCommitFgColor:
- '${p.accent.emphasis}'
unstagedChangesColor:
- '${p.danger.emphasis}'
defaultFgColor:
- '${p.fg.default}'
searchingActiveBorderColor:
- '${p.attention.emphasis}'`;
}
}
22 changes: 22 additions & 0 deletions themes/lazygit/github_dark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Dark) Colors for lazygit

theme:
activeBorderColor:
- '#1f6feb'
- bold
inactiveBorderColor:
- '#30363d'
optionsTextColor:
- '#848d97'
selectedLineBgColor:
- '0x33588a'
cherryPickedCommitBgColor:
- '#161b22'
cherryPickedCommitFgColor:
- '#1f6feb'
unstagedChangesColor:
- '#da3633'
defaultFgColor:
- '#e6edf3'
searchingActiveBorderColor:
- '#9e6a03'
22 changes: 22 additions & 0 deletions themes/lazygit/github_dark_colorblind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Dark Colorblind) Colors for lazygit

theme:
activeBorderColor:
- '#1f6feb'
- bold
inactiveBorderColor:
- '#30363d'
optionsTextColor:
- '#8b949e'
selectedLineBgColor:
- '0x1e4273'
cherryPickedCommitBgColor:
- '#161b22'
cherryPickedCommitFgColor:
- '#1f6feb'
unstagedChangesColor:
- '#b76100'
defaultFgColor:
- '#c9d1d9'
searchingActiveBorderColor:
- '#9e6a03'
22 changes: 22 additions & 0 deletions themes/lazygit/github_dark_default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Dark Default) Colors for lazygit

theme:
activeBorderColor:
- '#1f6feb'
- bold
inactiveBorderColor:
- '#30363d'
optionsTextColor:
- '#848d97'
selectedLineBgColor:
- '0x1e4273'
cherryPickedCommitBgColor:
- '#161b22'
cherryPickedCommitFgColor:
- '#1f6feb'
unstagedChangesColor:
- '#da3633'
defaultFgColor:
- '#e6edf3'
searchingActiveBorderColor:
- '#9e6a03'
22 changes: 22 additions & 0 deletions themes/lazygit/github_dark_dimmed.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Dark Dimmed) Colors for lazygit

theme:
activeBorderColor:
- '#316dca'
- bold
inactiveBorderColor:
- '#444c56'
optionsTextColor:
- '#768390'
selectedLineBgColor:
- '0x2e4c77'
cherryPickedCommitBgColor:
- '#2d333b'
cherryPickedCommitFgColor:
- '#316dca'
unstagedChangesColor:
- '#c93c37'
defaultFgColor:
- '#adbac7'
searchingActiveBorderColor:
- '#966600'
22 changes: 22 additions & 0 deletions themes/lazygit/github_dark_high_contrast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Dark High Contrast) Colors for lazygit

theme:
activeBorderColor:
- '#409eff'
- bold
inactiveBorderColor:
- '#7a828e'
optionsTextColor:
- '#f0f3f6'
selectedLineBgColor:
- '0x204670'
cherryPickedCommitBgColor:
- '#272b33'
cherryPickedCommitFgColor:
- '#409eff'
unstagedChangesColor:
- '#ff6a69'
defaultFgColor:
- '#f0f3f6'
searchingActiveBorderColor:
- '#e09b13'
22 changes: 22 additions & 0 deletions themes/lazygit/github_dark_tritanopia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Dark Tritanopia) Colors for lazygit

theme:
activeBorderColor:
- '#1f6feb'
- bold
inactiveBorderColor:
- '#30363d'
optionsTextColor:
- '#8b949e'
selectedLineBgColor:
- '0x1e4273'
cherryPickedCommitBgColor:
- '#161b22'
cherryPickedCommitFgColor:
- '#1f6feb'
unstagedChangesColor:
- '#da3633'
defaultFgColor:
- '#c9d1d9'
searchingActiveBorderColor:
- '#9e6a03'
22 changes: 22 additions & 0 deletions themes/lazygit/github_light.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Light) Colors for lazygit

theme:
activeBorderColor:
- '#0969da'
- bold
inactiveBorderColor:
- '#d0d7de'
optionsTextColor:
- '#656d76'
selectedLineBgColor:
- '0xbbdfff'
cherryPickedCommitBgColor:
- '#ffffff'
cherryPickedCommitFgColor:
- '#0969da'
unstagedChangesColor:
- '#cf222e'
defaultFgColor:
- '#1F2328'
searchingActiveBorderColor:
- '#9a6700'
22 changes: 22 additions & 0 deletions themes/lazygit/github_light_colorblind.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Light Colorblind) Colors for lazygit

theme:
activeBorderColor:
- '#0969da'
- bold
inactiveBorderColor:
- '#d0d7de'
optionsTextColor:
- '#57606a'
selectedLineBgColor:
- '0xbbdfff'
cherryPickedCommitBgColor:
- '#ffffff'
cherryPickedCommitFgColor:
- '#0969da'
unstagedChangesColor:
- '#b35900'
defaultFgColor:
- '#24292f'
searchingActiveBorderColor:
- '#9a6700'
22 changes: 22 additions & 0 deletions themes/lazygit/github_light_default.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Light Default) Colors for lazygit

theme:
activeBorderColor:
- '#0969da'
- bold
inactiveBorderColor:
- '#d0d7de'
optionsTextColor:
- '#656d76'
selectedLineBgColor:
- '0xbbdfff'
cherryPickedCommitBgColor:
- '#ffffff'
cherryPickedCommitFgColor:
- '#0969da'
unstagedChangesColor:
- '#cf222e'
defaultFgColor:
- '#1F2328'
searchingActiveBorderColor:
- '#9a6700'
22 changes: 22 additions & 0 deletions themes/lazygit/github_light_high_contrast.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Light High Contrast) Colors for lazygit

theme:
activeBorderColor:
- '#0349b4'
- bold
inactiveBorderColor:
- '#20252c'
optionsTextColor:
- '#0e1116'
selectedLineBgColor:
- '0x368cf9'
cherryPickedCommitBgColor:
- '#ffffff'
cherryPickedCommitFgColor:
- '#0349b4'
unstagedChangesColor:
- '#a0111f'
defaultFgColor:
- '#0e1116'
searchingActiveBorderColor:
- '#744500'
22 changes: 22 additions & 0 deletions themes/lazygit/github_light_tritanopia.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# (Github Light Tritanopia) Colors for lazygit

theme:
activeBorderColor:
- '#0969da'
- bold
inactiveBorderColor:
- '#d0d7de'
optionsTextColor:
- '#57606a'
selectedLineBgColor:
- '0xbbdfff'
cherryPickedCommitBgColor:
- '#ffffff'
cherryPickedCommitFgColor:
- '#0969da'
unstagedChangesColor:
- '#cf222e'
defaultFgColor:
- '#24292f'
searchingActiveBorderColor:
- '#9a6700'