Skip to content

Commit

Permalink
Playing around with highlight colors.
Browse files Browse the repository at this point in the history
The main one I really want to see changed is the spotlight
color, from orange to darkorange, at least for the dark
themes -- plain orange just doesn't show the white as well.
The rest is playing around only for the colors for the dark
themes to try to get better contrast between text color and
background color.
  • Loading branch information
srjfoo committed Jan 10, 2025
1 parent 2f35b8f commit c9cd079
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/guiguts/maintext.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,17 +292,17 @@ class HighlightColors:
# Must be a definition for each available theme
QUOTEMARK = {
"Light": {"bg": "#a08dfc", "fg": "black"},
"Dark": {"bg": "#a08dfc", "fg": "white"},
"Dark": {"bg": "darkmagenta", "fg": "white"},
}

SPOTLIGHT = {
"Light": {"bg": "orange", "fg": "black"},
"Dark": {"bg": "orange", "fg": "white"},
"Dark": {"bg": "darkorange", "fg": "white"},
}

PAREN = {
"Light": {"bg": "violet", "fg": "white"},
"Dark": {"bg": "violet", "fg": "white"},
"Dark": {"bg": "mediumpurple", "fg": "white"},
}

CURLY_BRACKET = {
Expand All @@ -322,17 +322,17 @@ class HighlightColors:

CURLY_DOUBLE_QUOTE = {
"Light": {"bg": "limegreen", "fg": "white"},
"Dark": {"bg": "limegreen", "fg": "white"},
"Dark": {"bg": "teal", "fg": "white"},
}

STRAIGHT_SINGLE_QUOTE = {
"Light": {"bg": "grey", "fg": "white"},
"Dark": {"bg": "grey", "fg": "white"},
"Dark": {"bg": "sienna", "fg": "white"},
}

CURLY_SINGLE_QUOTE = {
"Light": {"bg": "dodgerblue", "fg": "white"},
"Dark": {"bg": "dodgerblue", "fg": "white"},
"Dark": {"bg": "#b23e0c", "fg": "white"},
}

ALIGNCOL = {
Expand Down

0 comments on commit c9cd079

Please sign in to comment.