{
  "$description": "NRE.Com.Net design tokens. Single source for colours, type and sizes. tokens.css and the logos are generated from it (scripts/).",
  "color": {
    "$type": "color",
    "ash": {
      "50": {
        "$value": "#F7F7F7",
        "$description": "Chalk. Raised surfaces in the light scheme."
      },
      "100": {
        "$value": "#EBEBEB",
        "$description": "Ash. Page background in the light scheme, text in the dark one."
      },
      "200": {
        "$value": "#D9D9D9",
        "$description": "Lines and dividers in the light scheme."
      },
      "400": {
        "$value": "#A3A3A3",
        "$description": "Smoke light. Secondary text in the dark scheme."
      },
      "600": {
        "$value": "#666666",
        "$description": "Smoke. Secondary text in the light scheme."
      },
      "700": {
        "$value": "#4B4B4B",
        "$description": "Graphite. Official grey of NemesisRE: the stems of the mark."
      },
      "800": {
        "$value": "#2E2E2E",
        "$description": "Raised surfaces and lines in the dark scheme."
      },
      "900": {
        "$value": "#232323",
        "$description": "Soot. Page background in the dark scheme."
      },
      "950": {
        "$value": "#1A1A1A",
        "$description": "Ink. Body text in the light scheme."
      }
    },
    "ember": {
      "400": {
        "$value": "#EC6A63",
        "$description": "Spark. Red for text and links on dark backgrounds."
      },
      "500": {
        "$value": "#DC3B34",
        "$description": "Flame. Red in the logo on dark backgrounds. Surface only, never for text."
      },
      "700": {
        "$value": "#7D0000",
        "$description": "Ember. Official red of NemesisRE: NRE in the wordmark, the feather of the mark, links."
      }
    },
    "petrol": {
      "400": {
        "$value": "#4FB3C6",
        "$description": "Petrol light. The dot of NCN on dark backgrounds."
      },
      "600": {
        "$value": "#1F7A8C",
        "$description": "Petrol. The dot of NCN on light backgrounds: mark, wordmark, list dots. Surface only, never for text."
      }
    },
    "violet": {
      "400": {
        "$value": "#9D6BFF",
        "$description": "Violet light. The dot of NGN on dark backgrounds."
      },
      "600": {
        "$value": "#6D3BE0",
        "$description": "Violet. The dot of NGN on light backgrounds. Surface only, never for text."
      }
    }
  },
  "theme": {
    "light": {
      "$type": "color",
      "bg": {
        "$value": "{color.ash.100}"
      },
      "surface": {
        "$value": "{color.ash.50}"
      },
      "line": {
        "$value": "{color.ash.200}"
      },
      "text": {
        "$value": "{color.ash.950}"
      },
      "muted": {
        "$value": "{color.ash.600}"
      },
      "mark": {
        "$value": "{color.ash.700}"
      },
      "red": {
        "$value": "{color.ember.700}"
      },
      "accent": {
        "$value": "{color.ember.700}"
      },
      "accent-strong": {
        "$value": "{color.ash.950}"
      },
      "on-accent": {
        "$value": "{color.ash.50}"
      },
      "dot": {
        "$value": "{color.petrol.600}"
      }
    },
    "dark": {
      "$type": "color",
      "bg": {
        "$value": "{color.ash.900}"
      },
      "surface": {
        "$value": "{color.ash.800}"
      },
      "line": {
        "$value": "{color.ash.700}"
      },
      "text": {
        "$value": "{color.ash.100}"
      },
      "muted": {
        "$value": "{color.ash.400}"
      },
      "mark": {
        "$value": "{color.ash.100}"
      },
      "red": {
        "$value": "{color.ember.500}"
      },
      "accent": {
        "$value": "{color.ember.400}"
      },
      "accent-strong": {
        "$value": "{color.ash.50}"
      },
      "on-accent": {
        "$value": "{color.ash.950}"
      },
      "dot": {
        "$value": "{color.petrol.400}"
      }
    }
  },
  "brand": {
    "$description": "Overrides per brand of the family. NCN is the default; data-brand=\"ngn\" or \"nemesisre\" switches.",
    "ngn": {
      "light": {
        "$type": "color",
        "dot": {
          "$value": "{color.violet.600}"
        }
      },
      "dark": {
        "$type": "color",
        "dot": {
          "$value": "{color.violet.400}"
        }
      }
    },
    "nemesisre": {
      "light": {
        "$type": "color",
        "dot": {
          "$value": "{color.ember.700}"
        }
      },
      "dark": {
        "$type": "color",
        "dot": {
          "$value": "{color.ember.500}"
        }
      }
    }
  },
  "font": {
    "family": {
      "$type": "fontFamily",
      "sans": {
        "$value": [
          "Archivo",
          "Arial",
          "Helvetica",
          "sans-serif"
        ]
      },
      "mono": {
        "$value": [
          "Commit Mono",
          "ui-monospace",
          "Menlo",
          "Consolas",
          "monospace"
        ]
      }
    },
    "width": {
      "$type": "number",
      "normal": {
        "$value": 100,
        "$description": "Body text and controls."
      },
      "wide": {
        "$value": 125,
        "$description": "Headings and wordmark (font-stretch 125 %)."
      }
    },
    "weight": {
      "$type": "fontWeight",
      "text": {
        "$value": 400
      },
      "strong": {
        "$value": 600
      },
      "title": {
        "$value": 650
      }
    },
    "size": {
      "$type": "dimension",
      "small": {
        "$value": "0.875rem"
      },
      "text": {
        "$value": "1.0625rem"
      },
      "lead": {
        "$value": "1.3125rem"
      },
      "h3": {
        "$value": "1.3125rem"
      },
      "h2": {
        "$value": "1.75rem"
      },
      "h1": {
        "$value": "clamp(2rem, 1.1rem + 3.4vw, 3.25rem)"
      }
    },
    "leading": {
      "$type": "number",
      "title": {
        "$value": 1.08
      },
      "text": {
        "$value": 1.55
      }
    }
  },
  "space": {
    "$type": "dimension",
    "1": {
      "$value": "0.25rem"
    },
    "2": {
      "$value": "0.5rem"
    },
    "3": {
      "$value": "0.75rem"
    },
    "4": {
      "$value": "1rem"
    },
    "6": {
      "$value": "1.5rem"
    },
    "8": {
      "$value": "2rem"
    },
    "12": {
      "$value": "3rem"
    },
    "16": {
      "$value": "4rem"
    },
    "24": {
      "$value": "6rem"
    }
  },
  "radius": {
    "$type": "dimension",
    "control": {
      "$value": "6px",
      "$description": "Buttons, input fields, code."
    },
    "round": {
      "$value": "999px",
      "$description": "Round shapes only: status dots and the dot of the brand."
    }
  },
  "measure": {
    "$type": "dimension",
    "text": {
      "$value": "62ch",
      "$description": "Maximum line length for body text."
    },
    "page": {
      "$value": "72rem"
    }
  },
  "motion": {
    "$description": "Motion of the brand: the feather glides into place once, for the networks the dot follows. Offsets in units of the 64 grid of the mark. Only with prefers-reduced-motion: no-preference.",
    "feather": {
      "duration": {
        "$type": "duration",
        "$value": "700ms"
      },
      "delay": {
        "$type": "duration",
        "$value": "120ms"
      },
      "easing": {
        "$type": "cubicBezier",
        "$value": [
          0.2,
          0.9,
          0.25,
          1
        ],
        "$description": "Fast start, soft landing."
      },
      "offset-x": {
        "$type": "number",
        "$value": -9,
        "$description": "Starts left of the final position."
      },
      "offset-y": {
        "$type": "number",
        "$value": -10,
        "$description": "Starts above the final position."
      }
    },
    "dot": {
      "duration": {
        "$type": "duration",
        "$value": "300ms"
      },
      "delay": {
        "$type": "duration",
        "$value": "650ms",
        "$description": "The dot appears when the feather has nearly arrived."
      },
      "easing": {
        "$type": "cubicBezier",
        "$value": [
          0,
          0,
          0.58,
          1
        ],
        "$description": "ease-out."
      }
    }
  },
  "discourse": {
    "$description": "Colour palettes for Discourse (ngn.gg), based on the default theme Foundation. Keys are the twelve base colours of Discourse. scripts/build_discourse.py generates discourse/ from it and checks the contrast. References to color.* where possible; the status colours and tints exist nowhere else in the brand.",
    "$type": "color",
    "light": {
      "primary": {
        "$value": "{color.ash.950}",
        "$description": "Text."
      },
      "secondary": {
        "$value": "{color.ash.50}",
        "$description": "Page background."
      },
      "tertiary": {
        "$value": "{color.ember.700}",
        "$description": "Links and primary buttons. Brand red."
      },
      "quaternary": {
        "$value": "{color.violet.600}",
        "$description": "Accent of NGN."
      },
      "header_background": {
        "$value": "{color.ash.100}"
      },
      "header_primary": {
        "$value": "{color.ash.950}"
      },
      "highlight": {
        "$value": "#DCCFFA",
        "$description": "Violet tint for highlighted posts."
      },
      "selected": {
        "$value": "#E4DCF7",
        "$description": "Violet tint for the selected row."
      },
      "hover": {
        "$value": "{color.ash.100}"
      },
      "danger": {
        "$value": "#C62828",
        "$description": "Errors. Lighter than the brand red so errors and links are not confused."
      },
      "success": {
        "$value": "#1E7B3F"
      },
      "love": {
        "$value": "#C2185B",
        "$description": "Like heart."
      }
    },
    "dark": {
      "primary": {
        "$value": "{color.ash.100}"
      },
      "secondary": {
        "$value": "{color.ash.900}"
      },
      "tertiary": {
        "$value": "{color.ember.400}"
      },
      "quaternary": {
        "$value": "{color.violet.400}"
      },
      "header_background": {
        "$value": "{color.ash.950}"
      },
      "header_primary": {
        "$value": "{color.ash.100}"
      },
      "highlight": {
        "$value": "#3B2A6B"
      },
      "selected": {
        "$value": "#2A2535"
      },
      "hover": {
        "$value": "#2A2A2A",
        "$description": "Between Soot and Ash 800, so links on hover still reach 4.5 : 1."
      },
      "danger": {
        "$value": "#FF6B63"
      },
      "success": {
        "$value": "#3DBE6B"
      },
      "love": {
        "$value": "#FF7AA2"
      }
    }
  }
}
