_adherence.oxlintrc.json
{
"plugins": [
"react",
"import"
],
"rules": {
"react/forbid-elements": [
"warn",
{
"forbid": []
}
],
"no-restricted-imports": [
"warn",
{
"patterns": [
{
"group": [
"reworked-site/**",
"ui_kits/marketing-site/**"
],
"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*(?!['\\\"]?(?:Cabinet Grotesk|Inter))/i]",
"message": "Font not provided by the design system. Available: Cabinet Grotesk, Inter."
}
]
},
"overrides": [
{
"files": [
"**/index.js"
],
"rules": {
"no-restricted-imports": "off"
}
}
],
"x-omelette": {
"components": {},
"tokens": [
"--accent",
"--accent-dim",
"--accent-glow",
"--accent-hover",
"--accent-light",
"--bg",
"--bg-50",
"--bg-800",
"--bg-900",
"--bg-950",
"--bg-card",
"--bg-card-hover",
"--bg-primary",
"--bg-secondary",
"--bg-white",
"--bg2",
"--border-card",
"--border-light",
"--border-subtle",
"--cyan",
"--cyan-2",
"--duration-fast",
"--duration-normal",
"--duration-slow",
"--ease-in-out",
"--ease-out",
"--ease-snappy",
"--emerald",
"--fg-primary",
"--fg-secondary",
"--font-body",
"--font-display",
"--font-mono",
"--ink",
"--ink-muted",
"--ink-muted-2",
"--line",
"--max-prose",
"--max-width",
"--nav-height",
"--panel",
"--panel-2",
"--radius-full",
"--radius-lg",
"--radius-md",
"--radius-sm",
"--radius-xl",
"--shadow-deep",
"--shadow-glow-blue",
"--shadow-glow-blue-strong",
"--shadow-glow-cyan",
"--shadow-lg",
"--shadow-md",
"--shadow-sm",
"--shadow-xl",
"--space-1",
"--space-10",
"--space-12",
"--space-16",
"--space-2",
"--space-20",
"--space-24",
"--space-3",
"--space-32",
"--space-4",
"--space-5",
"--space-6",
"--space-8",
"--stage-act",
"--stage-decide",
"--stage-learn",
"--stage-plan",
"--stage-reason",
"--stage-sense",
"--stage-validate",
"--text-2xl",
"--text-300",
"--text-3xl",
"--text-400",
"--text-4xl",
"--text-500",
"--text-5xl",
"--text-600",
"--text-6xl",
"--text-base",
"--text-dark",
"--text-hero",
"--text-lg",
"--text-sm",
"--text-white",
"--text-xl",
"--text-xs",
"--warm"
],
"tokenKinds": {
"--font-display": "font",
"--font-body": "font",
"--font-mono": "font",
"--text-xs": "font",
"--text-sm": "font",
"--text-base": "font",
"--text-lg": "font",
"--text-xl": "font",
"--text-2xl": "font",
"--text-3xl": "font",
"--text-4xl": "font",
"--text-5xl": "font",
"--text-6xl": "font",
"--text-hero": "font",
"--bg-950": "color",
"--bg-900": "color",
"--bg-800": "color",
"--bg-50": "color",
"--bg-white": "color",
"--text-white": "font",
"--text-dark": "font",
"--text-300": "font",
"--text-400": "font",
"--text-500": "font",
"--text-600": "font",
"--accent": "color",
"--accent-hover": "color",
"--accent-light": "color",
"--accent-dim": "color",
"--accent-glow": "color",
"--border-subtle": "color",
"--border-card": "color",
"--border-light": "color",
"--bg": "color",
"--bg2": "color",
"--panel": "color",
"--panel-2": "color",
"--ink": "color",
"--ink-muted": "color",
"--ink-muted-2": "color",
"--line": "color",
"--cyan": "color",
"--cyan-2": "color",
"--emerald": "color",
"--warm": "color",
"--stage-sense": "color",
"--stage-reason": "color",
"--stage-plan": "color",
"--stage-validate": "color",
"--stage-decide": "color",
"--stage-act": "color",
"--stage-learn": "color",
"--radius-sm": "radius",
"--radius-md": "radius",
"--radius-lg": "radius",
"--radius-xl": "radius",
"--radius-full": "radius",
"--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",
"--space-24": "spacing",
"--space-32": "spacing",
"--max-width": "spacing",
"--max-prose": "spacing",
"--nav-height": "spacing",
"--shadow-sm": "shadow",
"--shadow-md": "shadow",
"--shadow-lg": "shadow",
"--shadow-xl": "shadow",
"--shadow-deep": "shadow",
"--shadow-glow-blue": "shadow",
"--shadow-glow-blue-strong": "shadow",
"--shadow-glow-cyan": "shadow",
"--ease-out": "other",
"--ease-in-out": "other",
"--ease-snappy": "other",
"--duration-fast": "other",
"--duration-normal": "other",
"--duration-slow": "other",
"--bg-primary": "color",
"--bg-secondary": "color",
"--bg-card": "color",
"--bg-card-hover": "color",
"--fg-primary": "color",
"--fg-secondary": "color"
},
"fontFamilies": [
"Cabinet Grotesk",
"Inter"
]
}
}