@elyracode/design-lookup
v0.9.10
Published
Extract design systems from any website -- colors, typography, spacing, components, and layout patterns
Maintainers
Readme
@elyracode/design-lookup
Extract design systems from any website. Colors, typography, spacing, components, and layout patterns -- saved as a structured markdown file the agent can reference.
Install
elyra install npm:@elyracode/design-lookupRequirements
Puppeteer must be installed globally:
npm install -g puppeteerUsage
Command
/lookup-design https://stripe.comExtracts the design system and saves it to .elyra/LOOKUPDESIGN.md.
Tool
The agent can also call lookup_design automatically when you ask it to match a website's style:
> Build a landing page that matches the design of stripe.com
> Make our checkout look like shopify.com
> Use the same color palette as linear.appWhat it extracts
- Colors: Primary, secondary, background, text, accent, and all CSS custom properties
- Typography: Font families, weights, sizes, line heights
- Spacing: Spacing scale derived from actual element measurements
- Components: Button styles, card patterns, input styles, navigation
- Layout: Max widths, grid systems, breakpoints
Output
Results are saved to .elyra/LOOKUPDESIGN.md in a structured format the agent can parse and apply. The file is overwritten on each lookup.
Pin it for persistent reference:
/pin .elyra/LOOKUPDESIGN.md