Adopt official color

bar_select
Tyler Goodlet 2020-09-22 20:57:05 -04:00
parent 2fcbefa6e1
commit bfa7839370
4 changed files with 4 additions and 3 deletions

View File

@ -92,7 +92,7 @@ class DynamicDateAxis(pg.AxisItem):
class AxisLabel(pg.GraphicsObject):
# bg_color = pg.mkColor('#a9a9a9')
bg_color = pg.mkColor(hcolor('gray'))
bg_color = pg.mkColor(hcolor('pikers'))
fg_color = pg.mkColor(hcolor('black'))
def __init__(

View File

@ -475,7 +475,7 @@ class ChartPlotWidget(pg.PlotWidget):
parent=self.getAxis('right'),
# digits=0,
opacity=1,
color=pg.mkPen(hcolor('gray'))
color=pg.mkPen(hcolor('pikers'))
)
return last

View File

@ -273,7 +273,7 @@ class BarItems(pg.GraphicsObject):
# 0.5 is no overlap between arms, 1.0 is full overlap
w: float = 0.43
bars_pen = pg.mkPen(hcolor('gray'))
bars_pen = pg.mkPen(hcolor('pikers'))
# XXX: tina mode, see below
# bull_brush = pg.mkPen('#00cc00')

View File

@ -50,6 +50,7 @@ def hcolor(name: str) -> str:
'gunmetal': '#91A3B0',
'battleship': '#848482',
'davies': '#555555',
'pikers': '#666666', # like the cult
# palette
'default': DarkPalette.COLOR_BACKGROUND_NORMAL,