diff --git a/apps/client-standalone/src/lightweight/browser_routes.ts b/apps/client-standalone/src/lightweight/browser_routes.ts
index dffff1edb5..0a28f5f5d5 100644
--- a/apps/client-standalone/src/lightweight/browser_routes.ts
+++ b/apps/client-standalone/src/lightweight/browser_routes.ts
@@ -227,7 +227,9 @@ function bootstrapRoute(): BootstrapDefinition {
return {
dbInitialized: false,
baseApiUrl: "../api/",
- assetPath
+ assetPath,
+ themeCssUrl: false,
+ themeUseNextAsBase: "next",
};
}
diff --git a/apps/client/src/setup.css b/apps/client/src/setup.css
index 5eeea8161e..37ec6c5055 100644
--- a/apps/client/src/setup.css
+++ b/apps/client/src/setup.css
@@ -1,9 +1,52 @@
-.setup-body-wrapper {
- padding: 2rem;
+html,
+body {
+ margin: 0;
+ padding: 0;
+ width: 100vw;
+ height: 100vh;
+}
- .setup-options {
+body.setup {
+ margin: 0;
+ padding: 0;
+
+ &>div {
+ background: var(--left-pane-background-color);
+ padding: 2em;
+ width: 600px;
+ width: 100vw;
+ height: 100vh;
display: flex;
- flex-direction: column;
- gap: 1rem;
+ justify-content: center;
+ align-items: center;
+
+ .setup-container {
+ background-color: var(--main-background-color);
+ border-radius: 16px;
+ padding: 2em;
+ display: flex;
+ flex-direction: column;
+ gap: 2rem;
+ height: 550px;
+
+ .setup-options {
+ display: flex;
+ flex-direction: column;
+ gap: 1rem;
+
+ .tn-card-frame {
+ padding: 1.5em;
+ h3 {
+ font-size: 1.5em;
+ font-weight: normal;
+ }
+
+ p:last-of-type {
+ margin-bottom: 0;
+ color: var(--muted-text-color);
+ }
+ }
+ }
+ }
}
}
diff --git a/apps/client/src/setup.tsx b/apps/client/src/setup.tsx
index 08a439076c..ee37b2ceb8 100644
--- a/apps/client/src/setup.tsx
+++ b/apps/client/src/setup.tsx
@@ -3,32 +3,39 @@ import "./setup.css";
import { render } from "preact";
import { initLocale, t } from "./services/i18n";
-import Button from "./widgets/react/Button";
+import { CardFrame } from "./widgets/react/Card";
async function main() {
await initLocale();
const bodyWrapper = document.createElement("div");
- bodyWrapper.classList.add("setup-body-wrapper");
+ document.body.classList.add("setup");
render(