Adopt official color
parent
2fcbefa6e1
commit
bfa7839370
|
@ -92,7 +92,7 @@ class DynamicDateAxis(pg.AxisItem):
|
||||||
class AxisLabel(pg.GraphicsObject):
|
class AxisLabel(pg.GraphicsObject):
|
||||||
|
|
||||||
# bg_color = pg.mkColor('#a9a9a9')
|
# bg_color = pg.mkColor('#a9a9a9')
|
||||||
bg_color = pg.mkColor(hcolor('gray'))
|
bg_color = pg.mkColor(hcolor('pikers'))
|
||||||
fg_color = pg.mkColor(hcolor('black'))
|
fg_color = pg.mkColor(hcolor('black'))
|
||||||
|
|
||||||
def __init__(
|
def __init__(
|
||||||
|
|
|
@ -475,7 +475,7 @@ class ChartPlotWidget(pg.PlotWidget):
|
||||||
parent=self.getAxis('right'),
|
parent=self.getAxis('right'),
|
||||||
# digits=0,
|
# digits=0,
|
||||||
opacity=1,
|
opacity=1,
|
||||||
color=pg.mkPen(hcolor('gray'))
|
color=pg.mkPen(hcolor('pikers'))
|
||||||
)
|
)
|
||||||
return last
|
return last
|
||||||
|
|
||||||
|
|
|
@ -273,7 +273,7 @@ class BarItems(pg.GraphicsObject):
|
||||||
|
|
||||||
# 0.5 is no overlap between arms, 1.0 is full overlap
|
# 0.5 is no overlap between arms, 1.0 is full overlap
|
||||||
w: float = 0.43
|
w: float = 0.43
|
||||||
bars_pen = pg.mkPen(hcolor('gray'))
|
bars_pen = pg.mkPen(hcolor('pikers'))
|
||||||
|
|
||||||
# XXX: tina mode, see below
|
# XXX: tina mode, see below
|
||||||
# bull_brush = pg.mkPen('#00cc00')
|
# bull_brush = pg.mkPen('#00cc00')
|
||||||
|
|
|
@ -50,6 +50,7 @@ def hcolor(name: str) -> str:
|
||||||
'gunmetal': '#91A3B0',
|
'gunmetal': '#91A3B0',
|
||||||
'battleship': '#848482',
|
'battleship': '#848482',
|
||||||
'davies': '#555555',
|
'davies': '#555555',
|
||||||
|
'pikers': '#666666', # like the cult
|
||||||
|
|
||||||
# palette
|
# palette
|
||||||
'default': DarkPalette.COLOR_BACKGROUND_NORMAL,
|
'default': DarkPalette.COLOR_BACKGROUND_NORMAL,
|
||||||
|
|
Loading…
Reference in New Issue