{
  "$schema": "https://schemas.wp.org/trunk/theme.json",
  "version": 3,
  "settings": {
    "appearanceTools": true,
    "useRootPaddingAwareAlignments": true,
    "layout": {
      "contentSize": "720px",
      "wideSize": "1100px"
    },
    "color": {
      "custom": true,
      "customGradient": false,
      "defaultPalette": false,
      "defaultGradients": false,
      "palette": [
        { "slug": "brand-primary", "color": "#990000", "name": "Bordô UFPE" },
        { "slug": "brand-ink",      "color": "#000000", "name": "Preto" },
        { "slug": "brand-contrast", "color": "#ffffff", "name": "Branco" },
        { "slug": "surface-muted",  "color": "#e6e6e6", "name": "Cinza claro (K10)" },
        { "slug": "border-strong",  "color": "#b3b3b3", "name": "Cinza médio (K30)" },
        { "slug": "text-muted",     "color": "#666666", "name": "Cinza texto (K60)" },
        { "slug": "cinza-escuro",   "color": "#333333", "name": "Cinza escuro (K80)" }
      ]
    },
    "typography": {
      "customFontSize": true,
      "defaultFontSizes": false,
      "fontFamilies": [
        {
          "slug": "sans",
          "name": "UFPE Sans (Trebuchet)",
          "fontFamily": "\"Trebuchet MS\", \"Lucida Grande\", Tahoma, sans-serif"
        }
      ],
      "fontSizes": [
        { "slug": "small",     "size": "14px", "name": "Pequeno" },
        { "slug": "medium",    "size": "16px", "name": "Base" },
        { "slug": "large",     "size": "24px", "name": "Grande" },
        { "slug": "x-large",   "size": "32px", "name": "Título" },
        { "slug": "xx-large",  "size": "44px", "name": "Display" }
      ]
    },
    "spacing": {
      "defaultSpacingSizes": false,
      "units": ["px", "rem", "%", "vh", "vw"],
      "spacingSizes": [
        { "slug": "10", "size": "8px",  "name": "1 — 8px" },
        { "slug": "20", "size": "16px", "name": "2 — 16px" },
        { "slug": "30", "size": "24px", "name": "3 — 24px" },
        { "slug": "40", "size": "32px", "name": "4 — 32px" },
        { "slug": "50", "size": "48px", "name": "6 — 48px" },
        { "slug": "60", "size": "64px", "name": "8 — 64px" }
      ]
    }
  },
  "styles": {
    "color": {
      "background": "var:preset|color|brand-contrast",
      "text": "var:preset|color|brand-ink"
    },
    "typography": {
      "fontFamily": "var:preset|font-family|sans",
      "fontSize": "var:preset|font-size|medium",
      "lineHeight": "1.55"
    },
    "spacing": {
      "blockGap": "var:preset|spacing|30",
      "padding": {
        "top": "0",
        "bottom": "0",
        "left": "var:preset|spacing|30",
        "right": "var:preset|spacing|30"
      }
    },
    "elements": {
      "heading": {
        "color": { "text": "var:preset|color|brand-primary" },
        "typography": { "fontWeight": "700", "lineHeight": "1.2" }
      },
      "h1": { "typography": { "fontSize": "var:preset|font-size|xx-large" } },
      "h2": { "typography": { "fontSize": "var:preset|font-size|x-large" } },
      "h3": { "typography": { "fontSize": "var:preset|font-size|large" } },
      "link": {
        "color": { "text": "var:preset|color|brand-primary" },
        ":hover": { "typography": { "textDecoration": "underline" } }
      },
      "button": {
        "color": {
          "background": "var:preset|color|brand-primary",
          "text": "var:preset|color|brand-contrast"
        },
        "border": { "radius": "4px" },
        "spacing": { "padding": { "top": "12px", "bottom": "12px", "left": "24px", "right": "24px" } },
        "typography": { "fontWeight": "700" }
      }
    }
  },
  "templateParts": [
    { "name": "header", "title": "Cabeçalho", "area": "header" },
    { "name": "footer", "title": "Rodapé", "area": "footer" }
  ]
}
