Receber por email
← Voltar para o catálogo

playground

Live CSS playground for tweaking element styles in real-time in the browser. Use when the user says 'open css playground', 'let me tweak styles', 'live edit CSS', 'try different styles', 'experiment with styles', or wants to visually iterate on CSS before committing to source code.

8estrelas
Atualizado há 2 meses

Ver no GitHub ↗

Como adicionar

/plugin marketplace add harshkedia177/design-mode

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/playground-harshkedia177/svg)](https://www.skillteca.com.br/skills/playground-harshkedia177)

Alerta por categoria

Receba novas skills de Design e Frontend toda segunda

1 email curto, só com as skills novas de Design e Frontend. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

CSS Playground — Live Style Tweaking

Apply temporary CSS changes to elements in the browser for visual iteration. Changes are applied via inline styles and can be committed to source code when the user is satisfied.

Apply Temporary Styles

Use mcp__design-mode__apply_style with:

  • selector: CSS selector of the element
  • styles: object of CSS property-value pairs (camelCase keys), e.g. {"fontSize": "20px", "color": "red"}

The tool automatically stores original styles for revert.

Take Before/After Screenshots

  1. Take a screenshot before: mcp__design-mode__screenshot
  2. Apply the style change
  3. Take another screenshot after
  4. Ask the user if they want to keep, adjust, or revert

Revert Styles

Use mcp__design-mode__apply_style with revert: true and the same selector.

Commit to Source

When the user says "commit this" or "save these styles":

  1. Use mcp__design-mode__read_element to get the element's source file info
  2. Locate the source file following ../references/source-lookup.md
  3. Apply the style changes to the actual source file using Edit, following ../references/commit-to-source.md to match the project's styling approach

Common Style Tweaks

Interpret natural language into CSS:

  • "make it bigger" → increase font-size or dimensions
  • "more spacing" → increase padding, margin, or gap
  • "bolder" → font-weight: 700
  • "center it" → appropriate flex/grid/text-align centering
  • "red" / "blue" / any color → change color or background
  • "rounded" → increase border-radius
  • "shadow" → add box-shadow
Compartilhar X LinkedIn