When creating the DashboardDefinition object, it is apparently impossible to import a theme.
The default theme is always used (it's Carbon for now), but importing Carbon manually doesn't work:
import { DashboardDefinition } from '@orbitale/svelte-admin';
import theme from '@orbitale/svelte-admin/themes/carbon';
export const dashboard = new DashboardDefinition({
// ...
adminConfig: {
theme: theme,
},
});
This might be related to package.json linking, but so far I couldn't fix it, and fall back using the default theme anyway.