Skip to content

Commit

Permalink
feat: remove stylizing
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtemSBulgakov committed Mar 31, 2024
1 parent 0bfa0d6 commit 1705a27
Show file tree
Hide file tree
Showing 12 changed files with 43 additions and 332 deletions.
23 changes: 0 additions & 23 deletions app/globals-snow.css

This file was deleted.

1 change: 0 additions & 1 deletion app/globals.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import "globals-calendar.css";
@import "globals-snow.css";

@tailwind base;
@tailwind components;
Expand Down
Binary file modified app/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 6 additions & 27 deletions app/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 1 addition & 7 deletions app/theme.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,11 @@ export default function ThemedHtml({
initializeWithValue: true,
localStorageKey: "theme",
});
const isSafari =
isClient && /^((?!chrome|android).)*safari/i.test(navigator.userAgent);

return (
<html
{...htmlProps}
className={clsx(
className,
(!isClient || isDarkMode) && "dark",
!isSafari && "snow",
)}
className={clsx(className, (!isClient || isDarkMode) && "dark")}
>
<head>
<script
Expand Down
Loading

0 comments on commit 1705a27

Please sign in to comment.