replace orphaned tailwind classes with project CSS
All checks were successful
deploy / deploy (push) Successful in 1m27s

auth pages (login, registration, confirmation, recover) now use
setup-page/setup-header/admin-btn-block. theme toggle indicator
gets proper CSS. cleaned up dead h-full, size-3.5, ml-2 classes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-03-04 17:12:21 +00:00
parent 7547d0d4b8
commit dd659e4c61
11 changed files with 58 additions and 55 deletions

View File

@@ -8,15 +8,13 @@ defmodule BerrypodWeb.Auth.Registration do
def render(assigns) do
~H"""
<Layouts.app flash={@flash} current_scope={@current_scope}>
<div class="mx-auto max-w-sm">
<div class="text-center">
<div class="setup-page">
<div class="setup-header">
<.header>
Register for an account
<:subtitle>
Already registered?
<.link navigate={~p"/users/log-in"} class="font-semibold text-brand hover:underline">
Log in
</.link>
<.link navigate={~p"/users/log-in"} class="admin-link">Log in</.link>
to your account now.
</:subtitle>
</.header>
@@ -32,7 +30,7 @@ defmodule BerrypodWeb.Auth.Registration do
phx-mounted={JS.focus()}
/>
<.button phx-disable-with="Creating account..." variant="primary" class="w-full">
<.button phx-disable-with="Creating account..." variant="primary" class="admin-btn-block">
Create an account
</.button>
</.form>