From ea5b55945f77fb177f56ec349ec878c3074d9de1 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 20 Sep 2021 13:42:54 -0400 Subject: [PATCH] Re-order grays by "lightness" --- piker/ui/_style.py | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/piker/ui/_style.py b/piker/ui/_style.py index c1f151f4..34b5cb01 100644 --- a/piker/ui/_style.py +++ b/piker/ui/_style.py @@ -205,19 +205,26 @@ def hcolor(name: str) -> str: 'svags': '#0a0e14', # fifty shades + 'original': '#a9a9a9', 'gray': '#808080', # like the kick 'grayer': '#4c4c4c', 'grayest': '#3f3f3f', - 'i3': '#494D4F', - 'jet': '#343434', 'cadet': '#91A3B0', 'marengo': '#91A3B0', - 'charcoal': '#36454F', 'gunmetal': '#91A3B0', 'battleship': '#848482', - 'davies': '#555555', + + # bluish + 'charcoal': '#36454F', + + # default bars 'bracket': '#666666', # like the logo - 'original': '#a9a9a9', + + # work well for filled polygons which want a 'bracket' feel + # going light to dark + 'davies': '#555555', + 'i3': '#494D4F', + 'jet': '#343434', # from ``qdarkstyle`` palette 'default_darkest': DarkPalette.COLOR_BACKGROUND_1,