X Tutup
Skip to content

Commit 9cd8b78

Browse files
committed
hopefully a better default theme in sample.theme (and the hardcoded default to
match)
1 parent d8007e8 commit 9cd8b78

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

bpython/config.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,19 +48,19 @@ def loadini(struct, configfile):
4848

4949
if color_scheme_name == 'default':
5050
struct.color_scheme = {
51-
'keyword': 'Y',
52-
'name': 'B',
51+
'keyword': 'y',
52+
'name': 'c',
5353
'comment': 'b',
54-
'string': 'g',
54+
'string': 'm',
5555
'error': 'r',
56-
'number': 'g',
57-
'operator': 'c',
56+
'number': 'G',
57+
'operator': 'Y',
5858
'punctuation': 'y',
59-
'token': 'g',
59+
'token': 'C',
6060
'background': 'k',
6161
'output': 'w',
6262
'main': 'c',
63-
'prompt': 'r',
63+
'prompt': 'c',
6464
'prompt_more': 'g',
6565
}
6666
else:

sample.theme

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,19 @@
44
# Copy to ~/.bpython/foo.theme and set "color_scheme = foo" in ~/.bpython.ini
55

66
[syntax]
7-
keyword = Y
8-
name = B
7+
keyword = y
8+
name = c
99
comment = b
10-
string = g
10+
string = m
1111
error = r
1212
number = G
13-
operator = C
13+
operator = Y
1414
punctuation = y
15-
token = G
16-
other = b
15+
token = C
1716

1817
[interface]
1918
background = k
2019
output = w
2120
main = c
22-
prompt = r
21+
prompt = c
2322
prompt_more = g

0 commit comments

Comments
 (0)
X Tutup