Make dark mode work

This commit is contained in:
PrototypeArea
2022-06-26 23:30:16 -04:00
parent 82fe2a0ce7
commit 72b929f38e
10 changed files with 7154 additions and 143 deletions

View File

@@ -1,4 +1,5 @@
---
const { } = Astro.props;
---
<section class="relative">
@@ -11,12 +12,12 @@
</p>
<h2 class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter mb-4">
Most used Sections
</h2><p class="max-w-3xl mx-auto text-center text-xl text-gray-600">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
</h2><p class="max-w-3xl mx-auto text-center text-xl text-gray-600 dark:text-slate-400">Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
dolore eu fugiat nulla pariatur excepteur sint occaecat cupidatat.</p>
</div>
<div class="grid gap-6 md:grid-cols-2 lg:grid-cols-3 items-start my-12 dark:text-white">
<div class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl">
<div class="flex items-center mb-6">
<div class="flex items-center mb-4">
<svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
@@ -31,12 +32,12 @@
Headers
</div>
</div>
<p class="text-gray-500 dark:text-gray-200 text-md">
<p class="text-gray-500 dark:text-gray-400 text-md">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.
</p>
</div>
<div class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl">
<div class="flex items-center mb-6">
<div class="flex items-center mb-4">
<svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
@@ -52,12 +53,12 @@
Footers
</div>
</div>
<p class="text-gray-500 dark:text-gray-200 text-md">
<p class="text-gray-500 dark:text-gray-400 text-md">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.
</p>
</div>
<div class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl">
<div class="flex items-center mb-6">
<div class="flex items-center mb-4">
<svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
@@ -72,12 +73,12 @@
Features
</div>
</div>
<p class="text-gray-500 dark:text-gray-200 text-md">
<p class="text-gray-500 dark:text-gray-400 text-md">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.
</p>
</div>
<div class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl">
<div class="flex items-center mb-6">
<div class="flex items-center mb-4">
<svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
@@ -93,12 +94,12 @@
Call-to-Action
</div>
</div>
<p class="text-gray-500 dark:text-gray-200 text-md">
<p class="text-gray-500 dark:text-gray-400 text-md">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.
</p>
</div>
<div class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl">
<div class="flex items-center mb-6">
<div class="flex items-center mb-4">
<svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
@@ -113,12 +114,12 @@
Pricing
</div>
</div>
<p class="text-gray-500 dark:text-gray-200 text-md">
<p class="text-gray-500 dark:text-gray-400 text-md">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.
</p>
</div>
<div class="relative flex flex-col p-6 bg-white dark:bg-slate-900 rounded shadow-xl">
<div class="flex items-center mb-6">
<div class="flex items-center mb-4">
<svg class="w-12 h-12 p-1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<g fill="none" fill-rule="evenodd">
<rect class="fill-current text-blue-600" width="64" height="64" rx="32"></rect>
@@ -133,7 +134,7 @@
Testimonial
</div>
</div>
<p class="text-gray-500 dark:text-gray-200 text-md">
<p class="text-gray-500 dark:text-gray-400 text-md">
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore.
</p>
</div>