Skip to content

Commit

Permalink
fix: make container darker relative to content (#112)
Browse files Browse the repository at this point in the history
base-100 relative to base-300 is a better match for darker themes.
  • Loading branch information
danihodovic committed Aug 8, 2024
1 parent 9ef86e0 commit 3cb6736
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion allauth_ui/templates/allauth/layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<link rel="stylesheet" href="{% static 'allauth_ui/output.css' %}">
{% endblock extra_head %}
</head>
<body class="min-h-screen bg-base-200">
<body class="min-h-screen bg-base-300">
{% block body %}
{% if messages %}
{% for message in messages %}
Expand Down
4 changes: 2 additions & 2 deletions allauth_ui/templates/components/container.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% load i18n %}
<div class="container mx-auto pt-1 bg-base-200">
<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">
<div class="container pt-1 mx-auto">
<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">
<h1 class="mb-3 text-2xl">{{ heading }}</h1>
{% if subheading %}<div>{{ subheading }}</div>{% endif %}
{{ children }}
Expand Down

0 comments on commit 3cb6736

Please sign in to comment.