-
Notifications
You must be signed in to change notification settings - Fork 29
/
themes.py
44 lines (41 loc) · 1.5 KB
/
themes.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# theme.py
# -*- coding: utf-8 -*-
#
# The python script in this file defines the available themes for the planisphere.
#
# Copyright (C) 2019 André Werlang <https://dcford.org.uk/>
#
# This code is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
#
# You should have received a copy of the GNU General Public License along with
# this file; if not, write to the Free Software Foundation, Inc., 51 Franklin
# Street, Fifth Floor, Boston, MA 02110-1301, USA
# ----------------------------------------------------------------------------
from typing import Dict, Tuple
themes: Dict[str, Dict[str, Tuple[float, float, float, float]]] = {
"default":
{
"background": (1, 1, 1, 0),
"date": (0, 0, 0, 1),
"edge": (0, 0, 0, 1),
"shading": (0.9, 0.9, 0.9, 1),
"grid": (0.75, 0.75, 0.75, 1),
"stick": (0.25, 0.25, 0.25, 1),
"star": (0, 0, 0, 1),
"constellation": (0, 0, 0, 1)
},
"dark":
{
"background": (0.2, 0.25, 0.45, 1),
"date": (1, 1, 1, 1),
"edge": (0.45, 0.45, 0.45, 1),
"shading": (0.1, 0.1, 0.1, 1),
"grid": (0.3, 0.3, 0.3, 1),
"stick": (0.28, 0.35, 0.55, 1),
"star": (1, 1, 1, 1),
"constellation": (0.6, 0.5, 0.65, 1)
}
}