feat: add overrides for sign in page
This commit is contained in:
parent
dd77be0388
commit
ddf9348eb8
3 changed files with 10 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
/* See the Tailwind configuration guide for advanced usage
|
/* See the Tailwind configuration guide for advanced usage
|
||||||
https://tailwindcss.com/docs/configuration */
|
https://tailwindcss.com/docs/configuration */
|
||||||
|
|
||||||
@import "tailwindcss" source(none);
|
@import "tailwindcss";
|
||||||
@source "../css";
|
@source "../css";
|
||||||
@source "../js";
|
@source "../js";
|
||||||
@source "../../lib/mv_web";
|
@source "../../lib/mv_web";
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ module.exports = {
|
||||||
"../lib/mv_web.ex",
|
"../lib/mv_web.ex",
|
||||||
"../lib/mv_web/**/*.*ex"
|
"../lib/mv_web/**/*.*ex"
|
||||||
],
|
],
|
||||||
|
safelist: ['h-screen', 'px-6', 'h-screen', 'place-items-center', 'px-20', 'px-24'], // Classes that are used by AshAuthentication Sign-In Page are otherwise purged
|
||||||
theme: {
|
theme: {
|
||||||
extend: {
|
extend: {
|
||||||
colors: {
|
colors: {
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,12 @@ defmodule MvWeb.AuthOverrides do
|
||||||
# set :text_class, "bg-red-500"
|
# set :text_class, "bg-red-500"
|
||||||
# end
|
# end
|
||||||
|
|
||||||
# override AshAuthentication.Phoenix.Components.SignIn do
|
override AshAuthentication.Phoenix.Components.SignIn do
|
||||||
# set :show_banner, false
|
set :root_class, "min-w-md"
|
||||||
# end
|
end
|
||||||
|
|
||||||
|
override AshAuthentication.Phoenix.Components.Banner do
|
||||||
|
set :text, "Mitgliederverwaltung"
|
||||||
|
set :image_url, nil
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue