@xpufx/paseo-top 0.4.2 → 0.4.4
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/README.md +11 -12
- package/client/multi-host-view.tsx +177 -0
- package/client/multi-host.ts +98 -0
- package/client/pill-labels.ts +30 -6
- package/client/pill.tsx +42 -61
- package/client/settings-events.ts +33 -0
- package/client/surface.tsx +10 -9
- package/client/vendor/paseo-plugin-helper/components/Badge.tsx +12 -0
- package/client/vendor/paseo-plugin-helper/components/Button.tsx +29 -3
- package/client/vendor/paseo-plugin-helper/components/Card.tsx +32 -0
- package/client/vendor/paseo-plugin-helper/components/DataTable.tsx +17 -1
- package/client/vendor/paseo-plugin-helper/components/InlineButton.tsx +17 -2
- package/client/vendor/paseo-plugin-helper/components/InteractiveRow.tsx +142 -0
- package/client/vendor/paseo-plugin-helper/components/SearchInput.tsx +16 -2
- package/client/vendor/paseo-plugin-helper/components/SectionHeader.tsx +7 -0
- package/client/vendor/paseo-plugin-helper/components/Select.tsx +131 -63
- package/client/vendor/paseo-plugin-helper/components/index.ts +1 -0
- package/client/vendor/paseo-plugin-helper/custom-pills.tsx +4 -3
- package/client/vendor/paseo-plugin-helper/host.ts +12 -58
- package/client/vendor/paseo-plugin-helper/index.ts +2 -0
- package/client/vendor/paseo-plugin-helper/layout/ModalBody.tsx +19 -29
- package/client/vendor/paseo-plugin-helper/layout/ModalContent.tsx +24 -22
- package/client/vendor/paseo-plugin-helper/panel.tsx +11 -3
- package/client/vendor/paseo-plugin-helper/pill.tsx +135 -339
- package/client/vendor/paseo-plugin-helper/styles/index.ts +1 -0
- package/client/vendor/paseo-plugin-helper/styles/recipes.ts +550 -0
- package/client/vendor/paseo-plugin-helper/surface.tsx +62 -2
- package/client/vendor/paseo-plugin-helper/theme/provider.tsx +3 -39
- package/client/vendor/paseo-plugin-helper/theme/tokens.ts +40 -1
- package/client/vendor/paseo-plugin-helper/tickets.tsx +766 -0
- package/index.server.ts +7 -0
- package/package.json +12 -3
- package/paseo-plugin.json +1 -1
- package/server/vendor/paseo-plugin-helper/index.ts +2 -0
- package/server/vendor/paseo-plugin-helper/mcp-injection.ts +20 -2
- package/server/vendor/paseo-plugin-helper/plugins.ts +184 -19
- package/server/vendor/paseo-plugin-helper/tickets.ts +1281 -0
- package/shared/helper-version.ts +20 -0
- package/shared/multi-host.ts +348 -0
- package/shared/resources.ts +1 -1
- package/shared/vendor/paseo-plugin-helper/index.ts +1 -0
- package/shared/vendor/paseo-plugin-helper/tickets.ts +1010 -0
- package/shared/version.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { PlatformType } from "../../../../shared/vendor/paseo-plugin-helper/types";
|
|
1
|
+
import type { PlatformType, PluginTheme } from "../../../../shared/vendor/paseo-plugin-helper/types";
|
|
2
2
|
import type { DensityStyle } from "./flair";
|
|
3
3
|
import type { ResponsiveLayout } from "../../../../shared/vendor/paseo-plugin-helper/types";
|
|
4
4
|
import { resolveEffectiveCompact } from "./responsive";
|
|
@@ -159,3 +159,42 @@ export function elevationForPlatform(
|
|
|
159
159
|
}
|
|
160
160
|
return style;
|
|
161
161
|
}
|
|
162
|
+
|
|
163
|
+
export const defaultDarkTheme: PluginTheme = {
|
|
164
|
+
colors: {
|
|
165
|
+
surface0: "#18181b",
|
|
166
|
+
surface1: "#27272a",
|
|
167
|
+
surface2: "#3f3f46",
|
|
168
|
+
border: "#3f3f46",
|
|
169
|
+
foreground: "#fafafa",
|
|
170
|
+
foregroundMuted: "#a1a1aa",
|
|
171
|
+
accent: "#3b82f6",
|
|
172
|
+
accentForeground: "#ffffff",
|
|
173
|
+
statusSuccess: "#22c55e",
|
|
174
|
+
statusWarning: "#eab308",
|
|
175
|
+
statusDanger: "#ef4444",
|
|
176
|
+
},
|
|
177
|
+
};
|
|
178
|
+
|
|
179
|
+
export const defaultLightTheme: PluginTheme = {
|
|
180
|
+
colors: {
|
|
181
|
+
surface0: "#ffffff",
|
|
182
|
+
surface1: "#f4f4f5",
|
|
183
|
+
surface2: "#e4e4e7",
|
|
184
|
+
border: "#e4e4e7",
|
|
185
|
+
foreground: "#09090b",
|
|
186
|
+
foregroundMuted: "#71717a",
|
|
187
|
+
accent: "#2563eb",
|
|
188
|
+
accentForeground: "#ffffff",
|
|
189
|
+
statusSuccess: "#16a34a",
|
|
190
|
+
statusWarning: "#ca8a04",
|
|
191
|
+
statusDanger: "#dc2626",
|
|
192
|
+
},
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export function getDefaultTheme(scheme?: string): PluginTheme {
|
|
196
|
+
if (scheme === "light") {
|
|
197
|
+
return defaultLightTheme;
|
|
198
|
+
}
|
|
199
|
+
return defaultDarkTheme;
|
|
200
|
+
}
|