Mercurial > libervia-backend
comparison frontends/src/primitivus/constants.py @ 495:a726b234d3bf
primitivus: moved constants in a separate file
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 03 Sep 2012 23:43:15 +0200 |
parents | |
children | 024b321c1aa2 |
comparison
equal
deleted
inserted
replaced
494:385cd2169eb5 | 495:a726b234d3bf |
---|---|
1 #!/usr/bin/python | |
2 # -*- coding: utf-8 -*- | |
3 | |
4 """ | |
5 Primitivus: a SAT frontend | |
6 Copyright (C) 2009, 2010, 2011, 2012 Jérôme Poisson (goffi@goffi.org) | |
7 | |
8 This program is free software: you can redistribute it and/or modify | |
9 it under the terms of the GNU Affero General Public License as published by | |
10 the Free Software Foundation, either version 3 of the License, or | |
11 (at your option) any later version. | |
12 | |
13 This program is distributed in the hope that it will be useful, | |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 GNU Affero General Public License for more details. | |
17 | |
18 You should have received a copy of the GNU Affero General Public License | |
19 along with this program. If not, see <http://www.gnu.org/licenses/>. | |
20 """ | |
21 import __builtin__ | |
22 | |
23 __builtin__.__dict__['const_APP_NAME'] = "Primitivus" | |
24 __builtin__.__dict__['const_PALETTE'] = [ | |
25 ('title', 'black', 'light gray', 'standout,underline'), | |
26 ('title_focus', 'white,bold', 'light gray', 'standout,underline'), | |
27 ('selected', 'default', 'dark red'), | |
28 ('selected_focus', 'default,bold', 'dark red'), | |
29 ('default', 'default', 'default'), | |
30 ('default_focus', 'default,bold', 'default'), | |
31 ('alert', 'default,underline', 'default'), | |
32 ('alert_focus', 'default,bold,underline', 'default'), | |
33 ('date', 'light gray', 'default'), | |
34 ('my_nick', 'dark red,bold', 'default'), | |
35 ('other_nick', 'dark cyan,bold', 'default'), | |
36 ('menubar', 'light gray,bold', 'dark red'), | |
37 ('menubar_focus', 'light gray,bold', 'dark green'), | |
38 ('selected_menu', 'light gray,bold', 'dark green'), | |
39 ('menuitem', 'light gray,bold', 'dark red'), | |
40 ('menuitem_focus', 'light gray,bold', 'dark green'), | |
41 ('notifs', 'black,bold', 'yellow'), | |
42 ('notifs_focus', 'dark red', 'yellow'), | |
43 ('card_neutral', 'dark gray', 'white', 'standout,underline'), | |
44 ('card_neutral_selected', 'dark gray', 'dark green', 'standout,underline'), | |
45 ('card_special', 'brown', 'white', 'standout,underline'), | |
46 ('card_special_selected', 'brown', 'dark green', 'standout,underline'), | |
47 ('card_red', 'dark red', 'white', 'standout,underline'), | |
48 ('card_red_selected', 'dark red', 'dark green', 'standout,underline'), | |
49 ('card_black', 'black', 'white', 'standout,underline'), | |
50 ('card_black_selected', 'black', 'dark green', 'standout,underline'), | |
51 ('directory', 'dark cyan, bold', 'default'), | |
52 ('directory_focus', 'dark cyan, bold', 'dark green'), | |
53 ('separator', 'brown', 'default'), | |
54 ('warning', 'light red', 'default'), | |
55 ('progress_normal', 'default', 'black'), | |
56 ('progress_complete', 'default', 'light red'), | |
57 ] |