Thanks for taking the time to improve OpenDesignLab.
npm install
npm run devOpen http://localhost:3000/layouts.
Run both checks:
npm run lint
npm run buildLayout data lives in src/data/webLayouts.ts.
- Add a seed to
layoutSeeds. - Reuse an existing
categoryandpreviewTypewhen possible. - Add a category or preview type only when the current set cannot describe the structure.
- Update
LayoutPreviewRenderer.tsxonly when a new preview type needs a renderer.
Design style data lives in src/data/designStyles.ts.
- Add an entry to
styleSeedTuples. - Add a palette when the generated fallback palette is not specific enough.
- Reuse an existing
sampleTypewhen possible. - Update
DesignStyleSampleRenderer.tsxonly when a new sample type is needed.
- Keep changes focused.
- Include screenshots or short notes for visual changes.
- Avoid adding external services unless the feature cannot work without them.
- Do not commit generated images unless they are intentionally part of the project.