Skip to content

Commit 1d62c36

Browse files
committed
themes: Add heading-style for gruvbox and zt_blue themes, fixes zulip#1095
This commit along with ed3227b and 22a17fb implement heading-styles for all the themes. h1 to h6 styles have the same implementation of 'msg_heading' in the respective themes as of now.
1 parent ed3227b commit 1d62c36

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

zulipterminal/themes/gruvbox.py

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ class GruvBoxColor(Enum):
6161
'msg_emoji' : (Color.NEUTRAL_PURPLE, Color.DARK0_HARD),
6262
'reaction' : (Color.NEUTRAL_PURPLE__BOLD, Color.DARK0_HARD),
6363
'reaction_mine' : (Color.DARK0_HARD, Color.NEUTRAL_PURPLE),
64+
'msg_heading' : (Color.DARK0_HARD__BOLD, Color.BRIGHT_GREEN),
6465
'msg_math' : (Color.DARK0_HARD, Color.GRAY_244),
6566
'msg_mention' : (Color.BRIGHT_RED__BOLD, Color.DARK0_HARD),
6667
'msg_link' : (Color.BRIGHT_BLUE, Color.DARK0_HARD),

zulipterminal/themes/zt_blue.py

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
'msg_emoji' : (Color.DARK_MAGENTA, Color.LIGHT_BLUE),
3232
'reaction' : (Color.DARK_MAGENTA__BOLD, Color.LIGHT_BLUE),
3333
'reaction_mine' : (Color.LIGHT_BLUE, Color.DARK_MAGENTA),
34+
'msg_heading' : (Color.WHITE__BOLD, Color.BLACK),
3435
'msg_math' : (Color.LIGHT_GRAY, Color.DARK_GRAY),
3536
'msg_mention' : (Color.LIGHT_RED__BOLD, Color.LIGHT_BLUE),
3637
'msg_link' : (Color.DARK_BLUE, Color.LIGHT_GRAY),

0 commit comments

Comments
 (0)