Loading...
Loading...
Multi-brand token management — set up brand themes, switch between brands, verify cross-brand consistency. Use when: multi-brand/theme/white-label + tokens/variables/design system, or when managing multiple brand variants in one Figma file.
npx skill4agent add divikwu/figcraft multi-brandCollection: "Brand Colors"
Modes: [Brand A, Brand B, Brand C]
Variable: color/primary
Brand A: #3B82F6 (blue)
Brand B: #10B981 (green)
Brand C: #8B5CF6 (purple)
Variable: color/surface
Brand A: #FFFFFF
Brand B: #F0FDF4
Brand C: #FAF5FFping → verify plugin connection
load_toolset("variables") → variable/collection/mode managementpingvariables_ep(method: "list_collections") → existing collections and modes
variables_ep(method: "list") → all variables with current valuesadd_collection_mode(collectionId: "...", name: "Brand B")rename_collection_mode(collectionId: "...", modeId: "...", name: "Brand A")variables_ep(method: "update", variableId: "...", valuesByMode: {
"modeId-brand-a": "#3B82F6",
"modeId-brand-b": "#10B981"
})load_toolset("tokens")
sync_tokens_multi_mode(modes: {
"Brand A": "tokens/brand-a.json",
"Brand B": "tokens/brand-b.json"
}, collectionName: "Brand Colors")set_explicit_variable_mode(nodeId: "screen-frame-id", collectionId: "...", modeId: "brand-b-mode-id")set_explicit_variable_mode(nodeId: "...", collectionId: "...", modeId: "brand-x")
export_image(nodeId: "...", scale: 2) → screenshot for visual check
lint_fix_all(categories: ["wcag"]) → contrast checknodes(method: "clone", items: [{ id: "screen-id", name: "Screen - Brand B", x: 500 }])
set_explicit_variable_mode(nodeId: "cloned-id", collectionId: "...", modeId: "brand-b")Collection: "Color" modes: [Brand A, Brand B]
Collection: "Spacing" modes: [Value] ← shared across brands
Collection: "Radius" modes: [Value] ← shared across brandsCollection: "Primitives" modes: [Brand A, Brand B, Brand C]
Collection: "Semantic" modes: [Light, Dark]Collection: "Primitives" modes: [Brand A, Brand B, ...] ← brand palette
Collection: "Semantic" modes: [Light, Dark] ← aliases to primitives
Collection: "Component" modes: [Default] ← aliases to semanticsave_version_history