Files
claudedo-online/nuxt.config.ts
Claude c29f793973 feat: mobile-first redesign (warm notebook aesthetic, thumb-zone capture bar)
- Editorial masthead (Fraunces + Spline Sans), warm paper/ink palette with
  terracotta accent, matching dark mode
- Thumb-zone composer: single capture input + round submit, optional note
  toggle, refocus after add for rapid capture
- Mobile-first CSS: 44-50px touch targets, 16px inputs (no iOS zoom),
  edge-to-edge scroll-snap list chips, safe-area insets, tap-highlight off,
  contained overscroll; desktop as min-width enhancement
- Staggered task-card entrance (reduced-motion aware), themed empty states
- Head: theme-color light/dark, Apple web-app metas, lang attr, font preconnect

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 09:49:45 +00:00

41 lines
1.8 KiB
TypeScript

export default defineNuxtConfig({
compatibilityDate: "2026-06-10",
ssr: false,
devtools: { enabled: false },
// Single-user private inbox: no SSR/SEO needs; SPA so @kuns/zitadel-auth runs in-browser.
runtimeConfig: {
// Server-only config is read directly from process.env at runtime (see server/utils),
// so it is NOT declared here (Nuxt only overrides runtimeConfig via the NUXT_ prefix).
public: {
zitadelIssuer: process.env.NUXT_PUBLIC_ZITADEL_ISSUER || "https://auth.kuns.dev",
zitadelClientId: process.env.NUXT_PUBLIC_ZITADEL_CLIENT_ID || "",
// Optional: Zitadel project id. When set, the login requests the project-audience
// scope so the access token's `aud` includes the project id (robust API validation).
zitadelProjectId: process.env.NUXT_PUBLIC_ZITADEL_PROJECT_ID || "",
},
},
app: {
head: {
title: "ClaudeDo Inbox",
htmlAttrs: { lang: "en" },
meta: [
{ name: "viewport", content: "width=device-width, initial-scale=1, viewport-fit=cover" },
{ name: "color-scheme", content: "light dark" },
{ name: "theme-color", media: "(prefers-color-scheme: light)", content: "#f4f1ea" },
{ name: "theme-color", media: "(prefers-color-scheme: dark)", content: "#181410" },
{ name: "apple-mobile-web-app-capable", content: "yes" },
{ name: "apple-mobile-web-app-status-bar-style", content: "default" },
{ name: "apple-mobile-web-app-title", content: "ClaudeDo" },
],
link: [
{ rel: "preconnect", href: "https://fonts.googleapis.com" },
{ rel: "preconnect", href: "https://fonts.gstatic.com", crossorigin: "" },
{
rel: "stylesheet",
href: "https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,600&family=Spline+Sans:wght@400;500;600&display=swap",
},
],
},
},
});