From c3b5564dc9c383eb820d2cfea368513ae3fae849 Mon Sep 17 00:00:00 2001 From: Matthew Huntington Date: Sun, 22 Feb 2026 16:21:57 -0500 Subject: [PATCH] claude.md --- CLAUDE.md | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 CLAUDE.md diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..9e818e4 --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,30 @@ +# CLAUDE.md + +This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. + +## Project Overview + +This is a collection of small independant apps that help with the rules for Pathfinder 2E (Remastered). + +## Architecture + +Everything lives in `perception.html`: styles, markup, and JavaScript are co-located in one file. There are no external dependencies except Mermaid.js loaded from CDN. + +### Key structural areas in `perception.html` + +- **CSS custom properties** (`--bg`, `--surface`, `--border`, `--accent`, per-state color triplets `--c-`, `--c--hi`, `--c--border`) drive the entire dark-fantasy color theme. Detection state colors: observed (green), hidden (amber), undetected (orange), unnoticed (red), concealed (blue), invisible (purple). + +- **Tab system** (`#stealth`, `#detection`, `#simulator`): three `
` elements toggled by `showTab()`. The Situation Simulator is the default active tab. + +- **Sidebar** (`