@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,186 +0,0 @@
1
- {
2
- "defs": {
3
- "frappeRosewater": "#f2d5cf",
4
- "frappeFlamingo": "#eebebe",
5
- "frappePink": "#f4b8e4",
6
- "frappeMauve": "#ca9ee6",
7
- "frappeRed": "#e78284",
8
- "frappeMaroon": "#ea999c",
9
- "frappePeach": "#ef9f76",
10
- "frappeYellow": "#e5c890",
11
- "frappeGreen": "#a6d189",
12
- "frappeTeal": "#81c8be",
13
- "frappeSky": "#99d1db",
14
- "frappeSapphire": "#85c1dc",
15
- "frappeBlue": "#8da4e2",
16
- "frappeLavender": "#babbf1",
17
- "frappeText": "#c6d0f5",
18
- "frappeSubtext1": "#b5bfe2",
19
- "frappeSubtext0": "#a5adce",
20
- "frappeOverlay2": "#949cb8",
21
- "frappeOverlay1": "#838ba7",
22
- "frappeOverlay0": "#737994",
23
- "frappeSurface2": "#626880",
24
- "frappeSurface1": "#51576d",
25
- "frappeSurface0": "#414559",
26
- "frappeBase": "#303446",
27
- "frappeMantle": "#292c3c",
28
- "frappeCrust": "#232634"
29
- },
30
- "theme": {
31
- "primary": {
32
- "dark": "frappeBlue",
33
- "light": "frappeBlue"
34
- },
35
- "secondary": {
36
- "dark": "frappeMauve",
37
- "light": "frappeMauve"
38
- },
39
- "accent": {
40
- "dark": "frappePink",
41
- "light": "frappePink"
42
- },
43
- "error": {
44
- "dark": "frappeRed",
45
- "light": "frappeRed"
46
- },
47
- "warning": {
48
- "dark": "frappeYellow",
49
- "light": "frappeYellow"
50
- },
51
- "success": {
52
- "dark": "frappeGreen",
53
- "light": "frappeGreen"
54
- },
55
- "info": {
56
- "dark": "frappeTeal",
57
- "light": "frappeTeal"
58
- },
59
- "text": {
60
- "dark": "frappeText",
61
- "light": "frappeText"
62
- },
63
- "textMuted": {
64
- "dark": "frappeOverlay2",
65
- "light": "frappeOverlay2"
66
- },
67
- "background": {
68
- "dark": "frappeBase",
69
- "light": "frappeBase"
70
- },
71
- "backgroundPanel": {
72
- "dark": "frappeMantle",
73
- "light": "frappeMantle"
74
- },
75
- "backgroundElement": {
76
- "dark": "frappeCrust",
77
- "light": "frappeCrust"
78
- },
79
- "border": {
80
- "dark": "frappeSurface0",
81
- "light": "frappeSurface0"
82
- },
83
- "borderActive": {
84
- "dark": "frappeSurface1",
85
- "light": "frappeSurface1"
86
- },
87
- "borderSubtle": {
88
- "dark": "frappeSurface2",
89
- "light": "frappeSurface2"
90
- },
91
- "markdownText": {
92
- "dark": "frappeText",
93
- "light": "frappeText"
94
- },
95
- "markdownHeading": {
96
- "dark": "frappeMauve",
97
- "light": "frappeMauve"
98
- },
99
- "markdownLink": {
100
- "dark": "frappeBlue",
101
- "light": "frappeBlue"
102
- },
103
- "markdownLinkText": {
104
- "dark": "frappeSky",
105
- "light": "frappeSky"
106
- },
107
- "markdownCode": {
108
- "dark": "frappeGreen",
109
- "light": "frappeGreen"
110
- },
111
- "markdownBlockQuote": {
112
- "dark": "frappeYellow",
113
- "light": "frappeYellow"
114
- },
115
- "markdownEmph": {
116
- "dark": "frappeYellow",
117
- "light": "frappeYellow"
118
- },
119
- "markdownStrong": {
120
- "dark": "frappePeach",
121
- "light": "frappePeach"
122
- },
123
- "markdownHorizontalRule": {
124
- "dark": "frappeSubtext0",
125
- "light": "frappeSubtext0"
126
- },
127
- "markdownListItem": {
128
- "dark": "frappeBlue",
129
- "light": "frappeBlue"
130
- },
131
- "markdownListEnumeration": {
132
- "dark": "frappeSky",
133
- "light": "frappeSky"
134
- },
135
- "markdownImage": {
136
- "dark": "frappeBlue",
137
- "light": "frappeBlue"
138
- },
139
- "markdownImageText": {
140
- "dark": "frappeSky",
141
- "light": "frappeSky"
142
- },
143
- "markdownCodeBlock": {
144
- "dark": "frappeText",
145
- "light": "frappeText"
146
- },
147
- "syntaxComment": {
148
- "dark": "frappeOverlay2",
149
- "light": "frappeOverlay2"
150
- },
151
- "syntaxKeyword": {
152
- "dark": "frappeMauve",
153
- "light": "frappeMauve"
154
- },
155
- "syntaxFunction": {
156
- "dark": "frappeBlue",
157
- "light": "frappeBlue"
158
- },
159
- "syntaxVariable": {
160
- "dark": "frappeRed",
161
- "light": "frappeRed"
162
- },
163
- "syntaxString": {
164
- "dark": "frappeGreen",
165
- "light": "frappeGreen"
166
- },
167
- "syntaxNumber": {
168
- "dark": "frappePeach",
169
- "light": "frappePeach"
170
- },
171
- "syntaxType": {
172
- "dark": "frappeYellow",
173
- "light": "frappeYellow"
174
- },
175
- "syntaxOperator": {
176
- "dark": "frappeSky",
177
- "light": "frappeSky"
178
- },
179
- "syntaxPunctuation": {
180
- "dark": "frappeText",
181
- "light": "frappeText"
182
- }
183
- },
184
- "name": "Catppuccin Frappe",
185
- "$schema": "../../../schema/house-theme.schema.json"
186
- }
@@ -1,186 +0,0 @@
1
- {
2
- "defs": {
3
- "macRosewater": "#f4dbd6",
4
- "macFlamingo": "#f0c6c6",
5
- "macPink": "#f5bde6",
6
- "macMauve": "#c6a0f6",
7
- "macRed": "#ed8796",
8
- "macMaroon": "#ee99a0",
9
- "macPeach": "#f5a97f",
10
- "macYellow": "#eed49f",
11
- "macGreen": "#a6da95",
12
- "macTeal": "#8bd5ca",
13
- "macSky": "#91d7e3",
14
- "macSapphire": "#7dc4e4",
15
- "macBlue": "#8aadf4",
16
- "macLavender": "#b7bdf8",
17
- "macText": "#cad3f5",
18
- "macSubtext1": "#b8c0e0",
19
- "macSubtext0": "#a5adcb",
20
- "macOverlay2": "#939ab7",
21
- "macOverlay1": "#8087a2",
22
- "macOverlay0": "#6e738d",
23
- "macSurface2": "#5b6078",
24
- "macSurface1": "#494d64",
25
- "macSurface0": "#363a4f",
26
- "macBase": "#24273a",
27
- "macMantle": "#1e2030",
28
- "macCrust": "#181926"
29
- },
30
- "theme": {
31
- "primary": {
32
- "dark": "macBlue",
33
- "light": "macBlue"
34
- },
35
- "secondary": {
36
- "dark": "macMauve",
37
- "light": "macMauve"
38
- },
39
- "accent": {
40
- "dark": "macPink",
41
- "light": "macPink"
42
- },
43
- "error": {
44
- "dark": "macRed",
45
- "light": "macRed"
46
- },
47
- "warning": {
48
- "dark": "macYellow",
49
- "light": "macYellow"
50
- },
51
- "success": {
52
- "dark": "macGreen",
53
- "light": "macGreen"
54
- },
55
- "info": {
56
- "dark": "macTeal",
57
- "light": "macTeal"
58
- },
59
- "text": {
60
- "dark": "macText",
61
- "light": "macText"
62
- },
63
- "textMuted": {
64
- "dark": "macOverlay2",
65
- "light": "macOverlay2"
66
- },
67
- "background": {
68
- "dark": "macBase",
69
- "light": "macBase"
70
- },
71
- "backgroundPanel": {
72
- "dark": "macMantle",
73
- "light": "macMantle"
74
- },
75
- "backgroundElement": {
76
- "dark": "macCrust",
77
- "light": "macCrust"
78
- },
79
- "border": {
80
- "dark": "macSurface0",
81
- "light": "macSurface0"
82
- },
83
- "borderActive": {
84
- "dark": "macSurface1",
85
- "light": "macSurface1"
86
- },
87
- "borderSubtle": {
88
- "dark": "macSurface2",
89
- "light": "macSurface2"
90
- },
91
- "markdownText": {
92
- "dark": "macText",
93
- "light": "macText"
94
- },
95
- "markdownHeading": {
96
- "dark": "macMauve",
97
- "light": "macMauve"
98
- },
99
- "markdownLink": {
100
- "dark": "macBlue",
101
- "light": "macBlue"
102
- },
103
- "markdownLinkText": {
104
- "dark": "macSky",
105
- "light": "macSky"
106
- },
107
- "markdownCode": {
108
- "dark": "macGreen",
109
- "light": "macGreen"
110
- },
111
- "markdownBlockQuote": {
112
- "dark": "macYellow",
113
- "light": "macYellow"
114
- },
115
- "markdownEmph": {
116
- "dark": "macYellow",
117
- "light": "macYellow"
118
- },
119
- "markdownStrong": {
120
- "dark": "macPeach",
121
- "light": "macPeach"
122
- },
123
- "markdownHorizontalRule": {
124
- "dark": "macSubtext0",
125
- "light": "macSubtext0"
126
- },
127
- "markdownListItem": {
128
- "dark": "macBlue",
129
- "light": "macBlue"
130
- },
131
- "markdownListEnumeration": {
132
- "dark": "macSky",
133
- "light": "macSky"
134
- },
135
- "markdownImage": {
136
- "dark": "macBlue",
137
- "light": "macBlue"
138
- },
139
- "markdownImageText": {
140
- "dark": "macSky",
141
- "light": "macSky"
142
- },
143
- "markdownCodeBlock": {
144
- "dark": "macText",
145
- "light": "macText"
146
- },
147
- "syntaxComment": {
148
- "dark": "macOverlay2",
149
- "light": "macOverlay2"
150
- },
151
- "syntaxKeyword": {
152
- "dark": "macMauve",
153
- "light": "macMauve"
154
- },
155
- "syntaxFunction": {
156
- "dark": "macBlue",
157
- "light": "macBlue"
158
- },
159
- "syntaxVariable": {
160
- "dark": "macRed",
161
- "light": "macRed"
162
- },
163
- "syntaxString": {
164
- "dark": "macGreen",
165
- "light": "macGreen"
166
- },
167
- "syntaxNumber": {
168
- "dark": "macPeach",
169
- "light": "macPeach"
170
- },
171
- "syntaxType": {
172
- "dark": "macYellow",
173
- "light": "macYellow"
174
- },
175
- "syntaxOperator": {
176
- "dark": "macSky",
177
- "light": "macSky"
178
- },
179
- "syntaxPunctuation": {
180
- "dark": "macText",
181
- "light": "macText"
182
- }
183
- },
184
- "name": "Catppuccin Macchiato",
185
- "$schema": "../../../schema/house-theme.schema.json"
186
- }
@@ -1,212 +0,0 @@
1
- {
2
- "defs": {
3
- "lightRosewater": "#dc8a78",
4
- "lightFlamingo": "#dd7878",
5
- "lightPink": "#ea76cb",
6
- "lightMauve": "#8839ef",
7
- "lightRed": "#d20f39",
8
- "lightMaroon": "#e64553",
9
- "lightPeach": "#fe640b",
10
- "lightYellow": "#df8e1d",
11
- "lightGreen": "#40a02b",
12
- "lightTeal": "#179299",
13
- "lightSky": "#04a5e5",
14
- "lightSapphire": "#209fb5",
15
- "lightBlue": "#1e66f5",
16
- "lightLavender": "#7287fd",
17
- "lightText": "#4c4f69",
18
- "lightSubtext1": "#5c5f77",
19
- "lightSubtext0": "#6c6f85",
20
- "lightOverlay2": "#7c7f93",
21
- "lightOverlay1": "#8c8fa1",
22
- "lightOverlay0": "#9ca0b0",
23
- "lightSurface2": "#acb0be",
24
- "lightSurface1": "#bcc0cc",
25
- "lightSurface0": "#ccd0da",
26
- "lightBase": "#eff1f5",
27
- "lightMantle": "#e6e9ef",
28
- "lightCrust": "#dce0e8",
29
- "darkRosewater": "#f5e0dc",
30
- "darkFlamingo": "#f2cdcd",
31
- "darkPink": "#f5c2e7",
32
- "darkMauve": "#cba6f7",
33
- "darkRed": "#f38ba8",
34
- "darkMaroon": "#eba0ac",
35
- "darkPeach": "#fab387",
36
- "darkYellow": "#f9e2af",
37
- "darkGreen": "#a6e3a1",
38
- "darkTeal": "#94e2d5",
39
- "darkSky": "#89dceb",
40
- "darkSapphire": "#74c7ec",
41
- "darkBlue": "#89b4fa",
42
- "darkLavender": "#b4befe",
43
- "darkText": "#cdd6f4",
44
- "darkSubtext1": "#bac2de",
45
- "darkSubtext0": "#a6adc8",
46
- "darkOverlay2": "#9399b2",
47
- "darkOverlay1": "#7f849c",
48
- "darkOverlay0": "#6c7086",
49
- "darkSurface2": "#585b70",
50
- "darkSurface1": "#45475a",
51
- "darkSurface0": "#313244",
52
- "darkBase": "#1e1e2e",
53
- "darkMantle": "#181825",
54
- "darkCrust": "#11111b"
55
- },
56
- "theme": {
57
- "primary": {
58
- "dark": "darkBlue",
59
- "light": "lightBlue"
60
- },
61
- "secondary": {
62
- "dark": "darkMauve",
63
- "light": "lightMauve"
64
- },
65
- "accent": {
66
- "dark": "darkPink",
67
- "light": "lightPink"
68
- },
69
- "error": {
70
- "dark": "darkRed",
71
- "light": "lightRed"
72
- },
73
- "warning": {
74
- "dark": "darkYellow",
75
- "light": "lightYellow"
76
- },
77
- "success": {
78
- "dark": "darkGreen",
79
- "light": "lightGreen"
80
- },
81
- "info": {
82
- "dark": "darkTeal",
83
- "light": "lightTeal"
84
- },
85
- "text": {
86
- "dark": "darkText",
87
- "light": "lightText"
88
- },
89
- "textMuted": {
90
- "dark": "darkOverlay2",
91
- "light": "lightOverlay2"
92
- },
93
- "background": {
94
- "dark": "darkBase",
95
- "light": "lightBase"
96
- },
97
- "backgroundPanel": {
98
- "dark": "darkMantle",
99
- "light": "lightMantle"
100
- },
101
- "backgroundElement": {
102
- "dark": "darkCrust",
103
- "light": "lightCrust"
104
- },
105
- "border": {
106
- "dark": "darkSurface0",
107
- "light": "lightSurface0"
108
- },
109
- "borderActive": {
110
- "dark": "darkSurface1",
111
- "light": "lightSurface1"
112
- },
113
- "borderSubtle": {
114
- "dark": "darkSurface2",
115
- "light": "lightSurface2"
116
- },
117
- "markdownText": {
118
- "dark": "darkText",
119
- "light": "lightText"
120
- },
121
- "markdownHeading": {
122
- "dark": "darkMauve",
123
- "light": "lightMauve"
124
- },
125
- "markdownLink": {
126
- "dark": "darkBlue",
127
- "light": "lightBlue"
128
- },
129
- "markdownLinkText": {
130
- "dark": "darkSky",
131
- "light": "lightSky"
132
- },
133
- "markdownCode": {
134
- "dark": "darkGreen",
135
- "light": "lightGreen"
136
- },
137
- "markdownBlockQuote": {
138
- "dark": "darkYellow",
139
- "light": "lightYellow"
140
- },
141
- "markdownEmph": {
142
- "dark": "darkYellow",
143
- "light": "lightYellow"
144
- },
145
- "markdownStrong": {
146
- "dark": "darkPeach",
147
- "light": "lightPeach"
148
- },
149
- "markdownHorizontalRule": {
150
- "dark": "darkSubtext0",
151
- "light": "lightSubtext0"
152
- },
153
- "markdownListItem": {
154
- "dark": "darkBlue",
155
- "light": "lightBlue"
156
- },
157
- "markdownListEnumeration": {
158
- "dark": "darkSky",
159
- "light": "lightSky"
160
- },
161
- "markdownImage": {
162
- "dark": "darkBlue",
163
- "light": "lightBlue"
164
- },
165
- "markdownImageText": {
166
- "dark": "darkSky",
167
- "light": "lightSky"
168
- },
169
- "markdownCodeBlock": {
170
- "dark": "darkText",
171
- "light": "lightText"
172
- },
173
- "syntaxComment": {
174
- "dark": "darkOverlay2",
175
- "light": "lightOverlay2"
176
- },
177
- "syntaxKeyword": {
178
- "dark": "darkMauve",
179
- "light": "lightMauve"
180
- },
181
- "syntaxFunction": {
182
- "dark": "darkBlue",
183
- "light": "lightBlue"
184
- },
185
- "syntaxVariable": {
186
- "dark": "darkRed",
187
- "light": "lightRed"
188
- },
189
- "syntaxString": {
190
- "dark": "darkGreen",
191
- "light": "lightGreen"
192
- },
193
- "syntaxNumber": {
194
- "dark": "darkPeach",
195
- "light": "lightPeach"
196
- },
197
- "syntaxType": {
198
- "dark": "darkYellow",
199
- "light": "lightYellow"
200
- },
201
- "syntaxOperator": {
202
- "dark": "darkSky",
203
- "light": "lightSky"
204
- },
205
- "syntaxPunctuation": {
206
- "dark": "darkText",
207
- "light": "lightText"
208
- }
209
- },
210
- "name": "Catppuccin",
211
- "$schema": "../../../schema/house-theme.schema.json"
212
- }