Skip to content

Commit

Permalink
Just some code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
devthedevel committed Jan 28, 2024
1 parent dd5df2d commit 93ce42d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import Toggle from './Toggle.astro';

const savedTheme = localStorage.getItem('darkTheme');

// Set default theme
// Check for theme preference
themeToggle.checked = savedTheme
? savedTheme === 'true'
: window.matchMedia('(prefers-color-scheme: dark)').matches;
Expand Down
4 changes: 2 additions & 2 deletions src/content/blog/developing_devthedevel_part_1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: 'Developing devthedevel.xyz - Part 1'
description: 'Developing devthedevel.xyz - Part 1'
title: 'Developing devthedevel - Part 1'
description: 'Developing devthedevel - Part 1'
pubDate: 'Jan 12 2024'
heroImage: '/blog/devthedevel_xyz_site.jpg'
---
Expand Down
2 changes: 0 additions & 2 deletions src/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
--text-dark: var(--gray-dark);
--text-light: var(--gray-light);

/* --background: rgba(var(--gray-light), 50%), #fff;
--background-dark: var(--gray); */
--background: #fff;
--background-secondary: var(--gray-light);

Expand Down

0 comments on commit 93ce42d

Please sign in to comment.