Skip to content

forcedotcom/sf-skills / skills/experience-cms-brand-create

experience-cms-brand-create

Verified

Author a Salesforce Digital Experience brand (a "brand.json") so the VS Code Brand Toolkit can load, edit, and preview it. Use this skill whenever someone wants to: create a brand, make a new brand, generate a brand from a description or a color/logo/mood, add a brand to a project so the Brand Toolkit picks it up, scaffold a brand.json, theme a Digital Experience site, or turn a brand idea ("a dark luxury brand", "match our logo", "coral + rounded + friendly") into a loadable brand. Also use it when the user mentions "Brand Toolkit", "theme manager brand", "brand token", "colorScheme", "primaryAccent", ".digitalExperience/brands", "sfdc_cms:title", or a "brand.json" that should show up in the Brand Toolkit. Do NOT use this skill to apply an existing brand's voice, tone, or guidelines to generated content (use experience-cms-brand-apply), to search Salesforce CMS for existing brands, or to search for images, media, or logos (use experience-search-coordinate).

FileKindSize
SKILL.mdskill md11.1 KB
assets/brand-template.jsonconfig9.7 KB
references/brand-anatomy.mdmarkdown6.6 KB
references/disk-contract.mdmarkdown3.8 KB

assets/brand-template.json

View on GitHub
{
  "sfdc_cms:title": "REPLACE_WITH_UNIQUE_BRAND_NAME",
  "baseFontSize": {
    "value": 16,
    "unit": "px"
  },
  "baseFontFamily": "{!$brand.fontFamily.arial}",
  "fontSize": {
    "xSmall": {
      "value": 0.625,
      "unit": "rem"
    },
    "small": {
      "value": 0.8125,
      "unit": "rem"
    },
    "medium": {
      "value": 1,
      "unit": "rem"
    },
    "large": {
      "value": 1.125,
      "unit": "rem"
    },
    "xLarge": {
      "value": 1.5,
      "unit": "rem"
    },
    "xxLarge": {
      "value": 2,
      "unit": "rem"
    }
  },
  "fontFamily": {
    "arial": {
      "name": "Arial",
      "category": "sans-serif",
      "fallbacks": ["Helvetica"]
    },
    "arialBlack": {
      "name": "Arial Black",
      "category": "sans-serif",
      "fallbacks": ["Gadget"]
    },
    "comicSansMs": {
      "name": "Comic Sans MS",
      "category": "sans-serif",
      "fallbacks": ["cursive"]
    },
    "calibri": {
      "name": "Calibri",
      "category": "sans-serif",
      "fallbacks": ["Candara", "Segoe", "Segoe UI", "Optima", "Arial"]
    },
    "courierNew": {
      "name": "Courier New",
      "category": "monospace"
    },
    "georgia": {
      "name": "Georgia",
      "category": "serif"
    },
    "impact": {
      "name": "Impact",
      "category": "sans-serif",
      "fallbacks": ["Charcoal"]
    },
    "lucidaConsole": {
      "name": "Lucida Console",
      "category": "monospace",
      "fallbacks": ["Monaco"]
    },
    "lucidaSansUnicode": {
      "name": "Lucida Sans Unicode",
      "category": "sans-serif",
      "fallbacks": ["Lucida Grande"]
    },
    "palatinoLinotype": {
      "name": "Palatino Linotype",
      "category": "serif",
      "fallbacks": ["Book Antiqua", "Palatino"]
    },
    "tahoma": {
      "name": "Tahoma",
      "category": "sans-serif",
      "fallbacks": ["Geneva"]
    },
    "timesNewRoman": {
      "name": "Times New Roman",
      "category": "serif",
      "fallbacks": ["Times"]
    },
    "trebuchetMs": {
      "name": "Trebuchet MS",
      "category": "sans-serif"
    },
    "verdana": {
      "name": "Verdana",
      "category": "sans-serif",
      "fallbacks": ["Geneva"]
    }
  },
  "letterSpacing": {
    "normal": "normal",
    "wide": {
      "value": 6,
      "unit": "px"
    },
    "compact": {
      "value": -1,
      "unit": "px"
    }
  },
  "fontWeight": {
    "light": 300,
    "normal": 400,
    "bold": 700
  },
  "spacing": {
    "none": {
      "top": { "value": 0, "unit": "rem" },
      "bottom": { "value": 0, "unit": "rem" },
      "left": { "value": 0, "unit": "rem" },
      "right": { "value": 0, "unit": "rem" }
    },
    "xSmall": {
      "top": { "value": 0.5, "unit": "rem" },
      "bottom": { "value": 0.5, "unit": "rem" },
      "left": { "value": 0.5, "unit": "rem" },
      "right": { "value": 0.5, "unit": "rem" }
    },
    "small": {
      "top": { "value": 0.75, "unit": "rem" },
      "bottom": { "value": 0.75, "unit": "rem" },
      "left": { "value": 0.75, "unit": "rem" },
      "right": { "value": 0.75, "unit": "rem" }
    },
    "medium": {
      "top": { "value": 1, "unit": "rem" },
      "bottom": { "value": 1, "unit": "rem" },
      "left": { "value": 1, "unit": "rem" },
      "right": { "value": 1, "unit": "rem" }
    },
    "large": {
      "top": { "value": 1.5, "unit": "rem" },
      "bottom": { "value": 1.5, "unit": "rem" },
      "left": { "value": 1.5, "unit": "rem" },
      "right": { "value": 1.5, "unit": "rem" }
    },
    "xLarge": {
      "top": { "value": 2, "unit": "rem" },
      "bottom": { "value": 2, "unit": "rem" },
      "left": { "value": 2, "unit": "rem" },
      "right": { "value": 2, "unit": "rem" }
    }
  },
  "colorScheme": {
    "root": "#ffffff",
    "contrast": "#000000",
    "primaryAccent": "#0176d3",
    "primaryAccentContrast": "#ffffff",
    "neutral": "#747474"
  },
  "borderWeight": {
    "none": { "value": 0, "unit": "rem" },
    "thin": { "value": 0.0625, "unit": "rem" },
    "medium": { "value": 0.125, "unit": "rem" },
    "thick": { "value": 0.1875, "unit": "rem" }
  },
  "borderRadius": {
    "square": { "value": 0, "unit": "rem" },
    "round": { "value": 0.25, "unit": "rem" }
  },
  "typography": {
    "heading": {
      "heading1": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.xxLarge}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      },
      "heading2": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.xLarge}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      },
      "heading3": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.large}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      },
      "heading4": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.medium}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      },
      "heading5": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.small}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      },
      "heading6": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.xSmall}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      }
    },
    "paragraph": {
      "paragraph1": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.medium}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      },
      "paragraph2": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.small}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      }
    },
    "button": {
      "button1": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.medium}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      }
    },
    "input": {
      "input1": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.medium}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      }
    },
    "label": {
      "label1": {
        "fontFamily": "{!$brand.fontFamily.arial}",
        "fontSize": "{!$brand.fontSize.small}",
        "lineHeight": 1.5,
        "fontWeight": "{!$brand.fontWeight.normal}",
        "letterSpacing": "normal",
        "textTransform": "none"
      }
    }
  },
  "buttonStyleGroup": {
    "primary": {
      "lightning:buttonColorGroup": {
        "backgroundColor": "{!$brand.colorScheme.primaryAccent}",
        "textColor": "{!$brand.colorScheme.primaryAccentContrast}",
        "borderColor": "{!$brand.colorScheme.primaryAccent}",
        "backgroundHoverColor": "{!$brand.colorScheme.primaryAccentDerived}",
        "textHoverColor": "{!$brand.colorScheme.primaryAccentContrastDerived}",
        "borderHoverColor": "{!$brand.colorScheme.primaryAccentDerived}"
      },
      "lightning:borderRadius": "{!$brand.borderRadius.round}",
      "lightning:borderWidth": "{!$brand.borderWeight.thin}",
      "lightning:typography": "{!$brand.typography.button.button1}",
      "lightning:padding": {
        "top": { "value": 0.5, "unit": "rem" },
        "bottom": { "value": 0.5, "unit": "rem" },
        "left": { "value": 1, "unit": "rem" },
        "right": { "value": 1, "unit": "rem" }
      }
    },
    "secondary": {
      "lightning:buttonColorGroup": {
        "backgroundColor": "{!$brand.colorScheme.primaryAccentContrast}",
        "textColor": "{!$brand.colorScheme.primaryAccent}",
        "borderColor": "{!$brand.colorScheme.primaryAccent}",
        "backgroundHoverColor": "{!$brand.colorScheme.primaryAccentContrastDerived}",
        "textHoverColor": "{!$brand.colorScheme.primaryAccentDerived}",
        "borderHoverColor": "{!$brand.colorScheme.primaryAccentDerived}"
      },
      "lightning:borderRadius": "{!$brand.borderRadius.round}",
      "lightning:borderWidth": "{!$brand.borderWeight.thin}",
      "lightning:typography": "{!$brand.typography.button.button1}",
      "lightning:padding": {
        "top": { "value": 0.5, "unit": "rem" },
        "bottom": { "value": 0.5, "unit": "rem" },
        "left": { "value": 1, "unit": "rem" },
        "right": { "value": 1, "unit": "rem" }
      }
    },
    "tertiary": {
      "lightning:buttonColorGroup": {
        "textColor": "{!$brand.colorScheme.primaryAccent}",
        "textHoverColor": "{!$brand.colorScheme.primaryAccentDerived}"
      },
      "lightning:borderRadius": "{!$brand.borderRadius.round}",
      "lightning:borderWidth": "{!$brand.borderWeight.none}",
      "lightning:typography": "{!$brand.typography.button.button1}",
      "lightning:padding": {
        "top": { "value": 0.5, "unit": "rem" },
        "bottom": { "value": 0.5, "unit": "rem" },
        "left": { "value": 1, "unit": "rem" },
        "right": { "value": 1, "unit": "rem" }
      }
    }
  }
}
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 472kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 322kUpdated Claude CodeCodexVerifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 322kUpdated Claude CodeCodexVerifiedInstall
executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is availableStars: 322kUpdated Claude CodeCodexVerifiedInstall