-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Resolves #97 ## TODO - [x] remove built-in themes in favour of a single default ANSI theme - [x] update `theme_parse` script - [x] update theme/palette documentation - [x] update `theme.toml` and `app.toml` examples ## Theme config changes - made `background` and `foreground` fields optional in a theme's palette. Default to use terminal's background/foreground colors if not specified. - made 16 ANSI color fields optional in a theme's palette. Default to use terminal's ANSI colors if not specified. - removed `selection_background` and `selection_foreground` fields from a theme's palette - tweaked default value for `playback_progress_bar` component style
- Loading branch information
Showing
5 changed files
with
263 additions
and
181 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
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 |
---|---|---|
@@ -1,63 +1,155 @@ | ||
# example theme configuration file | ||
# This file adds two new themes `dracula2` and `solarized_dark` | ||
# in addition to the default application's themes. | ||
|
||
[[themes]] | ||
name = "dracula2" | ||
name = "dracula" | ||
[themes.palette] | ||
background = "#1e1f29" | ||
foreground = "#f8f8f2" | ||
black = "#000000" | ||
blue = "#bd93f9" | ||
cyan = "#8be9fd" | ||
red = "#ff5555" | ||
green = "#50fa7b" | ||
yellow = "#f1fa8c" | ||
blue = "#bd93f9" | ||
magenta = "#ff79c6" | ||
red = "#ff5555" | ||
cyan = "#8be9fd" | ||
white = "#bbbbbb" | ||
yellow = "#f1fa8c" | ||
bright_black = "#555555" | ||
bright_blue = "#bd93f9" | ||
bright_cyan = "#8be9fd" | ||
bright_red = "#ff5555" | ||
bright_green = "#50fa7b" | ||
bright_yellow = "#f1fa8c" | ||
bright_blue = "#bd93f9" | ||
bright_magenta = "#ff79c6" | ||
bright_red = "#ff5555" | ||
bright_cyan = "#8be9fd" | ||
bright_white = "#ffffff" | ||
bright_yellow = "#f1fa8c" | ||
selection_background = "#44475a" | ||
selection_foreground = "#ffffff" | ||
[themes.component_style] | ||
block_title = { fg = "Magenta" } | ||
playback_track = { fg = "Cyan", modifiers = ["Bold"] } | ||
playback_album = { fg = "Yellow" } | ||
playback_metadata = { fg = "BrightBlack" } | ||
playback_progress_bar = { bg = "BrightBlack", fg = "Green" } | ||
current_playing = { fg = "Green", modifiers = ["Bold"] } | ||
page_desc = { fg = "Cyan", modifiers = ["Bold"] } | ||
table_header = { fg = "Blue" } | ||
|
||
[[themes]] | ||
name = "gruvbox_dark" | ||
[themes.palette] | ||
background = "#282828" | ||
foreground = "#ebdbb2" | ||
black = "#282828" | ||
red = "#cc241d" | ||
green = "#98971a" | ||
yellow = "#d79921" | ||
blue = "#458588" | ||
magenta = "#b16286" | ||
cyan = "#689d6a" | ||
white = "#a89984" | ||
bright_black = "#928374" | ||
bright_red = "#fb4934" | ||
bright_green = "#b8bb26" | ||
bright_yellow = "#fabd2f" | ||
bright_blue = "#83a598" | ||
bright_magenta = "#d3869b" | ||
bright_cyan = "#8ec07c" | ||
bright_white = "#ebdbb2" | ||
[themes.component_style] | ||
# The `component_style` field of a theme is optional. | ||
# If not specified, a default value will be used as below: | ||
block_title = { fg = "Magenta" } | ||
playback_track = { fg = "Cyan", modifiers = ["Bold"] } | ||
playback_album = { fg = "Yellow" } | ||
playback_metadata = { fg = "BrightBlack" } | ||
playback_progress_bar = { bg = "SelectionBackground", fg = "Green" } | ||
playback_progress_bar = { bg = "BrightBlack", fg = "Green" } | ||
current_playing = { fg = "Green", modifiers = ["Bold"] } | ||
page_desc = { fg = "Cyan", modifiers = ["Bold"] } | ||
table_header = { fg = "Blue" } | ||
|
||
[[themes]] | ||
name = "gruvbox_light" | ||
[themes.palette] | ||
background = "#fbf1c7" | ||
foreground = "#282828" | ||
black = "#fbf1c7" | ||
red = "#9d0006" | ||
green = "#79740e" | ||
yellow = "#b57614" | ||
blue = "#076678" | ||
magenta = "#8f3f71" | ||
cyan = "#427b58" | ||
white = "#3c3836" | ||
bright_black = "#9d8374" | ||
bright_red = "#cc241d" | ||
bright_green = "#98971a" | ||
bright_yellow = "#d79921" | ||
bright_blue = "#458588" | ||
bright_magenta = "#b16186" | ||
bright_cyan = "#689d69" | ||
bright_white = "#7c6f64" | ||
[themes.component_style] | ||
block_title = { fg = "Magenta" } | ||
playback_track = { fg = "Cyan", modifiers = ["Bold"] } | ||
playback_album = { fg = "Yellow" } | ||
playback_metadata = { fg = "BrightBlack" } | ||
playback_progress_bar = { bg = "BrightBlack", fg = "Green" } | ||
current_playing = { fg = "Green", modifiers = ["Bold"] } | ||
page_desc = { fg = "Cyan", modifiers = ["Bold"] } | ||
table_header = { fg = "Blue" } | ||
|
||
|
||
[[themes]] | ||
name = "solarized_dark" | ||
[themes.palette] | ||
background = "#002b36" | ||
foreground = "#839496" | ||
black = "#073642" | ||
blue = "#268bd2" | ||
cyan = "#2aa198" | ||
red = "#dc322f" | ||
green = "#859900" | ||
yellow = "#b58900" | ||
blue = "#268bd2" | ||
magenta = "#d33682" | ||
red = "#dc322f" | ||
cyan = "#2aa198" | ||
white = "#eee8d5" | ||
yellow = "#b58900" | ||
bright_black = "#002b36" | ||
bright_red = "#cb4b16" | ||
bright_green = "#586e75" | ||
bright_yellow = "#657b83" | ||
bright_blue = "#839496" | ||
bright_magenta = "#6c71c4" | ||
bright_cyan = "#93a1a1" | ||
bright_white = "#fdf6e3" | ||
[themes.component_style] | ||
block_title = { fg = "Magenta" } | ||
playback_track = { fg = "Cyan", modifiers = ["Bold"] } | ||
playback_album = { fg = "Yellow" } | ||
playback_metadata = { fg = "White" } | ||
playback_progress_bar = { bg = "BrightBlack", fg = "Green" } | ||
current_playing = { fg = "Green", modifiers = ["Bold"] } | ||
page_desc = { fg = "Cyan", modifiers = ["Bold"] } | ||
table_header = { fg = "Blue" } | ||
|
||
[[themes]] | ||
name = "solarized_light" | ||
[themes.palette] | ||
background = "#fdf6e3" | ||
foreground = "#657b83" | ||
black = "#073642" | ||
red = "#dc322f" | ||
green = "#859900" | ||
yellow = "#b58900" | ||
blue = "#268bd2" | ||
magenta = "#d33682" | ||
cyan = "#2aa198" | ||
white = "#eee8d5" | ||
bright_black = "#002b36" | ||
bright_red = "#cb4b16" | ||
bright_green = "#586e75" | ||
bright_yellow = "#657b83" | ||
bright_blue = "#839496" | ||
bright_magenta = "#6c71c4" | ||
bright_red = "#cb4b16" | ||
bright_cyan = "#93a1a1" | ||
bright_white = "#fdf6e3" | ||
bright_yellow = "#657b83" | ||
selection_background = "#073642" | ||
selection_foreground = "#93a1a1" | ||
[themes.component_style] | ||
block_title = { fg = "Magenta" } | ||
playback_track = { fg = "Cyan", modifiers = ["Bold"] } | ||
playback_album = { fg = "Yellow" } | ||
playback_metadata = { fg = "BrightBlack" } | ||
playback_progress_bar = { bg = "BrightBlack", fg = "Green" } | ||
current_playing = { fg = "Green", modifiers = ["Bold"] } | ||
page_desc = { fg = "Cyan", modifiers = ["Bold"] } | ||
table_header = { fg = "Blue" } |
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
Oops, something went wrong.