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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
#------------------------------------------------------------------------------
# Copyright (c) 2013-2025, Nucleic Development Team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
#------------------------------------------------------------------------------
from ..mono_font import MONO_FONT
# TODO add many more syntaxes to this theme.
#: A Scintilla highlight theme based on the Python IDLE environment.
IDLE_THEME = {
"settings": {
"caret": "#000000",
"color": "#000000",
"paper": "#FFFFFF",
"font": MONO_FONT
},
"python": {
"class_name": {
"color": "#21439C"
},
"comment": {
"color": "#919191"
},
"comment_block": {
"color": "#919191"
},
"decorator": {
"color": "#DAD085"
},
"double_quoted_string": {
"color": "#00A33F"
},
"function_method_name": {
"color": "#21439C"
},
"highlighted_identifier": {
"color": "#A535AE"
},
"keyword": {
"color": "#FF5600"
},
"operator": {
"color": "#FF5600"
},
"unclosed_string": {
"color": "#00A33F",
"paper": "#EECCCC"
},
"single_quoted_string": {
"color": "#00A33F"
},
"triple_double_quoted_string": {
"color": "#00A33F"
},
"triple_single_quoted_string": {
"color": "#00A33F"
}
}
}
IDLE_THEME["enaml"] = IDLE_THEME["python"]
|