SPB Git

Repository Public

tokens.json 4.7 KB 111 lines json

1{2  "$description": "MacLustr Command Center design tokens. Single source for web (CSS variables) and Apple (Swift). Dark is the default theme. Colour is reserved for state: the interface itself is graphite and neutral.",3  "color": {4    "dark": {5      "bg.canvas": "#0A0B0D",6      "bg.surface": "#111317",7      "bg.raised": "#171A1F",8      "bg.inset": "#07080A",9      "bg.hover": "#1D2127",10      "border.subtle": "#1F232A",11      "border.default": "#2A2F38",12      "border.strong": "#3B424E",13      "text.primary": "#ECEEF2",14      "text.secondary": "#A3A9B5",15      "text.tertiary": "#8B92A0",16      "text.disabled": "#4E5460",17      "accent.default": "#7CB7FF",18      "accent.muted": "#16304F",19      "accent.contrast": "#06121F",20      "state.ok": "#3DD68C",21      "state.ok.muted": "#0F2E21",22      "state.warning": "#F5B54A",23      "state.warning.muted": "#33260D",24      "state.critical": "#FF6B6B",25      "state.critical.muted": "#3A1517",26      "state.info": "#7CB7FF",27      "state.info.muted": "#16304F",28      "state.stale": "#B79CF2",29      "state.stale.muted": "#261E3D",30      "state.offline": "#6B7280",31      "state.offline.muted": "#1C1F25",32      "state.maintenance": "#5ED1E0",33      "state.maintenance.muted": "#0F2D33",34      "chart.1": "#7CB7FF",35      "chart.2": "#3DD68C",36      "chart.3": "#F5B54A",37      "chart.4": "#B79CF2",38      "chart.5": "#5ED1E0",39      "chart.6": "#FF8FB1",40      "chart.grid": "#1F232A",41      "chart.axis": "#8B92A0",42      "focus.ring": "#9CCBFF",43      "overlay.scrim": "#000000B3",44      "qr.light": "#FFFFFF",45      "qr.dark": "#000000"46    },47    "light": {48      "bg.canvas": "#F5F6F8",49      "bg.surface": "#FFFFFF",50      "bg.raised": "#FFFFFF",51      "bg.inset": "#ECEEF2",52      "bg.hover": "#E9ECF1",53      "border.subtle": "#E3E6EB",54      "border.default": "#CED3DB",55      "border.strong": "#9AA2AF",56      "text.primary": "#111317",57      "text.secondary": "#454B57",58      "text.tertiary": "#69707D",59      "text.disabled": "#A3A9B5",60      "accent.default": "#0B5FCC",61      "accent.muted": "#DCEBFF",62      "accent.contrast": "#FFFFFF",63      "state.ok": "#0E7A4A",64      "state.ok.muted": "#DDF5E8",65      "state.warning": "#8F5A00",66      "state.warning.muted": "#FCEFD2",67      "state.critical": "#C0262D",68      "state.critical.muted": "#FDE3E3",69      "state.info": "#0B5FCC",70      "state.info.muted": "#DCEBFF",71      "state.stale": "#5B3FB3",72      "state.stale.muted": "#EAE3FB",73      "state.offline": "#5B6270",74      "state.offline.muted": "#E6E8EC",75      "state.maintenance": "#0A6F7C",76      "state.maintenance.muted": "#D8F1F4",77      "chart.1": "#0B5FCC",78      "chart.2": "#0E7A4A",79      "chart.3": "#8F5A00",80      "chart.4": "#5B3FB3",81      "chart.5": "#0A6F7C",82      "chart.6": "#B3245C",83      "chart.grid": "#E3E6EB",84      "chart.axis": "#69707D",85      "focus.ring": "#0B5FCC",86      "overlay.scrim": "#11131766",87      "qr.light": "#FFFFFF",88      "qr.dark": "#000000"89    }90  },91  "space": { "0": 0, "1": 2, "2": 4, "3": 8, "4": 12, "5": 16, "6": 20, "7": 24, "8": 32, "9": 40, "10": 56, "11": 72 },92  "radius": { "none": 0, "sm": 4, "md": 6, "lg": 10, "xl": 14, "pill": 999 },93  "font": {94    "family.sans": "ui-sans-serif, -apple-system, 'SF Pro Text', 'Inter', 'Segoe UI', system-ui, sans-serif",95    "family.mono": "ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace",96    "size": { "2xs": 11, "xs": 12, "sm": 13, "md": 14, "lg": 16, "xl": 20, "2xl": 26, "3xl": 34, "display": 44 },97    "weight": { "regular": 400, "medium": 500, "semibold": 600 },98    "leading": { "tight": 1.15, "snug": 1.3, "normal": 1.5 },99    "tracking": { "tight": -0.01, "normal": 0, "caps": 0.06 }100  },101  "motion": { "instant": 80, "fast": 140, "base": 220, "slow": 360, "easing.standard": "cubic-bezier(0.2, 0, 0, 1)", "easing.exit": "cubic-bezier(0.4, 0, 1, 1)" },102  "size": { "touch.min": 44, "control.sm": 28, "control.md": 34, "control.lg": 44, "sidebar": 232, "topbar": 52, "content.max": 1680 },103  "elevation": { "raised": "0 1px 0 0 rgba(255,255,255,0.03) inset, 0 8px 24px -12px rgba(0,0,0,0.6)", "overlay": "0 24px 64px -16px rgba(0,0,0,0.75)" },104  "semantic": {105    "freshness": { "fresh": "state.ok", "stale": "state.stale", "offline": "state.offline" },106    "severity": { "info": "state.info", "warning": "state.warning", "critical": "state.critical" },107    "service": { "online": "state.ok", "stopped": "state.offline", "errored": "state.critical", "unknown": "state.stale" },108    "action": { "pending_approval": "state.warning", "queued": "state.info", "dispatched": "state.info", "running": "state.info", "succeeded": "state.ok", "failed": "state.critical", "timed_out": "state.critical", "cancelled": "state.offline", "rejected": "state.offline", "expired": "state.offline" }109  }110}111
Files main
Menu

Theme