# Active Context ## Current Status - Initializing the project environment. - Documentation phase (Memory Bank & Blueprint). ## Recent Changes - Created `memory-bank/projectBrief.md`. - Created `memory-bank/productContext.md`. - Implemented unit conversion on toggle in `src/main.ts`. - Extracted `convertUnits` utility and added tests. ## Current Focus - Completing Memory Bank initialization. - Drafting PRD and Architecture. - Setting up the Vite/TypeScript/Tailwind environment. ## Active Decisions - **Dark Mode Implementation**: Adopted a Dracula Midnight theme (`#21222c` background) as the primary interface style. Added custom Dracula color palette to `tailwind.config.js`. - Using **Vite** for the build tool. - Using **Vanilla TypeScript** to avoid framework overhead. - Using **Vitest** for unit testing calculation logic. - Target: A single-page application that can be built into a self-contained output. - **Unit Toggle Behavior**: Switching units now automatically converts existing input values using a factor of 25.4. MM values are rounded to 1 decimal, Inches to 2 decimals.