{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "harshpreet931-harshpreet-hand--add-handwritten-theme-to-website",
 "repo": "harshpreet931/harshpreet-hand",
 "repo_url": "https://github.com/harshpreet931/harshpreet-hand",
 "repo_slug": "harshpreet931-harshpreet-hand",
 "title": "Add a handwritten theme to a website",
 "page_title": "How to add a handwritten theme to a website with Harshpreet Hand",
 "summary": "Serve the font and turn on a handwritten theme for headings and prose on any site.",
 "who": "A web builder or blogger who wants a personal, hand-drawn look for headings and articles without loading an image-based design.",
 "problem": "Most web fonts look generic, and a custom handwritten look usually needs a designer or a costly font license.",
 "outcome": "The site renders its prose in the Harshpreet Hand font through a data-theme switch, with code and dense UI kept in normal fonts.",
 "steps": [
  "Download the repo or the `dist/` folder, then copy `dist/HarshpreetHand-Regular.woff2` (and optionally `-Bold.woff2`) into your site, e.g. `public/fonts/`.",
  "Copy `dist/harshpreet-hand.css` next to the fonts, or paste its `@font-face` rules into your global CSS, and fix the `url()` paths if needed.",
  "Turn the theme on with `document.documentElement.dataset.theme = \"handwritten\"`.",
  "Set `line-height` to 1.5 or more so the g and y loops do not clip, as the README advises.",
  "Open the page in a browser and confirm the headings and prose render in the handwritten face."
 ],
 "agent_prompt": "Using the repo harshpreet931/harshpreet-hand, copy the .woff2 fonts and harshpreet-hand.css from dist/ into <site-folder>/public/fonts/, then apply the handwritten theme to <page-or-layout-file>. Output the changed files and the exact <html> change. Verify by loading the page and confirming the Harshpreet Hand font is requested and applied in the browser developer tools.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "15 minutes",
 "basis": "readme",
 "caveat": "Keep the font for headings and prose only, since the README says code, tables and dense UI should stay in normal fonts.",
 "category": "Content",
 "tags": [
  "Content"
 ],
 "lang": "python",
 "requirements": [
  "A web browser, or a computer where you can install .ttf font files",
  "For rebuilding: Python 3, potrace (brew install potrace or apt install potrace), and a terminal",
  "For a site: access to the site's CSS and a folder to host font files"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/harshpreet931-harshpreet-hand/add-handwritten-theme-to-website/",
 "md": "https://dedupedai.com/use-cases/harshpreet931-harshpreet-hand/add-handwritten-theme-to-website/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/harshpreet931-harshpreet-hand--add-handwritten-theme-to-website.json",
 "api_version": "v1"
}
