Skip to content

Commit

Permalink
Add basic theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Murderlon committed Jan 12, 2025
1 parent b4b574d commit f5d214e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/functions/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}),
Expand Down

0 comments on commit f5d214e

Please sign in to comment.