import { Hono } from 'hono'; import { z } from 'zod'; import { isSuperAdmin } from '../../lib/auth'; import { logger } from '../../lib/logger'; import { supabaseAdmin } from '../../lib/supabase'; import type { HonoVariables } from '../../types'; const themeRoutes = new Hono<{ Variables: HonoVariables }>(); // SECURITY: theme values are stored via PATCH and served publicly via GET, then // the client string-builds a `