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
wordmarkWeightselectFont weight (100–900)
markSizenumberMark size (0.1–1.0)
gapnumberGap between mark and wordmark (0–0.5)
showClearSpacebooleanfalseShow clear space zone
primaryColorcolorPrimary color
secondaryColorcolorSecondary color
accentColorcolorAccent color
colorModeselect"full"full, reversed, grayscale, mono
backgroundColorcolorBackground color

identity:swatch

PropertyTypeDefaultDescription
colorsstringComma-separated hex values
labelsstringComma-separated labels
showValuesbooleantrueShow hex values
showLabelsbooleantrueShow color labels
layoutselect"horizontal"horizontal, vertical, grid
swatchSizenumberSwatch size (20–200px)
gapnumberGap between swatches (0–40px)

identity:scale-test

PropertyTypeDefaultDescription
sourceSvgstringSVG content to test
sizesstringComma-separated pixel sizes
showSizeLabelsbooleantrueShow size labels
gapnumberGap between renders (0–80px)
showGridbooleanfalseShow pixel grid overlay

identity:grid

PropertyTypeDefaultDescription
gridTypeselect"golden-ratio"golden-ratio, rule-of-thirds, diagonal, circular, modular
subdivisionsnumberGrid subdivisions (1–12)
showSpiralbooleanfalseShow golden spiral overlay
circleCountnumberCircular grid circles (1–12)
moduleSizenumberModular grid cell size (10–200px)
gridColorcolorGrid line color
lineWidthnumberGrid 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"
  }
}