Skip to content

Commit 3cb6736

Browse files
authored
fix: make container darker relative to content (#112)
base-100 relative to base-300 is a better match for darker themes.
1 parent 9ef86e0 commit 3cb6736

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

allauth_ui/templates/allauth/layouts/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<link rel="stylesheet" href="{% static 'allauth_ui/output.css' %}">
1616
{% endblock extra_head %}
1717
</head>
18-
<body class="min-h-screen bg-base-200">
18+
<body class="min-h-screen bg-base-300">
1919
{% block body %}
2020
{% if messages %}
2121
{% for message in messages %}

allauth_ui/templates/components/container.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% load i18n %}
2-
<div class="container mx-auto pt-1 bg-base-200">
3-
<div class="w-11/12 p-10 mx-auto mt-5 md:mt-15 lg:mt-32 rounded-lg shadow-md sm:p-5 md:w-6/12 lg:w-5/12 xl:w-4/12 md:p-10 xl:p-13 bg-base-300">
2+
<div class="container pt-1 mx-auto">
3+
<div class="w-11/12 p-10 mx-auto mt-5 rounded-lg shadow-md md:mt-15 lg:mt-32 sm:p-5 md:w-6/12 lg:w-5/12 xl:w-4/12 md:p-10 xl:p-13 bg-base-100">
44
<h1 class="mb-3 text-2xl">{{ heading }}</h1>
55
{% if subheading %}<div>{{ subheading }}</div>{% endif %}
66
{{ children }}

0 commit comments

Comments
 (0)