X-Git-Url: https://git.armaanb.net/?p=lightcards.git;a=blobdiff_plain;f=lightcards%2Fdisplay.py;h=8e19d3c49f57fd9c7ed69dd5ab21ff39475de03f;hp=f5f5f6c57d0d4991d40e6a457879eab5642fa895;hb=fc06161aeda6cfe95495c6c52d63c56c4942f889;hpb=93cbdb7080c8fcbeea112dd4b6af888aa5103b91 diff --git a/lightcards/display.py b/lightcards/display.py index f5f5f6c..8e19d3c 100644 --- a/lightcards/display.py +++ b/lightcards/display.py @@ -244,9 +244,9 @@ class Display: self.win = stdscr curses.curs_set(0) # Hide cursor curses.use_default_colors() # Allow transparency - curses.init_pair(1, curses.COLOR_CYAN, -1) - curses.init_pair(2, curses.COLOR_RED, -1) - curses.init_pair(3, curses.COLOR_YELLOW, -1) + curses.init_pair(1, self.config["highlight_color"], -1) + curses.init_pair(2, self.config["error_color"], -1) + curses.init_pair(3, self.config["starred_color"], -1) self.main_panel = curses.panel.new_panel(self.win) self.menu_obj = Menu(self)