Even more colors
parent
4c39407363
commit
19609178ce
|
@ -3,6 +3,7 @@ Qt UI styling.
|
||||||
"""
|
"""
|
||||||
import pyqtgraph as pg
|
import pyqtgraph as pg
|
||||||
from PyQt5 import QtGui
|
from PyQt5 import QtGui
|
||||||
|
from qdarkstyle.palette import DarkPalette
|
||||||
|
|
||||||
|
|
||||||
# chart-wide font
|
# chart-wide font
|
||||||
|
@ -29,17 +30,34 @@ def enable_tina_mode() -> None:
|
||||||
pg.setConfigOption('background', 'w')
|
pg.setConfigOption('background', 'w')
|
||||||
|
|
||||||
|
|
||||||
def hcolor(name: str):
|
def hcolor(name: str) -> str:
|
||||||
"""Hex color codes by hipster speak.
|
"""Hex color codes by hipster speak.
|
||||||
"""
|
"""
|
||||||
return '#' + {
|
return {
|
||||||
'black': '000000', # lives matter
|
# lives matter
|
||||||
'white': 'ffffff', # for tinas and sunbathers
|
'black': '#000000',
|
||||||
'gray': '808080', # like the kick
|
'erie_black': '#1B1B1B',
|
||||||
'dad_blue': '326693', # like his shirt
|
'licorice': '#1A1110',
|
||||||
'vwap_blue': '0582fb',
|
'papas_special': '#06070c',
|
||||||
|
|
||||||
|
# fifty shades
|
||||||
|
'gray': '#808080', # like the kick
|
||||||
|
'jet': '#343434',
|
||||||
|
'charcoal': '#36454F',
|
||||||
|
|
||||||
|
# palette
|
||||||
|
'default': DarkPalette.COLOR_BACKGROUND_NORMAL,
|
||||||
|
|
||||||
|
'white': '#ffffff', # for tinas and sunbathers
|
||||||
|
|
||||||
|
# blue zone
|
||||||
|
'dad_blue': '#326693', # like his shirt
|
||||||
|
'vwap_blue': '#0582fb',
|
||||||
|
'dodger_blue': '#1e90ff', # like the team?
|
||||||
|
'panasonic_blue': '#0040be', # from japan
|
||||||
|
|
||||||
# traditional
|
# traditional
|
||||||
'tina_green': '00cc00',
|
'tina_green': '#00cc00',
|
||||||
'tina_red': 'fa0000',
|
'tina_red': '#fa0000',
|
||||||
|
|
||||||
}[name]
|
}[name]
|
||||||
|
|
Loading…
Reference in New Issue