From f5d214e1159f8e5ffb897113dbd8d005b1c3db57 Mon Sep 17 00:00:00 2001 From: Murderlon Date: Sun, 12 Jan 2025 17:36:09 +0100 Subject: [PATCH] Add basic theme --- packages/functions/auth.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/functions/auth.ts b/packages/functions/auth.ts index f59836e..7fcb9df 100644 --- a/packages/functions/auth.ts +++ b/packages/functions/auth.ts @@ -6,8 +6,17 @@ import { PasswordProvider } from '@openauthjs/openauth/provider/password' import { PasswordUI } from '@openauthjs/openauth/ui/password' import { Email } from '@company/core/src/email/index' import { User } from '@company/core/src/user/index' +import type { Theme } from '@openauthjs/openauth/ui/theme' + +const theme: Theme = { + title: 'My company', + radius: 'md', + primary: '#1e293b', + favicon: 'https://stack.merlijn.site/favicon.ico', +} const app = issuer({ + theme, storage: DynamoStorage({ table: Resource.LambdaAuthTable.name, }),