Skip to content

Commit

Permalink
Set the text and background colour for dark-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Sep 18, 2023
1 parent b95ed53 commit 58236fe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions maizzle/src/templates/reset-password.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: Reset password instructions
preheader: "Please click the button below and follow the instructions. We'll have you up and running with a new password in no time."
bodyClass: bg-white
bodyClass: bg-white dark-mode:bg-black
---

<x-main>
<div class="font-sans text-lg sm:px-4 text-navy">
<div class="font-sans text-lg sm:px-4 text-navy dark-mode:text-white">
<table align="center">
<tr>
<td class="w-[552px] max-w-full">
Expand Down Expand Up @@ -63,13 +63,13 @@ <h1 class="m-0 text-4xl font-extrabold text-white xs:text-2xl">Planning Alerts</
<x-divider space-y="32px" class="bg-slate-200" />

<p>
<a href="https://www.planningalerts.org.au" class="no-underline text-navy hover:underline"><strong>Planning Alerts</strong></a>
<a href="https://www.planningalerts.org.au" class="no-underline text-navy dark-mode:text-white hover:underline"><strong>Planning Alerts</strong></a>
is a free service where anyone can find out what is being built and knocked down in their area.
</p>
<p>
The service
is run by the independent charity
<a href="https://www.oaf.org.au/" class="no-underline text-navy hover:underline">OpenAustralia Foundation</a>.
<a href="https://www.oaf.org.au/" class="no-underline text-navy dark-mode:text-white hover:underline">OpenAustralia Foundation</a>.
</p>

<p>
Expand Down
1 change: 1 addition & 0 deletions maizzle/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = {
screens: {
sm: {max: '600px'},
xs: {max: '425px'},
"dark-mode": { raw: "(prefers-color-scheme: dark)" }
},
extend: {
colors: {
Expand Down

0 comments on commit 58236fe

Please sign in to comment.