@aeondave/pi-theme-1337 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +10 -0
- package/README.md +11 -4
- package/docs/architecture.md +12 -7
- package/docs/configuration.md +16 -0
- package/docs/theme-motion.md +3 -3
- package/package.json +6 -6
- package/src/config.ts +400 -357
- package/src/draft.ts +10 -0
- package/src/editor.ts +545 -443
- package/src/format.ts +464 -464
- package/src/git-status-cache.ts +198 -0
- package/src/git-status-reader.ts +28 -0
- package/src/git-status.ts +72 -0
- package/src/header-controller.ts +58 -0
- package/src/header.ts +151 -0
- package/src/index.ts +1264 -1195
- package/src/status-style.ts +26 -0
- package/src/tool-adapter.ts +491 -491
- package/src/tool-groups.ts +192 -192
- package/src/tool-lexicon.ts +200 -200
- package/src/tool-view.ts +788 -788
- package/src/width.ts +1 -1
- package/themes/1337-amber.json +94 -94
- package/themes/1337-fallout.json +94 -94
- package/themes/1337-ice.json +94 -94
- package/themes/1337-skynet-dark.pi1337 +1 -1
- package/themes/1337-skynet.json +61 -61
- package/themes/1337-skynet.pi1337 +1 -1
- package/themes/1337.json +85 -85
package/themes/1337-skynet.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://pi.dev/schemas/theme.schema.json",
|
|
3
|
-
"name": "1337-skynet",
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://pi.dev/schemas/theme.schema.json",
|
|
3
|
+
"name": "1337-skynet",
|
|
4
4
|
"vars": {
|
|
5
5
|
"void": "#0c0304",
|
|
6
6
|
"panel": "#25070a",
|
|
@@ -31,64 +31,64 @@
|
|
|
31
31
|
"think4": "#ffc5c2",
|
|
32
32
|
"think5": "#ffd8d2",
|
|
33
33
|
"think6": "#fff1ed"
|
|
34
|
-
},
|
|
35
|
-
"colors": {
|
|
36
|
-
"accent": "accent",
|
|
37
|
-
"border": "line",
|
|
34
|
+
},
|
|
35
|
+
"colors": {
|
|
36
|
+
"accent": "accent",
|
|
37
|
+
"border": "line",
|
|
38
38
|
"borderAccent": "accent",
|
|
39
|
-
"borderMuted": "line",
|
|
40
|
-
"success": "success",
|
|
41
|
-
"error": "error",
|
|
42
|
-
"warning": "warning",
|
|
43
|
-
"muted": "quiet",
|
|
44
|
-
"dim": "dim",
|
|
45
|
-
"text": "body",
|
|
46
|
-
"thinkingText": "quiet",
|
|
47
|
-
"selectedBg": "selected",
|
|
48
|
-
"userMessageBg": "panel",
|
|
49
|
-
"userMessageText": "halo",
|
|
50
|
-
"customMessageBg": "userBg",
|
|
51
|
-
"customMessageText": "body",
|
|
52
|
-
"customMessageLabel": "accent",
|
|
53
|
-
"toolPendingBg": "panel",
|
|
54
|
-
"toolSuccessBg": "okBg",
|
|
55
|
-
"toolErrorBg": "errBg",
|
|
56
|
-
"toolTitle": "halo",
|
|
57
|
-
"toolOutput": "body",
|
|
58
|
-
"mdHeading": "halo",
|
|
59
|
-
"mdLink": "accent",
|
|
60
|
-
"mdLinkUrl": "quiet",
|
|
61
|
-
"mdCode": "syn1",
|
|
62
|
-
"mdCodeBlock": "body",
|
|
39
|
+
"borderMuted": "line",
|
|
40
|
+
"success": "success",
|
|
41
|
+
"error": "error",
|
|
42
|
+
"warning": "warning",
|
|
43
|
+
"muted": "quiet",
|
|
44
|
+
"dim": "dim",
|
|
45
|
+
"text": "body",
|
|
46
|
+
"thinkingText": "quiet",
|
|
47
|
+
"selectedBg": "selected",
|
|
48
|
+
"userMessageBg": "panel",
|
|
49
|
+
"userMessageText": "halo",
|
|
50
|
+
"customMessageBg": "userBg",
|
|
51
|
+
"customMessageText": "body",
|
|
52
|
+
"customMessageLabel": "accent",
|
|
53
|
+
"toolPendingBg": "panel",
|
|
54
|
+
"toolSuccessBg": "okBg",
|
|
55
|
+
"toolErrorBg": "errBg",
|
|
56
|
+
"toolTitle": "halo",
|
|
57
|
+
"toolOutput": "body",
|
|
58
|
+
"mdHeading": "halo",
|
|
59
|
+
"mdLink": "accent",
|
|
60
|
+
"mdLinkUrl": "quiet",
|
|
61
|
+
"mdCode": "syn1",
|
|
62
|
+
"mdCodeBlock": "body",
|
|
63
63
|
"mdCodeBlockBorder": "accent",
|
|
64
|
-
"mdQuote": "quiet",
|
|
65
|
-
"mdQuoteBorder": "dim",
|
|
64
|
+
"mdQuote": "quiet",
|
|
65
|
+
"mdQuoteBorder": "dim",
|
|
66
66
|
"mdHr": "line",
|
|
67
|
-
"mdListBullet": "accent",
|
|
68
|
-
"toolDiffAdded": "success",
|
|
69
|
-
"toolDiffRemoved": "error",
|
|
70
|
-
"toolDiffContext": "diff",
|
|
71
|
-
"syntaxComment": "dim",
|
|
72
|
-
"syntaxKeyword": "accent",
|
|
73
|
-
"syntaxFunction": "halo",
|
|
74
|
-
"syntaxVariable": "body",
|
|
75
|
-
"syntaxString": "syn1",
|
|
76
|
-
"syntaxNumber": "warning",
|
|
77
|
-
"syntaxType": "syn2",
|
|
78
|
-
"syntaxOperator": "syn3",
|
|
79
|
-
"syntaxPunctuation": "syn4",
|
|
80
|
-
"thinkingOff": "think1",
|
|
81
|
-
"thinkingMinimal": "think2",
|
|
82
|
-
"thinkingLow": "think3",
|
|
83
|
-
"thinkingMedium": "think4",
|
|
84
|
-
"thinkingHigh": "think5",
|
|
85
|
-
"thinkingXhigh": "think6",
|
|
86
|
-
"bashMode": "warning"
|
|
87
|
-
},
|
|
88
|
-
"export": {
|
|
89
|
-
"pageBg": "#0c0304",
|
|
90
|
-
"cardBg": "#241216",
|
|
91
|
-
"infoBg": "#3a2025"
|
|
92
|
-
},
|
|
93
|
-
"appearance": "dark"
|
|
94
|
-
}
|
|
67
|
+
"mdListBullet": "accent",
|
|
68
|
+
"toolDiffAdded": "success",
|
|
69
|
+
"toolDiffRemoved": "error",
|
|
70
|
+
"toolDiffContext": "diff",
|
|
71
|
+
"syntaxComment": "dim",
|
|
72
|
+
"syntaxKeyword": "accent",
|
|
73
|
+
"syntaxFunction": "halo",
|
|
74
|
+
"syntaxVariable": "body",
|
|
75
|
+
"syntaxString": "syn1",
|
|
76
|
+
"syntaxNumber": "warning",
|
|
77
|
+
"syntaxType": "syn2",
|
|
78
|
+
"syntaxOperator": "syn3",
|
|
79
|
+
"syntaxPunctuation": "syn4",
|
|
80
|
+
"thinkingOff": "think1",
|
|
81
|
+
"thinkingMinimal": "think2",
|
|
82
|
+
"thinkingLow": "think3",
|
|
83
|
+
"thinkingMedium": "think4",
|
|
84
|
+
"thinkingHigh": "think5",
|
|
85
|
+
"thinkingXhigh": "think6",
|
|
86
|
+
"bashMode": "warning"
|
|
87
|
+
},
|
|
88
|
+
"export": {
|
|
89
|
+
"pageBg": "#0c0304",
|
|
90
|
+
"cardBg": "#241216",
|
|
91
|
+
"infoBg": "#3a2025"
|
|
92
|
+
},
|
|
93
|
+
"appearance": "dark"
|
|
94
|
+
}
|
package/themes/1337.json
CHANGED
|
@@ -1,95 +1,95 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://pi.dev/schemas/theme.schema.json",
|
|
3
|
-
"name": "1337",
|
|
4
|
-
"appearance": "dark",
|
|
5
|
-
"vars": {
|
|
6
|
-
"void": "#04140b",
|
|
7
|
-
"panel": "#0b2614",
|
|
8
|
-
"selected": "#123a22",
|
|
9
|
-
"line": "#25382d",
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://pi.dev/schemas/theme.schema.json",
|
|
3
|
+
"name": "1337",
|
|
4
|
+
"appearance": "dark",
|
|
5
|
+
"vars": {
|
|
6
|
+
"void": "#04140b",
|
|
7
|
+
"panel": "#0b2614",
|
|
8
|
+
"selected": "#123a22",
|
|
9
|
+
"line": "#25382d",
|
|
10
10
|
"body": "#78ef74",
|
|
11
11
|
"accent": "#ffc35c",
|
|
12
12
|
"quiet": "#75d68e",
|
|
13
13
|
"dim": "#63c67d",
|
|
14
|
-
"halo": "#c6ffd5",
|
|
15
|
-
"success": "#4bd878",
|
|
16
|
-
"amber": "#ff9c78",
|
|
17
|
-
"caution": "#ffe55c",
|
|
18
|
-
"userBg": "#0e301b",
|
|
19
|
-
"okBg": "#102b18",
|
|
20
|
-
"errBg": "#2a1a08",
|
|
21
|
-
"diff": "#55b874",
|
|
22
|
-
"green1": "#49c96d",
|
|
23
|
-
"green2": "#62dc83",
|
|
24
|
-
"green3": "#80f0a1",
|
|
25
|
-
"green4": "#58d27a",
|
|
26
|
-
"green5": "#6de58f",
|
|
27
|
-
"green6": "#93f7ae",
|
|
28
|
-
"green7": "#55b874",
|
|
29
|
-
"green8": "#72d18f",
|
|
14
|
+
"halo": "#c6ffd5",
|
|
15
|
+
"success": "#4bd878",
|
|
16
|
+
"amber": "#ff9c78",
|
|
17
|
+
"caution": "#ffe55c",
|
|
18
|
+
"userBg": "#0e301b",
|
|
19
|
+
"okBg": "#102b18",
|
|
20
|
+
"errBg": "#2a1a08",
|
|
21
|
+
"diff": "#55b874",
|
|
22
|
+
"green1": "#49c96d",
|
|
23
|
+
"green2": "#62dc83",
|
|
24
|
+
"green3": "#80f0a1",
|
|
25
|
+
"green4": "#58d27a",
|
|
26
|
+
"green5": "#6de58f",
|
|
27
|
+
"green6": "#93f7ae",
|
|
28
|
+
"green7": "#55b874",
|
|
29
|
+
"green8": "#72d18f",
|
|
30
30
|
"think1": "#78ef74",
|
|
31
31
|
"think2": "#86f77d",
|
|
32
32
|
"think3": "#91f78e",
|
|
33
33
|
"think4": "#9df8a4",
|
|
34
34
|
"think5": "#aeffbd",
|
|
35
35
|
"think6": "#c6ffd5"
|
|
36
|
-
},
|
|
37
|
-
"colors": {
|
|
38
|
-
"accent": "accent",
|
|
39
|
-
"border": "line",
|
|
40
|
-
"borderAccent": "halo",
|
|
41
|
-
"borderMuted": "line",
|
|
42
|
-
"success": "success",
|
|
43
|
-
"error": "amber",
|
|
44
|
-
"warning": "caution",
|
|
45
|
-
"muted": "quiet",
|
|
46
|
-
"dim": "dim",
|
|
47
|
-
"text": "body",
|
|
48
|
-
"thinkingText": "quiet",
|
|
49
|
-
"selectedBg": "selected",
|
|
50
|
-
"userMessageBg": "panel",
|
|
51
|
-
"userMessageText": "halo",
|
|
52
|
-
"customMessageBg": "userBg",
|
|
53
|
-
"customMessageText": "body",
|
|
54
|
-
"customMessageLabel": "accent",
|
|
55
|
-
"toolPendingBg": "panel",
|
|
56
|
-
"toolSuccessBg": "okBg",
|
|
57
|
-
"toolErrorBg": "errBg",
|
|
58
|
-
"toolTitle": "halo",
|
|
59
|
-
"toolOutput": "body",
|
|
60
|
-
"mdHeading": "halo",
|
|
61
|
-
"mdLink": "accent",
|
|
62
|
-
"mdLinkUrl": "quiet",
|
|
63
|
-
"mdCode": "green7",
|
|
64
|
-
"mdCodeBlock": "body",
|
|
65
|
-
"mdCodeBlockBorder": "line",
|
|
66
|
-
"mdQuote": "quiet",
|
|
67
|
-
"mdQuoteBorder": "line",
|
|
68
|
-
"mdHr": "line",
|
|
69
|
-
"mdListBullet": "accent",
|
|
70
|
-
"toolDiffAdded": "success",
|
|
71
|
-
"toolDiffRemoved": "amber",
|
|
72
|
-
"toolDiffContext": "diff",
|
|
73
|
-
"syntaxComment": "quiet",
|
|
74
|
-
"syntaxKeyword": "accent",
|
|
75
|
-
"syntaxFunction": "halo",
|
|
76
|
-
"syntaxVariable": "body",
|
|
77
|
-
"syntaxString": "green1",
|
|
78
|
-
"syntaxNumber": "caution",
|
|
79
|
-
"syntaxType": "green2",
|
|
80
|
-
"syntaxOperator": "green3",
|
|
81
|
-
"syntaxPunctuation": "green4",
|
|
82
|
-
"thinkingOff": "think1",
|
|
83
|
-
"thinkingMinimal": "think2",
|
|
84
|
-
"thinkingLow": "think3",
|
|
85
|
-
"thinkingMedium": "think4",
|
|
86
|
-
"thinkingHigh": "think5",
|
|
87
|
-
"thinkingXhigh": "think6",
|
|
88
|
-
"bashMode": "caution"
|
|
89
|
-
},
|
|
90
|
-
"export": {
|
|
91
|
-
"pageBg": "#04140b",
|
|
92
|
-
"cardBg": "#0b2614",
|
|
93
|
-
"infoBg": "#0e301b"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
36
|
+
},
|
|
37
|
+
"colors": {
|
|
38
|
+
"accent": "accent",
|
|
39
|
+
"border": "line",
|
|
40
|
+
"borderAccent": "halo",
|
|
41
|
+
"borderMuted": "line",
|
|
42
|
+
"success": "success",
|
|
43
|
+
"error": "amber",
|
|
44
|
+
"warning": "caution",
|
|
45
|
+
"muted": "quiet",
|
|
46
|
+
"dim": "dim",
|
|
47
|
+
"text": "body",
|
|
48
|
+
"thinkingText": "quiet",
|
|
49
|
+
"selectedBg": "selected",
|
|
50
|
+
"userMessageBg": "panel",
|
|
51
|
+
"userMessageText": "halo",
|
|
52
|
+
"customMessageBg": "userBg",
|
|
53
|
+
"customMessageText": "body",
|
|
54
|
+
"customMessageLabel": "accent",
|
|
55
|
+
"toolPendingBg": "panel",
|
|
56
|
+
"toolSuccessBg": "okBg",
|
|
57
|
+
"toolErrorBg": "errBg",
|
|
58
|
+
"toolTitle": "halo",
|
|
59
|
+
"toolOutput": "body",
|
|
60
|
+
"mdHeading": "halo",
|
|
61
|
+
"mdLink": "accent",
|
|
62
|
+
"mdLinkUrl": "quiet",
|
|
63
|
+
"mdCode": "green7",
|
|
64
|
+
"mdCodeBlock": "body",
|
|
65
|
+
"mdCodeBlockBorder": "line",
|
|
66
|
+
"mdQuote": "quiet",
|
|
67
|
+
"mdQuoteBorder": "line",
|
|
68
|
+
"mdHr": "line",
|
|
69
|
+
"mdListBullet": "accent",
|
|
70
|
+
"toolDiffAdded": "success",
|
|
71
|
+
"toolDiffRemoved": "amber",
|
|
72
|
+
"toolDiffContext": "diff",
|
|
73
|
+
"syntaxComment": "quiet",
|
|
74
|
+
"syntaxKeyword": "accent",
|
|
75
|
+
"syntaxFunction": "halo",
|
|
76
|
+
"syntaxVariable": "body",
|
|
77
|
+
"syntaxString": "green1",
|
|
78
|
+
"syntaxNumber": "caution",
|
|
79
|
+
"syntaxType": "green2",
|
|
80
|
+
"syntaxOperator": "green3",
|
|
81
|
+
"syntaxPunctuation": "green4",
|
|
82
|
+
"thinkingOff": "think1",
|
|
83
|
+
"thinkingMinimal": "think2",
|
|
84
|
+
"thinkingLow": "think3",
|
|
85
|
+
"thinkingMedium": "think4",
|
|
86
|
+
"thinkingHigh": "think5",
|
|
87
|
+
"thinkingXhigh": "think6",
|
|
88
|
+
"bashMode": "caution"
|
|
89
|
+
},
|
|
90
|
+
"export": {
|
|
91
|
+
"pageBg": "#04140b",
|
|
92
|
+
"cardBg": "#0b2614",
|
|
93
|
+
"infoBg": "#0e301b"
|
|
94
|
+
}
|
|
95
|
+
}
|