{
  "plugins": [
    "react",
    "import"
  ],
  "rules": {
    "react/forbid-elements": [
      "warn",
      {
        "forbid": []
      }
    ],
    "no-restricted-imports": [
      "warn",
      {
        "patterns": [
          {
            "group": [
              "kit/**",
              "ui_kits/varg-app/**",
              "ui_kits/web/**"
            ],
            "message": "Import design-system components from 'index.js', not component internals."
          }
        ]
      }
    ],
    "no-restricted-syntax": [
      "warn",
      {
        "selector": "Literal[value=/#[0-9a-fA-F]{3,8}\\b/]",
        "message": "Raw hex color — use a design-system color token via var()."
      },
      {
        "selector": "Literal[value=/\\b\\d+px\\b/]",
        "message": "Raw px value — use a design-system spacing token via var()."
      },
      {
        "selector": "Literal[value=/font-family\\s*:\\s*(?!['\\\"]?(?:Stark Sans|Universal Sans))/i]",
        "message": "Font not provided by the design system. Available: Stark Sans, Universal Sans."
      }
    ]
  },
  "overrides": [
    {
      "files": [
        "**/index.js"
      ],
      "rules": {
        "no-restricted-imports": "off"
      }
    }
  ],
  "x-omelette": {
    "components": {},
    "tokens": [
      "--color-accent-info",
      "--color-accent-premium",
      "--color-accent-warning",
      "--color-action-destructive-bg",
      "--color-action-destructive-fg",
      "--color-action-primary-bg",
      "--color-action-primary-bg-hover",
      "--color-action-primary-fg",
      "--color-action-secondary-bg",
      "--color-action-secondary-bg-hover",
      "--color-action-secondary-border",
      "--color-action-secondary-fg",
      "--color-action-tinted-bg",
      "--color-action-tinted-bg-hover",
      "--color-action-tinted-fg",
      "--color-bg-app",
      "--color-bg-elevated",
      "--color-bg-inverse",
      "--color-bg-sunken",
      "--color-bg-surface",
      "--color-border-default",
      "--color-border-focus",
      "--color-border-strong",
      "--color-border-subtle",
      "--color-input-bg",
      "--color-input-border",
      "--color-input-border-error",
      "--color-input-border-focus",
      "--color-input-border-hover",
      "--color-input-border-success",
      "--color-input-label",
      "--color-input-placeholder",
      "--color-status-danger",
      "--color-status-danger-bg",
      "--color-status-info",
      "--color-status-success",
      "--color-status-success-bg",
      "--color-status-warning",
      "--color-text-disabled",
      "--color-text-inverse",
      "--color-text-muted",
      "--color-text-primary",
      "--color-text-secondary",
      "--duration-fast",
      "--duration-instant",
      "--duration-normal",
      "--duration-slow",
      "--ease-decelerate",
      "--ease-emphasized",
      "--ease-standard",
      "--focus-ring",
      "--font-display",
      "--font-mono",
      "--font-sans",
      "--leading-normal",
      "--leading-relaxed",
      "--leading-snug",
      "--leading-tight",
      "--radius-2xl",
      "--radius-circle",
      "--radius-lg",
      "--radius-md",
      "--radius-none",
      "--radius-pill",
      "--radius-sm",
      "--radius-xl",
      "--shadow-lg",
      "--shadow-md",
      "--shadow-sm",
      "--shadow-xl",
      "--shadow-xs",
      "--space-0",
      "--space-1",
      "--space-10",
      "--space-12",
      "--space-16",
      "--space-2",
      "--space-20",
      "--space-3",
      "--space-4",
      "--space-5",
      "--space-6",
      "--space-8",
      "--stark-black",
      "--stark-blue-100-dark",
      "--stark-blue-100-light",
      "--stark-cool-blue-100",
      "--stark-gold-100",
      "--stark-gold-24",
      "--stark-gold-gradient",
      "--stark-gray-100",
      "--stark-gray-200",
      "--stark-gray-300",
      "--stark-gray-400",
      "--stark-gray-500",
      "--stark-gray-600",
      "--stark-green-100-dark",
      "--stark-green-100-light",
      "--stark-green-8-dark",
      "--stark-green-8-light",
      "--stark-orange-100",
      "--stark-red-100-dark",
      "--stark-red-100-light",
      "--stark-red-16-dark",
      "--stark-red-16-light",
      "--stark-white",
      "--text-2xl",
      "--text-3xl",
      "--text-4xl",
      "--text-5xl",
      "--text-base",
      "--text-lg",
      "--text-md",
      "--text-sm",
      "--text-xl",
      "--text-xs",
      "--tracking-normal",
      "--tracking-tight",
      "--tracking-wide",
      "--tracking-wider",
      "--tracking-widest",
      "--weight-extralight",
      "--weight-light",
      "--weight-medium",
      "--weight-regular",
      "--weight-semibold"
    ],
    "tokenKinds": {
      "--stark-gray-100": "color",
      "--stark-gray-200": "color",
      "--stark-gray-300": "color",
      "--stark-gray-400": "color",
      "--stark-gray-500": "color",
      "--stark-gray-600": "color",
      "--stark-black": "color",
      "--stark-white": "color",
      "--stark-red-100-dark": "color",
      "--stark-red-100-light": "color",
      "--stark-blue-100-dark": "color",
      "--stark-blue-100-light": "color",
      "--stark-green-100-dark": "color",
      "--stark-green-100-light": "color",
      "--stark-cool-blue-100": "color",
      "--stark-gold-100": "color",
      "--stark-orange-100": "color",
      "--stark-red-16-dark": "color",
      "--stark-red-16-light": "color",
      "--stark-green-8-dark": "color",
      "--stark-green-8-light": "color",
      "--stark-gold-24": "color",
      "--stark-gold-gradient": "other",
      "--color-accent-info": "color",
      "--color-accent-premium": "color",
      "--color-accent-warning": "color",
      "--color-bg-app": "color",
      "--color-bg-surface": "color",
      "--color-bg-elevated": "color",
      "--color-bg-sunken": "color",
      "--color-bg-inverse": "color",
      "--color-text-primary": "font",
      "--color-text-secondary": "font",
      "--color-text-muted": "font",
      "--color-text-inverse": "font",
      "--color-text-disabled": "font",
      "--color-border-subtle": "color",
      "--color-border-default": "color",
      "--color-border-strong": "color",
      "--color-border-focus": "color",
      "--color-action-primary-bg": "color",
      "--color-action-primary-fg": "color",
      "--color-action-primary-bg-hover": "color",
      "--color-action-secondary-bg": "color",
      "--color-action-secondary-fg": "color",
      "--color-action-secondary-border": "color",
      "--color-action-secondary-bg-hover": "color",
      "--color-action-tinted-bg": "color",
      "--color-action-tinted-fg": "color",
      "--color-action-tinted-bg-hover": "color",
      "--color-action-destructive-bg": "color",
      "--color-action-destructive-fg": "color",
      "--color-status-success": "color",
      "--color-status-success-bg": "color",
      "--color-status-danger": "color",
      "--color-status-danger-bg": "color",
      "--color-status-info": "color",
      "--color-status-warning": "color",
      "--color-input-bg": "color",
      "--color-input-border": "color",
      "--color-input-border-hover": "color",
      "--color-input-border-focus": "color",
      "--color-input-border-error": "color",
      "--color-input-border-success": "color",
      "--color-input-placeholder": "color",
      "--color-input-label": "color",
      "--shadow-xs": "shadow",
      "--shadow-sm": "shadow",
      "--shadow-md": "shadow",
      "--shadow-lg": "shadow",
      "--shadow-xl": "shadow",
      "--focus-ring": "color",
      "--font-display": "font",
      "--font-sans": "font",
      "--font-mono": "font",
      "--text-xs": "font",
      "--text-sm": "font",
      "--text-base": "font",
      "--text-md": "font",
      "--text-lg": "font",
      "--text-xl": "font",
      "--text-2xl": "font",
      "--text-3xl": "font",
      "--text-4xl": "font",
      "--text-5xl": "font",
      "--weight-extralight": "font",
      "--weight-light": "font",
      "--weight-regular": "font",
      "--weight-medium": "font",
      "--weight-semibold": "font",
      "--leading-tight": "font",
      "--leading-snug": "font",
      "--leading-normal": "font",
      "--leading-relaxed": "font",
      "--tracking-tight": "font",
      "--tracking-normal": "font",
      "--tracking-wide": "font",
      "--tracking-wider": "font",
      "--tracking-widest": "font",
      "--space-0": "spacing",
      "--space-1": "spacing",
      "--space-2": "spacing",
      "--space-3": "spacing",
      "--space-4": "spacing",
      "--space-5": "spacing",
      "--space-6": "spacing",
      "--space-8": "spacing",
      "--space-10": "spacing",
      "--space-12": "spacing",
      "--space-16": "spacing",
      "--space-20": "spacing",
      "--radius-none": "radius",
      "--radius-sm": "radius",
      "--radius-md": "radius",
      "--radius-lg": "radius",
      "--radius-xl": "radius",
      "--radius-2xl": "radius",
      "--radius-pill": "radius",
      "--radius-circle": "radius",
      "--duration-instant": "other",
      "--duration-fast": "other",
      "--duration-normal": "other",
      "--duration-slow": "other",
      "--ease-standard": "other",
      "--ease-emphasized": "other",
      "--ease-decelerate": "other"
    },
    "fontFamilies": [
      "Stark Sans",
      "Universal Sans"
    ]
  }
}