summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Geier <geier@lostpackets.de>2023-10-24 23:46:40 +0200
committerChristian Geier <geier@lostpackets.de>2023-10-26 09:20:23 +0200
commitee47f754e0428c0147ef887af79c84b222c5d1f5 (patch)
tree75d5bf3210cd40c7faf7a0f91ebf14501a481a5d
parent223646d4b4c694f893929e9ebd73f9afde89a787 (diff)
more typing for ui.color.py
-rw-r--r--khal/ui/colors.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/khal/ui/colors.py b/khal/ui/colors.py
index 415f81ff..5cffb116 100644
--- a/khal/ui/colors.py
+++ b/khal/ui/colors.py
@@ -19,13 +19,14 @@
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+from typing import Dict, List, Tuple
dark = [
('header', 'white', 'black'),
('footer', 'white', 'black'),
('line header', 'black', 'white', 'bold'),
('alt header', 'white', '', 'bold'),
- ('bright', 'dark blue', 'white', ('bold', 'standout')),
+ ('bright', 'dark blue', 'white', 'bold,standout'),
('list', 'black', 'white'),
('list focused', 'white', 'light blue', 'bold'),
('edit', 'black', 'white'),
@@ -67,7 +68,7 @@ light = [
('footer', 'black', 'white'),
('line header', 'black', 'white', 'bold'),
('alt header', 'black', '', 'bold'),
- ('bright', 'dark blue', 'white', ('bold', 'standout')),
+ ('bright', 'dark blue', 'white', 'bold,standout'),
('list', 'black', 'white'),
('list focused', 'white', 'light blue', 'bold'),
('edit', 'black', 'white'),
@@ -80,7 +81,7 @@ light = [
('today', 'black', 'light gray'),
('date header', '', 'white'),
- ('date header focused', 'white', 'dark gray', ('bold', 'standout')),
+ ('date header focused', 'white', 'dark gray', 'bold,standout'),
('date header selected', 'dark gray', 'light cyan'),
('dayname', 'dark gray', 'white'),
@@ -104,3 +105,5 @@ light = [
('popupper', 'black', 'light gray'),
('caption', 'black', '', ''),
]
+
+themes: Dict[str, List[Tuple[str, ...]]] = {'light': light, 'dark': dark}