Refactor project name from "Open Claude Design" to "Open Design" (#1)

* Refactor project name from "Open Claude Design" to "Open Design"

- Updated project name in package.json, package-lock.json, and README files.
- Changed CLI commands and references from "ocd" to "od".
- Adjusted file structure references in documentation and code to reflect new naming conventions.
- Enhanced .gitignore to include new runtime data files.
- Updated metadata in LICENSE file to match new project name.

* Add contributing guidelines in English and Chinese

- Introduced CONTRIBUTING.md and CONTRIBUTING.zh-CN.md to provide clear instructions for contributors.
- Outlined contribution types, local setup instructions, and merging criteria for skills and design systems.
- Enhanced README files to reference the new contributing guidelines.
This commit is contained in:
Tom Huang
2026-04-28 16:03:35 +08:00
committed by GitHub
parent a98096a042
commit 6f6bf31dd2
131 changed files with 2560 additions and 650 deletions
+3 -3
View File
@@ -15,7 +15,7 @@
transform: translate(-50%, -50%) scale(--deck-scale);
JS only updates the CSS variable. No grid, no flex
centering, no transform-origin tricks. This works inside
the OCD viewer's nested transform wrapper at any zoom.
the OD viewer's nested transform wrapper at any zoom.
=========================================================== */
:root {
/* SLOT: theme tokens — the only top-level CSS the agent edits.
@@ -196,7 +196,7 @@
// ---- scale-to-fit ---------------------------------------------------
// Update one CSS variable; the stage uses
// transform: translate(-50%, -50%) scale(var(--deck-scale))
// which is bulletproof inside the OCD viewer's nested transform
// which is bulletproof inside the OD viewer's nested transform
// wrapper. No element transforms set in JS — keeps the math local
// to CSS and avoids order-of-operations bugs.
function fit() {
@@ -231,7 +231,7 @@
else if (e.key === 'Home') { e.preventDefault(); go(0); }
else if (e.key === 'End') { e.preventDefault(); go(slides.length - 1); }
}
// Capture phase + listen on both targets — inside the OCD iframe,
// Capture phase + listen on both targets — inside the OD iframe,
// focus may be on window OR document; a single non-capture listener
// silently misses presses.
window.addEventListener('keydown', onKey, true);