Files
aostats-custom/frontend/src/styling.py
T
2019-10-25 19:27:34 +02:00

25 lines
415 B
Python

from .config import config
cfg = config()
font_size = cfg['window']['font-size']
style = """
QWidget {
font-size: %s;
background-color: black;
color: white;
}
QListView {
min-height: 100px;
}
QListView::item:selected:active {
background-color: black;
}
QListView::item:selected {
background-color: black;
}
""" % (font_size)