Port logo generator to vanilla JS + Vite
Restructure the single-file demo into a Vite project: - src/logo.js: framework-agnostic core (shadow-layer geometry, inline text-shadow, generated CSS snippet, defaults, font list) - src/main.js: DOM wiring (state read, live render, copy, native reset) - src/style.css, index.html: markup + styles with the accessibility fixes (labels, aria, <details>/<summary>, <form> reset, focus rings) The original single-file version lives on the 'html' branch. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
export default defineConfig({
|
||||
// index.html at project root is the single entry; defaults are fine.
|
||||
});
|
||||
Reference in New Issue
Block a user