Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

614 B
Raw Blame
import './AuthScene.scss'

import { type ReactNode } from 'react'

import { cn } from 'lib/utils/css-classes'

/**
 * Carries the light-mode button tokens in AuthScene.scss as well as the backdrop, which is what
 * turns LemonButton's primary amber on these screens. Owns no layout, so a scene that manages its
 * own height and scrolling can share it with the ones that use {@link AuthScene}.
 */
export function AuthSceneBackdrop({ className, children }: { className?: string; children: ReactNode }): JSX.Element {
    return <div className={cn('AuthScene font-sans text-primary', className)}>{children}</div>
}