Skip to content

Commit a07793e

Browse files
author
Shaw
committed
fix: checkpoint cloud theme asset wiring
1 parent cdea309 commit a07793e

6 files changed

Lines changed: 9 additions & 3 deletions

File tree

458 KB
Binary file not shown.

packages/cloud-routing/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414
"types": ["node", "bun-types"]
1515
},
1616
"include": ["src/**/*.ts"],
17-
"exclude": ["node_modules", "dist"]
17+
"exclude": ["node_modules", "dist", "src/**/*.test.ts"]
1818
}

packages/cloud-shared/src/lib/config/affiliate-themes.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,15 +240,15 @@ export function hasAffiliateTheme(affiliateId: string): boolean {
240240
* @param theme - The affiliate theme
241241
* @returns CSS properties object
242242
*/
243-
export function getThemeCSSVariables(theme: AffiliateTheme): React.CSSProperties {
243+
export function getThemeCSSVariables(theme: AffiliateTheme): Record<`--${string}`, string> {
244244
return {
245245
"--theme-primary": theme.colors.primary,
246246
"--theme-primary-light": theme.colors.primaryLight,
247247
"--theme-accent": theme.colors.accent,
248248
"--theme-background": theme.colors.background,
249249
"--theme-gradient-from": theme.colors.gradientFrom,
250250
"--theme-gradient-to": theme.colors.gradientTo,
251-
} as React.CSSProperties;
251+
} as Record<`--${string}`, string>;
252252
}
253253

254254
/**

packages/cloud-shared/tsconfig.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
"@/routing/*": ["./src/routing/*"],
3030
"@elizaos/plugin-sql": ["../../plugins/plugin-sql/src/index.ts"],
3131
"@elizaos/plugin-sql/*": ["../../plugins/plugin-sql/src/*"],
32+
"@elizaos/core": ["../../packages/core/src/index.node.ts"],
33+
"@elizaos/core/*": ["../../packages/core/src/*"],
34+
"@elizaos/shared": ["../../packages/shared/src/index.ts"],
35+
"@elizaos/shared/*": ["../../packages/shared/src/*"],
36+
"@elizaos/plugin-elizacloud": ["../../plugins/plugin-elizacloud/src/index.ts"],
37+
"@elizaos/plugin-elizacloud/*": ["../../plugins/plugin-elizacloud/src/*"],
3238
"drizzle-orm": ["../../node_modules/drizzle-orm"],
3339
"drizzle-orm/*": ["../../node_modules/drizzle-orm/*"]
3440
}
458 KB
Binary file not shown.
458 KB
Binary file not shown.

0 commit comments

Comments
 (0)