This repository has been archived by the owner on May 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #272 from rashley-iqt/editor-fix
Editor fix
- Loading branch information
Showing
4 changed files
with
187 additions
and
208 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,21 @@ | ||
custom_style = { #get_style({ | ||
"separator": '#6C6C6C', | ||
"questionmark": '#FF9D00 bold', | ||
"selected": '#5F819D', | ||
"pointer": '#FF9D00 bold', | ||
#"instruction": '', # default | ||
"answer": '#5F819D bold', | ||
#"question": '', | ||
} #, style_override=False) | ||
from blessed import Terminal | ||
from inquirer.themes import Theme | ||
|
||
term = Terminal() | ||
|
||
class custom_style(Theme): | ||
def __init__(self): | ||
super().__init__() | ||
self.Question.mark_color = term.darkorange + term.bold | ||
self.Question.brackets_color = term.darkorange + term.bold | ||
self.Question.default_color = term.darkorange + term.bold | ||
self.Checkbox.selection_color = term.lightskyblue4 | ||
self.Checkbox.selection_icon = "❯" | ||
self.Checkbox.selected_icon = "◉" | ||
self.Checkbox.selected_color = term.lightskyblue4 | ||
self.Checkbox.unselected_color = term.normal | ||
self.Checkbox.unselected_icon = "◯" | ||
self.List.selection_color = term.lightskyblue4 | ||
self.List.selection_cursor = "❯" | ||
self.List.unselected_color = term.normal | ||
self.Editor.opening_prompt_color = term.lightskyblue4 |
Oops, something went wrong.