diff --git a/source/404.blade.php b/source/404.blade.php index 01192fb..1e56084 100644 --- a/source/404.blade.php +++ b/source/404.blade.php @@ -1,7 +1,7 @@ @extends('_layouts.main') @section('body') -
+

404

Page not found.

diff --git a/source/_assets/css/base.css b/source/_assets/css/base.css index 17a75f0..2d8a7c0 100644 --- a/source/_assets/css/base.css +++ b/source/_assets/css/base.css @@ -7,6 +7,8 @@ a { @apply no-underline; @apply text-blue-500; @apply hover:text-blue-700; + @apply dark:text-blue-300; + @apply dark:hover:text-blue-500; } blockquote { @@ -18,6 +20,8 @@ blockquote { @apply text-gray-800; @apply border-l-4; @apply border-blue-400; + @apply dark:text-gray-300; + @apply dark:border-blue-400; } code { @@ -26,6 +30,7 @@ code { @apply text-sm; @apply bg-gray-300; @apply rounded-sm; + @apply dark:bg-gray-700; } code.hljs { @@ -50,6 +55,7 @@ h6 { @apply mb-4; @apply text-gray-900; @apply leading-tight; + @apply dark:text-gray-300; &:first-child { @apply mt-0; @@ -127,6 +133,7 @@ pre { @apply my-6; @apply text-base; @apply bg-gray-200; + @apply dark:bg-gray-800; @apply leading-loose; @apply rounded-sm; @apply shadow-sm; diff --git a/source/_assets/css/main.css b/source/_assets/css/main.css index 81506f8..89b9622 100644 --- a/source/_assets/css/main.css +++ b/source/_assets/css/main.css @@ -38,7 +38,9 @@ :not(pre) > code[class*="language-"], pre[class*="language-"] { - background: #e5e7eb; + @apply bg-[#e5e7eb]; + @apply dark:bg-[#1f2937]; + @apply dark:text-white; } .token.operator, diff --git a/source/_components/newsletter-signup.blade.php b/source/_components/newsletter-signup.blade.php index 00d6c50..9f87ff6 100644 --- a/source/_components/newsletter-signup.blade.php +++ b/source/_components/newsletter-signup.blade.php @@ -1,10 +1,10 @@ -
+
-
Sign up for our newsletter
+
Sign up for our newsletter
- - + +
Need forms? Try FieldGoal
diff --git a/source/_components/post-preview-inline.blade.php b/source/_components/post-preview-inline.blade.php index 2b18bd8..3a08f01 100644 --- a/source/_components/post-preview-inline.blade.php +++ b/source/_components/post-preview-inline.blade.php @@ -1,5 +1,5 @@
-

+

{{ $post->getDate()->format('F j, Y') }}

@@ -7,7 +7,7 @@ {{ $post->title }} diff --git a/source/_components/search.blade.php b/source/_components/search.blade.php index dc6dfb9..d25d720 100644 --- a/source/_components/search.blade.php +++ b/source/_components/search.blade.php @@ -33,7 +33,7 @@ class="flex flex-1 justify-end items-center text-right px-4" >
@@ -42,7 +42,7 @@ class="absolute md:relative w-full justify-end bg-white left-0 top-0 z-10 mt-7 m id="search" x-model="query" x-ref="search" - class="relative block h-10 w-full lg:w-1/2 lg:focus:w-3/4 bg-gray-100 border border-gray-500 focus:border-blue-400 outline-none cursor-pointer text-gray-700 px-4 pb-0 pt-px transition-all duration-200 ease-out bg-no-repeat bg-[0.8rem] indent-[1.2em]" + class="relative block h-10 w-full lg:w-1/2 lg:focus:w-3/4 border border-gray-500 focus:border-blue-400 outline-none cursor-pointer px-4 pb-0 pt-px transition-all duration-200 ease-out bg-no-repeat bg-position-[0.8rem] indent-[1.2em]" :class="{ 'rounded-b-none rounded-t-lg': query, 'rounded-3xl': !query }" style="background-image: url('/assets/img/magnifying-glass.svg')" autocomplete="off" @@ -70,10 +70,10 @@ class="absolute top-0 right-0 leading-snug font-400 text-3xl text-blue-500 hover x-transition:leave-end="opacity-0" class="absolute left-0 right-0 md:inset-auto w-full lg:w-3/4 text-left mb-4 md:mt-10" > -