forked from katka-juhasova/CodeNNVis
-
Notifications
You must be signed in to change notification settings - Fork 0
/
constant.py
30 lines (28 loc) · 833 Bytes
/
constant.py
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
COLUMNS = {
'1': 'one column',
'2': 'two columns',
'3': 'three columns',
'4': 'four columns',
'5': 'five columns',
'6': 'six columns',
'7': 'seven columns',
'8': 'eight columns',
'9': 'nine columns',
'10': 'ten columns',
'11': 'eleven columns',
'12': 'twelve columns'
}
# discuss proper color choice
# I just played with https://color.adobe.com/create/color-wheel/
# NOTE: in case of changes, colors have to be changed also in stylesheet.css
COLORS = {'require': '#FFAD7A',
'variable': '#75EB87',
'function': '#9ECBFF',
'interface': '#E58DF0',
'other': '#FFEC91',
'comment': '#E5E5E5',
'empty': '#FFFFFF',
'code-background': '#E5E5E5',
'plot-line': '#E0E0E0',
None: None}
LUA_LINE_HEIGHT = 15