From 5ffbecefc2ac1e3b3e186131126700c294537dda Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Mon, 9 Dec 2024 20:40:21 +0800 Subject: [PATCH] docs: add source attribution for use-meta-color implementation --- src/hooks/use-meta-color.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hooks/use-meta-color.ts b/src/hooks/use-meta-color.ts index e5c93f9..2583db2 100644 --- a/src/hooks/use-meta-color.ts +++ b/src/hooks/use-meta-color.ts @@ -1,3 +1,6 @@ +// This implementation is derived from the solution provided by [shadcn] in shadcn/ui +// https://github.com/shadcn-ui/ui + import * as React from "react"; import { useTheme } from "next-themes"; import { META_THEME_COLORS } from "@/config/site";