remove dark mode support for now

This commit is contained in:
sloane 2024-02-24 10:34:46 -05:00
parent c5892fa6fe
commit 764290698f
5 changed files with 5 additions and 14 deletions

View file

@ -1,12 +1,3 @@
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
@media (perfers-color-scheme: dark) {
--pagefind-ui-primary: #eeeeee;
--pagefind-ui-text: #eeeeee;
--pagefind-ui-background: #152028;
--pagefind-ui-border: #152028;
--pagefind-ui-tag: #152028;
}

View file

@ -1,4 +1,4 @@
<%= header(ctx, attrs) %>
<main class="prose-neutral prose prose-xl dark:prose-invert" data-pagefind-body>
<main class="prose-neutral prose prose-xl" data-pagefind-body>
<%= inner_content %>
</main>

View file

@ -1,5 +1,5 @@
<%= header(ctx, attrs) %>
<article class="prose-neutral prose prose-xl dark:prose-invert" data-pagefind-body>
<article class="prose-neutral prose prose-xl" data-pagefind-body>
<%= inner_content %>
</article>

View file

@ -7,7 +7,7 @@
<title><%= prefix_title("sloane.sh", attrs[:page_title]) %></title>
<link rel="stylesheet" href="/assets/css/app.css" />
</head>
<body class="w-full max-w-3xl bg-white text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100 dark">
<body class="w-full max-w-3xl bg-white text-neutral-900">
<%= inner_content %>
<script defer src="/assets/js/app.js"></script>
</body>