Skip to content

Commit 59a1020

Browse files
Marc SerratMarc Serrat
authored andcommitted
Update files for win/mac builds
1 parent 5c4d58b commit 59a1020

File tree

4 files changed

+116
-2
lines changed

4 files changed

+116
-2
lines changed

requirements/dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ connect-openapi-client
66
requests>=2.25.0
77
requests_toolbelt>=0.9.1
88
fs>=2.4.11
9-
interrogatio>=1.0.2
9+
interrogatio>=1.0.3
1010
connect-markdown-renderer>=1.0.1
1111
iso3166>=1.0.1
1212
phonenumbers>=8.12

resources/ccli.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ block_cipher = None
55
a = Analysis(['../cnctcli/ccli.py'],
66
pathex=['/workspaces/product-sync'],
77
binaries=[],
8-
datas=[('../resources/default.json','interrogatio/themes/theme_files/default.json')],
8+
datas=[('../resources/theme_files','interrogatio/themes/theme_files')],
99
hiddenimports=[],
1010
hookspath=[],
1111
runtime_hooks=[],

resources/theme_files/default.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": "default",
3+
"prompt": {
4+
"error": "red bold underline",
5+
"input.question": "darkblue",
6+
"input.answer": "orange bold",
7+
"password.question": "darkblue",
8+
"password.answer": "orange bold",
9+
"path.question": "darkblue",
10+
"path.answer": "orange bold",
11+
"repassword.question": "darkblue",
12+
"repassword.answer": "orange bold",
13+
"text.question": "darkblue",
14+
"text.answer": "orange bold",
15+
"selectone.question": "darkblue",
16+
"selectone.answer": "darkblue bold",
17+
"selectone.answer radio": "darkblue bold",
18+
"selectone.answer radio-selected": "cyan",
19+
"selectone.answer radio-checked": "orange bold",
20+
"selectmany.question": "darkblue",
21+
"selectmany.answer": "darkblue bold",
22+
"selectmany.answer checkbox": "darkblue bold",
23+
"selectmany.answer checkbox-selected": "cyan",
24+
"selectmany.answer checkbox-checked": "orange bold"
25+
},
26+
"dialog": {
27+
"dialog": "bg:#4444ff",
28+
"dialog.body": "bg:#ffffff #000000",
29+
"dialog frame.label": "magenta bold",
30+
"dialog shadow": "bg:#000088",
31+
"dialog.body shadow": "bg:#aaaaaa",
32+
"button": "",
33+
"button.arrow": "bold",
34+
"button.focused": "bg:#aa0000 #ffffff",
35+
"error": "red bold",
36+
"input.question": "bg:#eeeeee darkblue",
37+
"input.answer": "bg:#eeeeee orange bold",
38+
"password.question": "bg:#eeeeee darkblue",
39+
"password.answer": "bg:#eeeeee orange bold",
40+
"path.question": "bg:#eeeeee darkblue",
41+
"path.answer": "bg:#eeeeee orange bold",
42+
"repassword.question": "bg:#eeeeee darkblue",
43+
"repassword.answer": "bg:#eeeeee orange bold",
44+
"text.question": "bg:#eeeeee darkblue",
45+
"text.answer": "bg:#eeeeee orange bold",
46+
"selectone.question": "bg:#eeeeee darkblue",
47+
"selectone.answer": "bg:#eeeeee darkblue bold",
48+
"selectone.answer radio": "bg:#eeeeee darkblue bold",
49+
"selectone.answer radio-selected": "bg:#eeeeee cyan",
50+
"selectone.answer radio-checked": "bg:#eeeeee orange bold",
51+
"selectmany.question": "bg:#eeeeee darkblue",
52+
"selectmany.answer": "bg:#eeeeee darkblue bold",
53+
"selectmany.answer checkbox": "bg:#eeeeee darkblue bold",
54+
"selectmany.answer checkbox-selected": "bg:#eeeeee cyan",
55+
"selectmany.answer checkbox-checked": "bg:#eeeeee orange bold"
56+
}
57+
}

resources/theme_files/purple.json

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
{
2+
"name": "purple",
3+
"prompt": {
4+
"error": "red bold underline",
5+
"input.question": "white bold",
6+
"input.answer": "magenta bold",
7+
"password.question": "white bold",
8+
"password.answer": "magenta bold",
9+
"path.question": "white bold",
10+
"path.answer": "magenta bold",
11+
"repassword.question": "white bold",
12+
"repassword.answer": "magenta bold",
13+
"text.question": "white bold",
14+
"text.answer": "magenta bold",
15+
"selectone.question": "white bold",
16+
"selectone.answer": "white bold bold",
17+
"selectone.answer radio": "white bold bold",
18+
"selectone.answer radio-selected": "cyan",
19+
"selectone.answer radio-checked": "magenta bold",
20+
"selectmany.question": "white bold",
21+
"selectmany.answer": "white bold bold",
22+
"selectmany.answer checkbox": "white bold bold",
23+
"selectmany.answer checkbox-selected": "cyan",
24+
"selectmany.answer checkbox-checked": "magenta bold"
25+
},
26+
"dialog": {
27+
"dialog": "bg:white magenta",
28+
"dialog.body": "bg:black white",
29+
"dialog frame.label": "magenta bold",
30+
"dialog shadow": "bg:gray",
31+
"dialog.body shadow": "bg:magenta",
32+
"button": "white",
33+
"button.arrow": "bold",
34+
"button.focused": "bg:magenta white",
35+
"error": "red bold",
36+
"input.question": "black white bold",
37+
"input.answer": "black magenta bold",
38+
"password.question": "black white bold",
39+
"password.answer": "black magenta bold",
40+
"path.question": "black white bold",
41+
"path.answer": "black magenta bold",
42+
"repassword.question": "black white bold",
43+
"repassword.answer": "black magenta bold",
44+
"text.question": "black white bold",
45+
"text.answer": "black magenta bold",
46+
"selectone.question": "black white bold",
47+
"selectone.answer": "black white bold bold",
48+
"selectone.answer radio": "black white bold bold",
49+
"selectone.answer radio-selected": "black cyan",
50+
"selectone.answer radio-checked": "black magenta bold",
51+
"selectmany.question": "black white bold",
52+
"selectmany.answer": "black white bold bold",
53+
"selectmany.answer checkbox": "black white bold bold",
54+
"selectmany.answer checkbox-selected": "black cyan",
55+
"selectmany.answer checkbox-checked": "black magenta bold"
56+
}
57+
}

0 commit comments

Comments
 (0)