{
  "plugins": [
    "react",
    "import"
  ],
  "rules": {
    "react/forbid-elements": [
      "warn",
      {
        "forbid": []
      }
    ],
    "no-restricted-imports": [
      "warn",
      {
        "patterns": [
          {
            "group": [
              "ui_kits/dashboard/**"
            ],
            "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*(?!['\\\"]?(?:IBM Plex Sans Arabic))/i]",
        "message": "Font not provided by the design system. Available: IBM Plex Sans Arabic."
      }
    ]
  },
  "overrides": [
    {
      "files": [
        "**/index.js"
      ],
      "rules": {
        "no-restricted-imports": "off"
      }
    }
  ],
  "x-omelette": {
    "components": {},
    "tokens": [
      "--accent",
      "--accent-foreground",
      "--background",
      "--bg",
      "--bg-1",
      "--bg-2",
      "--bg-3",
      "--border",
      "--card",
      "--card-foreground",
      "--chart-1",
      "--chart-2",
      "--chart-3",
      "--chart-4",
      "--chart-5",
      "--danger",
      "--danger-soft",
      "--destructive",
      "--destructive-foreground",
      "--dur-fast",
      "--dur-med",
      "--dur-slow",
      "--ease-in-out",
      "--ease-out",
      "--fg-1",
      "--fg-2",
      "--fg-3",
      "--fg-4",
      "--fg-5",
      "--fg-6",
      "--font-sans",
      "--foreground",
      "--fs-display-2xl",
      "--fs-display-lg",
      "--fs-display-md",
      "--fs-display-sm",
      "--fs-display-xl",
      "--fs-display-xs",
      "--fs-text-lg",
      "--fs-text-md",
      "--fs-text-sm",
      "--fs-text-xl",
      "--fs-text-xs",
      "--fw-bold",
      "--fw-light",
      "--fw-medium",
      "--fw-regular",
      "--fw-semibold",
      "--info",
      "--info-soft",
      "--input",
      "--lh-normal",
      "--lh-relaxed",
      "--lh-snug",
      "--lh-tight",
      "--line",
      "--line-2",
      "--line-3",
      "--muted",
      "--muted-foreground",
      "--overlay",
      "--popover",
      "--popover-foreground",
      "--primary",
      "--primary-foreground",
      "--primary-hover",
      "--primary-pressed",
      "--radius",
      "--radius-2xl",
      "--radius-lg",
      "--radius-md",
      "--radius-pill",
      "--radius-sm",
      "--radius-xl",
      "--radius-xs",
      "--rekaz",
      "--rekaz-100",
      "--rekaz-200",
      "--rekaz-300",
      "--rekaz-400",
      "--rekaz-50",
      "--rekaz-500",
      "--rekaz-600",
      "--rekaz-gradient",
      "--rekaz-gradient-diag",
      "--rekaz-hover",
      "--rekaz-pressed",
      "--rekaz-ring",
      "--ring",
      "--secondary",
      "--secondary-foreground",
      "--shadow-brand",
      "--shadow-button",
      "--shadow-focus",
      "--shadow-lg",
      "--shadow-md",
      "--shadow-sm",
      "--shadow-xs",
      "--space-0",
      "--space-1",
      "--space-10",
      "--space-12",
      "--space-16",
      "--space-2",
      "--space-3",
      "--space-4",
      "--space-5",
      "--space-6",
      "--space-8",
      "--success",
      "--success-soft",
      "--warning",
      "--warning-soft"
    ],
    "tokenKinds": {
      "--rekaz": "color",
      "--rekaz-50": "color",
      "--rekaz-100": "color",
      "--rekaz-200": "color",
      "--rekaz-300": "color",
      "--rekaz-400": "color",
      "--rekaz-500": "color",
      "--rekaz-600": "color",
      "--rekaz-hover": "color",
      "--rekaz-pressed": "color",
      "--rekaz-ring": "color",
      "--rekaz-gradient": "other",
      "--rekaz-gradient-diag": "other",
      "--background": "color",
      "--foreground": "color",
      "--card": "color",
      "--card-foreground": "color",
      "--popover": "color",
      "--popover-foreground": "color",
      "--primary": "color",
      "--primary-foreground": "color",
      "--primary-hover": "color",
      "--primary-pressed": "color",
      "--secondary": "color",
      "--secondary-foreground": "color",
      "--muted": "color",
      "--muted-foreground": "color",
      "--accent": "color",
      "--accent-foreground": "color",
      "--destructive": "color",
      "--destructive-foreground": "color",
      "--border": "color",
      "--input": "color",
      "--ring": "color",
      "--chart-1": "color",
      "--chart-2": "color",
      "--chart-3": "color",
      "--chart-4": "color",
      "--chart-5": "color",
      "--fg-1": "color",
      "--fg-2": "color",
      "--fg-3": "color",
      "--fg-4": "color",
      "--fg-5": "color",
      "--fg-6": "color",
      "--bg": "color",
      "--bg-1": "color",
      "--bg-2": "color",
      "--bg-3": "color",
      "--line": "color",
      "--line-2": "color",
      "--line-3": "color",
      "--overlay": "color",
      "--success": "color",
      "--success-soft": "color",
      "--warning": "color",
      "--warning-soft": "color",
      "--danger": "color",
      "--danger-soft": "color",
      "--info": "color",
      "--info-soft": "color",
      "--font-sans": "font",
      "--fs-display-2xl": "spacing",
      "--fs-display-xl": "spacing",
      "--fs-display-lg": "spacing",
      "--fs-display-md": "spacing",
      "--fs-display-sm": "spacing",
      "--fs-display-xs": "spacing",
      "--fs-text-xl": "font",
      "--fs-text-lg": "font",
      "--fs-text-md": "font",
      "--fs-text-sm": "font",
      "--fs-text-xs": "font",
      "--lh-tight": "other",
      "--lh-snug": "other",
      "--lh-normal": "other",
      "--lh-relaxed": "other",
      "--fw-light": "other",
      "--fw-regular": "other",
      "--fw-medium": "other",
      "--fw-semibold": "other",
      "--fw-bold": "other",
      "--radius": "radius",
      "--radius-xs": "radius",
      "--radius-sm": "radius",
      "--radius-md": "radius",
      "--radius-lg": "radius",
      "--radius-xl": "radius",
      "--radius-2xl": "radius",
      "--radius-pill": "radius",
      "--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",
      "--shadow-xs": "shadow",
      "--shadow-sm": "shadow",
      "--shadow-md": "shadow",
      "--shadow-lg": "shadow",
      "--shadow-button": "shadow",
      "--shadow-brand": "shadow",
      "--shadow-focus": "shadow",
      "--ease-out": "other",
      "--ease-in-out": "other",
      "--dur-fast": "other",
      "--dur-med": "other",
      "--dur-slow": "other"
    },
    "fontFamilies": [
      "IBM Plex Sans Arabic"
    ]
  }
}