1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2026-01-11 02:22:55 -05:00

fork next-themes into use-theme hook

This commit is contained in:
2022-03-07 16:13:55 -05:00
parent 2e1da44d42
commit a917b5f81d
9 changed files with 292 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
import { useEffect, useState, memo } from "react";
import { useTheme } from "next-themes";
import { useTheme } from "../../hooks/use-theme";
import { styled } from "../../lib/styles/stitches.config";
import { SunIcon, MoonIcon } from "../Icons";