Download src/shared/components/docs/DocsThemeProvider.tsx from automindy/fiemwl: direct link, hf CLI and curl.
- Browser
- Download file 497 Bytes
-
https://huggingface.co/spaces/automindy/fiemwl/resolve/main/src/shared/components/docs/DocsThemeProvider.tsx
- Command line
-
hf download hf://spaces/automindy/fiemwl/src/shared/components/docs/DocsThemeProvider.tsx
-
curl -L -o DocsThemeProvider.tsx https://huggingface.co/spaces/automindy/fiemwl/resolve/main/src/shared/components/docs/DocsThemeProvider.tsx
497 Bytes
| "use client"; | |
| import React from "react"; | |
| import { cn } from "@/shared/utils/cn"; | |
| import { DOCS_TOKENS } from "./tokens"; | |
| interface ThemeProviderProps { | |
| children: React.ReactNode; | |
| initialTheme?: "light" | "dark" | "system"; | |
| } | |
| export default function DocsThemeProvider({ | |
| children, | |
| initialTheme = "system", | |
| }: ThemeProviderProps) { | |
| return ( | |
| <div className="min-h-screen bg-bg text-text-main font-sans selection:bg-primary/20"> | |
| {children} | |
| </div> | |
| ); | |
| } | |