{
  "$schema": "https://www.designtokens.org/schemas/2025.10/resolver.json",
  "name": "RED",
  "version": "2025.10",
  "description": "RED design tokens: one base set, three orthogonal choices. theme picks the surface (lab is dark, paper is light, signal is Red); contrast strengthens secondary text and borders; motion removes animation time.",
  "sets": {
    "base": {
      "description": "Primitives: colour ramps, brand and Enrise colours, type, space, motion.",
      "sources": [
        { "$ref": "base/color.tokens.json" },
        { "$ref": "base/type.tokens.json" },
        { "$ref": "base/space.tokens.json" },
        { "$ref": "base/motion.tokens.json" }
      ]
    }
  },
  "modifiers": {
    "theme": {
      "description": "The surface RED is shown on.",
      "contexts": {
        "lab": [{ "$ref": "theme/lab.tokens.json" }],
        "paper": [{ "$ref": "theme/paper.tokens.json" }],
        "signal": [{ "$ref": "theme/signal.tokens.json" }]
      },
      "default": "lab"
    },
    "contrast": {
      "description": "More contrast for people who ask for it (prefers-contrast: more).",
      "contexts": {
        "standard": [],
        "more": [{ "$ref": "contrast/more.tokens.json" }]
      },
      "default": "standard"
    },
    "motion": {
      "description": "Reduced motion removes durations (prefers-reduced-motion: reduce).",
      "contexts": {
        "full": [],
        "reduced": [{ "$ref": "motion/reduced.tokens.json" }]
      },
      "default": "full"
    }
  },
  "resolutionOrder": [
    { "$ref": "#/sets/base" },
    { "$ref": "#/modifiers/theme" },
    { "$ref": "#/modifiers/contrast" },
    { "$ref": "#/modifiers/motion" }
  ]
}
