@carlesandres/house 0.4.13 → 0.5.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.
Files changed (86) hide show
  1. package/CHANGELOG.md +32 -2
  2. package/README.md +10 -8
  3. package/dist/bin.js +92 -0
  4. package/dist/index.js +10005 -0
  5. package/package.json +15 -3
  6. package/src/Browser.tsx +0 -1210
  7. package/src/CommandPalette.tsx +0 -214
  8. package/src/Footer.tsx +0 -258
  9. package/src/Header.tsx +0 -71
  10. package/src/PromptRow.tsx +0 -51
  11. package/src/Spinner.tsx +0 -39
  12. package/src/StatusIndicator.tsx +0 -55
  13. package/src/StatusPopover.tsx +0 -166
  14. package/src/brand.ts +0 -7
  15. package/src/cli/argv.ts +0 -179
  16. package/src/commands/buildCommands.ts +0 -98
  17. package/src/commands/paletteOnlyCommands.ts +0 -27
  18. package/src/commands/score.ts +0 -78
  19. package/src/commands/types.ts +0 -26
  20. package/src/config/load.ts +0 -381
  21. package/src/config/save.ts +0 -95
  22. package/src/discovery/filter.ts +0 -148
  23. package/src/discovery/show.ts +0 -48
  24. package/src/discovery/walk.ts +0 -209
  25. package/src/index.tsx +0 -464
  26. package/src/io/clipboard.ts +0 -53
  27. package/src/io/editor.ts +0 -162
  28. package/src/io/readFile.ts +0 -14
  29. package/src/keymap/browser.ts +0 -335
  30. package/src/keymap/displayKey.ts +0 -17
  31. package/src/keymap/keymap.ts +0 -95
  32. package/src/layout/resolve.ts +0 -52
  33. package/src/layout/sidebarEmptyState.ts +0 -7
  34. package/src/layout/sidebarRow.ts +0 -69
  35. package/src/markdown/frontmatter.ts +0 -62
  36. package/src/serve/css.ts +0 -120
  37. package/src/serve/openBrowser.ts +0 -19
  38. package/src/serve/render.ts +0 -56
  39. package/src/serve/server.ts +0 -166
  40. package/src/theme/atom.ts +0 -23
  41. package/src/theme/colors.ts +0 -86
  42. package/src/theme/loader.ts +0 -110
  43. package/src/theme/registry.ts +0 -12
  44. package/src/theme/resolve.ts +0 -168
  45. package/src/theme/themes/aura.json +0 -58
  46. package/src/theme/themes/ayu.json +0 -69
  47. package/src/theme/themes/carbonfox.json +0 -201
  48. package/src/theme/themes/catppuccin-frappe.json +0 -186
  49. package/src/theme/themes/catppuccin-macchiato.json +0 -186
  50. package/src/theme/themes/catppuccin.json +0 -212
  51. package/src/theme/themes/cobalt2.json +0 -181
  52. package/src/theme/themes/cursor.json +0 -202
  53. package/src/theme/themes/dracula.json +0 -172
  54. package/src/theme/themes/everforest.json +0 -194
  55. package/src/theme/themes/flexoki.json +0 -190
  56. package/src/theme/themes/github.json +0 -186
  57. package/src/theme/themes/gruvbox.json +0 -195
  58. package/src/theme/themes/kanagawa.json +0 -180
  59. package/src/theme/themes/lucent-orng.json +0 -186
  60. package/src/theme/themes/material.json +0 -188
  61. package/src/theme/themes/matrix.json +0 -180
  62. package/src/theme/themes/mercury.json +0 -198
  63. package/src/theme/themes/monokai.json +0 -174
  64. package/src/theme/themes/nightowl.json +0 -174
  65. package/src/theme/themes/nord.json +0 -176
  66. package/src/theme/themes/one-dark.json +0 -184
  67. package/src/theme/themes/opencode.json +0 -198
  68. package/src/theme/themes/orng.json +0 -202
  69. package/src/theme/themes/osaka-jade.json +0 -193
  70. package/src/theme/themes/palenight.json +0 -175
  71. package/src/theme/themes/rosepine.json +0 -187
  72. package/src/theme/themes/solarized.json +0 -180
  73. package/src/theme/themes/synthwave84.json +0 -179
  74. package/src/theme/themes/tokyonight.json +0 -196
  75. package/src/theme/themes/vercel.json +0 -198
  76. package/src/theme/themes/vesper.json +0 -171
  77. package/src/theme/themes/zenburn.json +0 -176
  78. package/src/theme/types.ts +0 -115
  79. package/src/tips.ts +0 -88
  80. package/src/ui/middleTruncate.ts +0 -27
  81. package/src/update/cache.ts +0 -77
  82. package/src/update/check.ts +0 -165
  83. package/src/update/compare.ts +0 -41
  84. package/src/update/notice.ts +0 -29
  85. package/src/update/runtime.ts +0 -48
  86. package/src/update/useUpdateNotice.ts +0 -24
@@ -1,181 +0,0 @@
1
- {
2
- "defs": {
3
- "background": "#193549",
4
- "backgroundAlt": "#122738",
5
- "backgroundPanel": "#1f4662",
6
- "foreground": "#ffffff",
7
- "foregroundMuted": "#adb7c9",
8
- "yellow": "#ffc600",
9
- "yellowBright": "#ffe14c",
10
- "orange": "#ff9d00",
11
- "orangeBright": "#ffb454",
12
- "mint": "#2affdf",
13
- "mintBright": "#7efff5",
14
- "blue": "#0088ff",
15
- "blueBright": "#5cb7ff",
16
- "pink": "#ff628c",
17
- "pinkBright": "#ff86a5",
18
- "green": "#9eff80",
19
- "greenBright": "#b9ff9f",
20
- "purple": "#9a5feb",
21
- "purpleBright": "#b88cfd",
22
- "red": "#ff0088",
23
- "redBright": "#ff5fb3"
24
- },
25
- "theme": {
26
- "primary": {
27
- "dark": "blue",
28
- "light": "#0066cc"
29
- },
30
- "secondary": {
31
- "dark": "purple",
32
- "light": "#7c4dff"
33
- },
34
- "accent": {
35
- "dark": "mint",
36
- "light": "#00acc1"
37
- },
38
- "error": {
39
- "dark": "red",
40
- "light": "#e91e63"
41
- },
42
- "warning": {
43
- "dark": "yellow",
44
- "light": "#ff9800"
45
- },
46
- "success": {
47
- "dark": "green",
48
- "light": "#4caf50"
49
- },
50
- "info": {
51
- "dark": "orange",
52
- "light": "#ff5722"
53
- },
54
- "text": {
55
- "dark": "foreground",
56
- "light": "#193549"
57
- },
58
- "textMuted": {
59
- "dark": "foregroundMuted",
60
- "light": "#5c6b7d"
61
- },
62
- "background": {
63
- "dark": "#193549",
64
- "light": "#ffffff"
65
- },
66
- "backgroundPanel": {
67
- "dark": "#122738",
68
- "light": "#f5f7fa"
69
- },
70
- "backgroundElement": {
71
- "dark": "#1f4662",
72
- "light": "#e8ecf1"
73
- },
74
- "border": {
75
- "dark": "#1f4662",
76
- "light": "#d3dae3"
77
- },
78
- "borderActive": {
79
- "dark": "blue",
80
- "light": "#0066cc"
81
- },
82
- "borderSubtle": {
83
- "dark": "#0e1e2e",
84
- "light": "#e8ecf1"
85
- },
86
- "markdownText": {
87
- "dark": "foreground",
88
- "light": "#193549"
89
- },
90
- "markdownHeading": {
91
- "dark": "yellow",
92
- "light": "#ff9800"
93
- },
94
- "markdownLink": {
95
- "dark": "blue",
96
- "light": "#0066cc"
97
- },
98
- "markdownLinkText": {
99
- "dark": "mint",
100
- "light": "#00acc1"
101
- },
102
- "markdownCode": {
103
- "dark": "green",
104
- "light": "#4caf50"
105
- },
106
- "markdownBlockQuote": {
107
- "dark": "foregroundMuted",
108
- "light": "#5c6b7d"
109
- },
110
- "markdownEmph": {
111
- "dark": "orange",
112
- "light": "#ff5722"
113
- },
114
- "markdownStrong": {
115
- "dark": "pink",
116
- "light": "#e91e63"
117
- },
118
- "markdownHorizontalRule": {
119
- "dark": "#2d5a7b",
120
- "light": "#d3dae3"
121
- },
122
- "markdownListItem": {
123
- "dark": "blue",
124
- "light": "#0066cc"
125
- },
126
- "markdownListEnumeration": {
127
- "dark": "mint",
128
- "light": "#00acc1"
129
- },
130
- "markdownImage": {
131
- "dark": "blue",
132
- "light": "#0066cc"
133
- },
134
- "markdownImageText": {
135
- "dark": "mint",
136
- "light": "#00acc1"
137
- },
138
- "markdownCodeBlock": {
139
- "dark": "foreground",
140
- "light": "#193549"
141
- },
142
- "syntaxComment": {
143
- "dark": "#0088ff",
144
- "light": "#5c6b7d"
145
- },
146
- "syntaxKeyword": {
147
- "dark": "orange",
148
- "light": "#ff5722"
149
- },
150
- "syntaxFunction": {
151
- "dark": "yellow",
152
- "light": "#ff9800"
153
- },
154
- "syntaxVariable": {
155
- "dark": "foreground",
156
- "light": "#193549"
157
- },
158
- "syntaxString": {
159
- "dark": "green",
160
- "light": "#4caf50"
161
- },
162
- "syntaxNumber": {
163
- "dark": "pink",
164
- "light": "#e91e63"
165
- },
166
- "syntaxType": {
167
- "dark": "mint",
168
- "light": "#00acc1"
169
- },
170
- "syntaxOperator": {
171
- "dark": "orange",
172
- "light": "#ff5722"
173
- },
174
- "syntaxPunctuation": {
175
- "dark": "foreground",
176
- "light": "#193549"
177
- }
178
- },
179
- "name": "Cobalt2",
180
- "$schema": "../../../schema/house-theme.schema.json"
181
- }
@@ -1,202 +0,0 @@
1
- {
2
- "defs": {
3
- "darkBg": "#181818",
4
- "darkPanel": "#141414",
5
- "darkElement": "#262626",
6
- "darkFg": "#e4e4e4",
7
- "darkMuted": "#e4e4e45e",
8
- "darkBorder": "#e4e4e413",
9
- "darkBorderActive": "#e4e4e426",
10
- "darkCyan": "#88c0d0",
11
- "darkBlue": "#81a1c1",
12
- "darkGreen": "#3fa266",
13
- "darkGreenBright": "#70b489",
14
- "darkRed": "#e34671",
15
- "darkRedBright": "#fc6b83",
16
- "darkYellow": "#f1b467",
17
- "darkOrange": "#d2943e",
18
- "darkPink": "#E394DC",
19
- "darkPurple": "#AAA0FA",
20
- "darkTeal": "#82D2CE",
21
- "darkSyntaxYellow": "#F8C762",
22
- "darkSyntaxOrange": "#EFB080",
23
- "darkSyntaxGreen": "#A8CC7C",
24
- "darkSyntaxBlue": "#87C3FF",
25
- "lightBg": "#fcfcfc",
26
- "lightPanel": "#f3f3f3",
27
- "lightElement": "#ededed",
28
- "lightFg": "#141414",
29
- "lightMuted": "#141414ad",
30
- "lightBorder": "#14141413",
31
- "lightBorderActive": "#14141426",
32
- "lightTeal": "#6f9ba6",
33
- "lightBlue": "#3c7cab",
34
- "lightBlueDark": "#206595",
35
- "lightGreen": "#1f8a65",
36
- "lightGreenBright": "#55a583",
37
- "lightRed": "#cf2d56",
38
- "lightRedBright": "#e75e78",
39
- "lightOrange": "#db704b",
40
- "lightYellow": "#c08532",
41
- "lightPurple": "#9e94d5",
42
- "lightPurpleDark": "#6049b3",
43
- "lightPink": "#b8448b",
44
- "lightMagenta": "#b3003f"
45
- },
46
- "theme": {
47
- "primary": {
48
- "dark": "darkCyan",
49
- "light": "lightTeal"
50
- },
51
- "secondary": {
52
- "dark": "darkBlue",
53
- "light": "lightBlue"
54
- },
55
- "accent": {
56
- "dark": "darkCyan",
57
- "light": "lightTeal"
58
- },
59
- "error": {
60
- "dark": "darkRed",
61
- "light": "lightRed"
62
- },
63
- "warning": {
64
- "dark": "darkYellow",
65
- "light": "lightOrange"
66
- },
67
- "success": {
68
- "dark": "darkGreen",
69
- "light": "lightGreen"
70
- },
71
- "info": {
72
- "dark": "darkBlue",
73
- "light": "lightBlue"
74
- },
75
- "text": {
76
- "dark": "darkFg",
77
- "light": "lightFg"
78
- },
79
- "textMuted": {
80
- "dark": "darkMuted",
81
- "light": "lightMuted"
82
- },
83
- "background": {
84
- "dark": "darkBg",
85
- "light": "lightBg"
86
- },
87
- "backgroundPanel": {
88
- "dark": "darkPanel",
89
- "light": "lightPanel"
90
- },
91
- "backgroundElement": {
92
- "dark": "darkElement",
93
- "light": "lightElement"
94
- },
95
- "border": {
96
- "dark": "darkBorder",
97
- "light": "lightBorder"
98
- },
99
- "borderActive": {
100
- "dark": "darkCyan",
101
- "light": "lightTeal"
102
- },
103
- "borderSubtle": {
104
- "dark": "#0f0f0f",
105
- "light": "#e0e0e0"
106
- },
107
- "markdownText": {
108
- "dark": "darkFg",
109
- "light": "lightFg"
110
- },
111
- "markdownHeading": {
112
- "dark": "darkPurple",
113
- "light": "lightBlueDark"
114
- },
115
- "markdownLink": {
116
- "dark": "darkTeal",
117
- "light": "lightBlueDark"
118
- },
119
- "markdownLinkText": {
120
- "dark": "darkBlue",
121
- "light": "lightMuted"
122
- },
123
- "markdownCode": {
124
- "dark": "darkPink",
125
- "light": "lightGreen"
126
- },
127
- "markdownBlockQuote": {
128
- "dark": "darkMuted",
129
- "light": "lightMuted"
130
- },
131
- "markdownEmph": {
132
- "dark": "darkTeal",
133
- "light": "lightFg"
134
- },
135
- "markdownStrong": {
136
- "dark": "darkSyntaxYellow",
137
- "light": "lightFg"
138
- },
139
- "markdownHorizontalRule": {
140
- "dark": "darkMuted",
141
- "light": "lightMuted"
142
- },
143
- "markdownListItem": {
144
- "dark": "darkFg",
145
- "light": "lightFg"
146
- },
147
- "markdownListEnumeration": {
148
- "dark": "darkCyan",
149
- "light": "lightMuted"
150
- },
151
- "markdownImage": {
152
- "dark": "darkCyan",
153
- "light": "lightBlueDark"
154
- },
155
- "markdownImageText": {
156
- "dark": "darkBlue",
157
- "light": "lightMuted"
158
- },
159
- "markdownCodeBlock": {
160
- "dark": "darkFg",
161
- "light": "lightFg"
162
- },
163
- "syntaxComment": {
164
- "dark": "darkMuted",
165
- "light": "lightMuted"
166
- },
167
- "syntaxKeyword": {
168
- "dark": "darkTeal",
169
- "light": "lightMagenta"
170
- },
171
- "syntaxFunction": {
172
- "dark": "darkSyntaxOrange",
173
- "light": "lightOrange"
174
- },
175
- "syntaxVariable": {
176
- "dark": "darkFg",
177
- "light": "lightFg"
178
- },
179
- "syntaxString": {
180
- "dark": "darkPink",
181
- "light": "lightPurple"
182
- },
183
- "syntaxNumber": {
184
- "dark": "darkSyntaxYellow",
185
- "light": "lightPink"
186
- },
187
- "syntaxType": {
188
- "dark": "darkSyntaxOrange",
189
- "light": "lightBlueDark"
190
- },
191
- "syntaxOperator": {
192
- "dark": "darkFg",
193
- "light": "lightFg"
194
- },
195
- "syntaxPunctuation": {
196
- "dark": "darkFg",
197
- "light": "lightFg"
198
- }
199
- },
200
- "name": "Cursor",
201
- "$schema": "../../../schema/house-theme.schema.json"
202
- }
@@ -1,172 +0,0 @@
1
- {
2
- "defs": {
3
- "background": "#282a36",
4
- "currentLine": "#44475a",
5
- "selection": "#44475a",
6
- "foreground": "#f8f8f2",
7
- "comment": "#6272a4",
8
- "cyan": "#8be9fd",
9
- "green": "#50fa7b",
10
- "orange": "#ffb86c",
11
- "pink": "#ff79c6",
12
- "purple": "#bd93f9",
13
- "red": "#ff5555",
14
- "yellow": "#f1fa8c"
15
- },
16
- "theme": {
17
- "primary": {
18
- "dark": "purple",
19
- "light": "purple"
20
- },
21
- "secondary": {
22
- "dark": "pink",
23
- "light": "pink"
24
- },
25
- "accent": {
26
- "dark": "cyan",
27
- "light": "cyan"
28
- },
29
- "error": {
30
- "dark": "red",
31
- "light": "red"
32
- },
33
- "warning": {
34
- "dark": "yellow",
35
- "light": "yellow"
36
- },
37
- "success": {
38
- "dark": "green",
39
- "light": "green"
40
- },
41
- "info": {
42
- "dark": "orange",
43
- "light": "orange"
44
- },
45
- "text": {
46
- "dark": "foreground",
47
- "light": "#282a36"
48
- },
49
- "textMuted": {
50
- "dark": "comment",
51
- "light": "#6272a4"
52
- },
53
- "background": {
54
- "dark": "#282a36",
55
- "light": "#f8f8f2"
56
- },
57
- "backgroundPanel": {
58
- "dark": "#21222c",
59
- "light": "#e8e8e2"
60
- },
61
- "backgroundElement": {
62
- "dark": "currentLine",
63
- "light": "#d8d8d2"
64
- },
65
- "border": {
66
- "dark": "currentLine",
67
- "light": "#c8c8c2"
68
- },
69
- "borderActive": {
70
- "dark": "purple",
71
- "light": "purple"
72
- },
73
- "borderSubtle": {
74
- "dark": "#191a21",
75
- "light": "#e0e0e0"
76
- },
77
- "markdownText": {
78
- "dark": "foreground",
79
- "light": "#282a36"
80
- },
81
- "markdownHeading": {
82
- "dark": "purple",
83
- "light": "purple"
84
- },
85
- "markdownLink": {
86
- "dark": "cyan",
87
- "light": "cyan"
88
- },
89
- "markdownLinkText": {
90
- "dark": "pink",
91
- "light": "pink"
92
- },
93
- "markdownCode": {
94
- "dark": "green",
95
- "light": "green"
96
- },
97
- "markdownBlockQuote": {
98
- "dark": "comment",
99
- "light": "#6272a4"
100
- },
101
- "markdownEmph": {
102
- "dark": "yellow",
103
- "light": "yellow"
104
- },
105
- "markdownStrong": {
106
- "dark": "orange",
107
- "light": "orange"
108
- },
109
- "markdownHorizontalRule": {
110
- "dark": "comment",
111
- "light": "#6272a4"
112
- },
113
- "markdownListItem": {
114
- "dark": "purple",
115
- "light": "purple"
116
- },
117
- "markdownListEnumeration": {
118
- "dark": "cyan",
119
- "light": "cyan"
120
- },
121
- "markdownImage": {
122
- "dark": "cyan",
123
- "light": "cyan"
124
- },
125
- "markdownImageText": {
126
- "dark": "pink",
127
- "light": "pink"
128
- },
129
- "markdownCodeBlock": {
130
- "dark": "foreground",
131
- "light": "#282a36"
132
- },
133
- "syntaxComment": {
134
- "dark": "comment",
135
- "light": "#6272a4"
136
- },
137
- "syntaxKeyword": {
138
- "dark": "pink",
139
- "light": "pink"
140
- },
141
- "syntaxFunction": {
142
- "dark": "green",
143
- "light": "green"
144
- },
145
- "syntaxVariable": {
146
- "dark": "foreground",
147
- "light": "#282a36"
148
- },
149
- "syntaxString": {
150
- "dark": "yellow",
151
- "light": "yellow"
152
- },
153
- "syntaxNumber": {
154
- "dark": "purple",
155
- "light": "purple"
156
- },
157
- "syntaxType": {
158
- "dark": "cyan",
159
- "light": "cyan"
160
- },
161
- "syntaxOperator": {
162
- "dark": "pink",
163
- "light": "pink"
164
- },
165
- "syntaxPunctuation": {
166
- "dark": "foreground",
167
- "light": "#282a36"
168
- }
169
- },
170
- "name": "Dracula",
171
- "$schema": "../../../schema/house-theme.schema.json"
172
- }