genart.dev
Plugins

Identity

Brand identity — lockups, color swatches, scale testing, construction grids, and accessibility checks.

Brand identity design tools for composing lockups, generating color variants, testing scalability, and checking WCAG accessibility contrast.

Installation

npm install @genart-dev/plugin-identity

Layer Types

Type IDDisplay NameDescription
identity:lockupLockupMark + wordmark composition with 4 variants and 4 color modes
identity:swatchColor SwatchPalette display strip with labels in horizontal, vertical, or grid layout
identity:scale-testScale TestSVG rendered at multiple sizes for legibility testing
identity:gridConstruction GridDesign grid overlays (golden-ratio, thirds, diagonal, circular, modular)

Properties

identity:lockup

PropertyTypeDefaultDescription
variantselect"horizontal"horizontal, stacked, icon-only, wordmark-only
markSvgstring""SVG content for the mark
wordmarkstring""Wordmark text
wordmarkFontstring""Font family
wordmarkWeightselect—Font weight (100–900)
markSizenumber—Mark size (0.1–1.0)
gapnumber—Gap between mark and wordmark (0–0.5)
showClearSpacebooleanfalseShow clear space zone
primaryColorcolor—Primary color
secondaryColorcolor—Secondary color
accentColorcolor—Accent color
colorModeselect"full"full, reversed, grayscale, mono
backgroundColorcolor—Background color

identity:swatch

PropertyTypeDefaultDescription
colorsstring—Comma-separated hex values
labelsstring—Comma-separated labels
showValuesbooleantrueShow hex values
showLabelsbooleantrueShow color labels
layoutselect"horizontal"horizontal, vertical, grid
swatchSizenumber—Swatch size (20–200px)
gapnumber—Gap between swatches (0–40px)

identity:scale-test

PropertyTypeDefaultDescription
sourceSvgstring—SVG content to test
sizesstring—Comma-separated pixel sizes
showSizeLabelsbooleantrueShow size labels
gapnumber—Gap between renders (0–80px)
showGridbooleanfalseShow pixel grid overlay

identity:grid

PropertyTypeDefaultDescription
gridTypeselect"golden-ratio"golden-ratio, rule-of-thirds, diagonal, circular, modular
subdivisionsnumber—Grid subdivisions (1–12)
showSpiralbooleanfalseShow golden spiral overlay
circleCountnumber—Circular grid circles (1–12)
moduleSizenumber—Modular grid cell size (10–200px)
gridColorcolor—Grid line color
lineWidthnumber—Grid line width (0.25–3)

MCP Tools

ToolDescription
create_lockupCreate identity lockup (mark + wordmark) with color customization
set_lockup_variantSwitch between horizontal, stacked, icon-only, wordmark-only
generate_color_variantsGenerate full/reversed/grayscale/mono variants as 4 layers
create_swatchCreate color palette swatch with labels
test_at_sizesRender SVG at multiple sizes with legibility observations
create_gridAdd construction grid overlay
check_contrastCheck WCAG contrast ratio between two colors
check_palette_contrastCheck all pairwise contrasts in a palette
score_identityQuality scoring: contrast, variants, scalability, simplicity
suggest_accessible_colorSuggest WCAG-compliant color preserving target hue

Example

{
  "tool": "create_lockup",
  "arguments": {
    "markSvg": "<svg viewBox='0 0 24 24'><circle cx='12' cy='12' r='10' fill='currentColor'/></svg>",
    "wordmark": "Acme",
    "wordmarkFont": "Inter",
    "primaryColor": "#1a1a2e",
    "secondaryColor": "#e94560"
  }
}