Skip to content

Commit

Permalink
fix(theme): force dark theme by default
Browse files Browse the repository at this point in the history
  • Loading branch information
tdharris committed Aug 8, 2024
1 parent 071a905 commit b2fe716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function errorHandler(err: unknown) {
*/
export default async function blog(settings?: BlogSettings) {
html.use(UnoCSS(settings?.unocss)); // Load custom unocss module if provided
html.use(ColorScheme("auto"));
html.use(ColorScheme("dark"));

const url = callsites()[1].getFileName()!;
const blogState = await configureBlog(url, IS_DEV, settings);
Expand Down

0 comments on commit b2fe716

Please sign in to comment.