From 8df7ac982c74128230b746739da2fa761f353dfa Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 9 Nov 2026 10:12:02 +0100 Subject: [PATCH] change header and paragraph sizes --- assets/css/base/_typography.css | 5 ++-- lib/chesstrainer_web/live/user_live/login.ex | 26 +++++++++---------- .../live/user_live/registration.ex | 18 ++++++------- 3 files changed, 22 insertions(+), 27 deletions(-) diff --git a/assets/css/base/_typography.css b/assets/css/base/_typography.css index 21a8594..ac454bb 100644 --- a/assets/css/base/_typography.css +++ b/assets/css/base/_typography.css @@ -40,10 +40,9 @@ h1 em { color: var(--color-coral); font-weight: 400; } .settings-subtitle { font-size: 1rem;; - color: var(--color-base-content); - opacity: 0.7; + color: var(--color-muted); } @media (max-width: 650px) { h1 { font-size: clamp(51px, 15vw, 68px); } -} \ No newline at end of file +} diff --git a/lib/chesstrainer_web/live/user_live/login.ex b/lib/chesstrainer_web/live/user_live/login.ex index 117f0fd..976db60 100644 --- a/lib/chesstrainer_web/live/user_live/login.ex +++ b/lib/chesstrainer_web/live/user_live/login.ex @@ -7,20 +7,18 @@ defmodule ChesstrainerWeb.UserLive.Login do
- <.header> -

Log in

- <:subtitle> - <%= if @current_scope do %> - You need to reauthenticate to perform sensitive actions on your account. - <% else %> - Don't have an account? <.link - navigate={~p"/users/register"} - class="font-semibold text-primary hover:underline" - phx-no-format - >Sign up for an account now. - <% end %> - - +

Log in

+ <%= if @current_scope do %> + You need to reauthenticate to perform sensitive actions on your account. + <% else %> +

+ Don't have an account? <.link + navigate={~p"/users/register"} + class="font-semibold text-primary hover:underline" + phx-no-format + >Sign up for an account now. +

+ <% end %>
<.form diff --git a/lib/chesstrainer_web/live/user_live/registration.ex b/lib/chesstrainer_web/live/user_live/registration.ex index 85b926c..6f9090a 100644 --- a/lib/chesstrainer_web/live/user_live/registration.ex +++ b/lib/chesstrainer_web/live/user_live/registration.ex @@ -11,16 +11,14 @@ defmodule ChesstrainerWeb.UserLive.Registration do
- <.header> - Register for an account - <:subtitle> - Already registered? - <.link navigate={~p"/users/log-in"} class="font-semibold text-primary hover:underline"> - Log in - - to your account now. - - +

Register for an account

+

+ Already registered? + <.link navigate={~p"/users/log-in"} class="font-semibold text-primary hover:underline"> + Log in + + to your account now +

<.form for={@form} id="registration_form" phx-submit="save" phx-change="validate">