feat(design-tokens): add flowmonk product-specific token namespace (--fm-*)

This commit is contained in:
saravanakumardb1 2026-03-10 19:35:19 -07:00
parent ac525563dc
commit a45aa8c3fe
2 changed files with 306 additions and 262 deletions

View File

@ -1,294 +1,316 @@
// Auto-generated from bytelyst.tokens.json — do not edit manually // Auto-generated from bytelyst.tokens.json — do not edit manually
export const tokens = { export const tokens = {
meta: { "meta": {
name: 'ByteLyst Design Tokens', "name": "ByteLyst Design Tokens",
version: '1.1.0', "version": "1.1.0",
updatedAt: '2026-03-03', "updatedAt": "2026-03-03",
scale: '8pt', "scale": "8pt"
}, },
color: { "color": {
palette: { "palette": {
neutral: { "neutral": {
'0': '#FFFFFF', "0": "#FFFFFF",
'50': '#F6F8FC', "50": "#F6F8FC",
'100': '#EEF2FA', "100": "#EEF2FA",
'200': '#DCE4F2', "200": "#DCE4F2",
'300': '#BFCBDE', "300": "#BFCBDE",
'400': '#92A1BA', "400": "#92A1BA",
'500': '#6C7C98', "500": "#6C7C98",
'600': '#55637A', "600": "#55637A",
'700': '#3B455A', "700": "#3B455A",
'800': '#1A2335', "800": "#1A2335",
'900': '#0E1320', "900": "#0E1320",
'950': '#06070A', "950": "#06070A"
}, },
brand: { "brand": {
blue: '#5A8CFF', "blue": "#5A8CFF",
cyan: '#2EE6D6', "cyan": "#2EE6D6",
coral: '#FF6E6E', "coral": "#FF6E6E",
gold: '#FFD166', "gold": "#FFD166",
mint: '#34D399', "mint": "#34D399",
warning: '#F59E0B', "warning": "#F59E0B",
microsoftRed: '#F25022', "microsoftRed": "#F25022",
microsoftGreen: '#7FBA00', "microsoftGreen": "#7FBA00",
microsoftBlue: '#00A4EF', "microsoftBlue": "#00A4EF",
microsoftYellow: '#FFB900', "microsoftYellow": "#FFB900",
googleBlue: '#4285F4', "googleBlue": "#4285F4",
googleGreen: '#34A853', "googleGreen": "#34A853",
googleYellow: '#FBBC05', "googleYellow": "#FBBC05",
googleRed: '#EA4335', "googleRed": "#EA4335"
}
}, },
"semantic": {
"dark": {
"bgCanvas": "#06070A",
"bgElevated": "#0E1118",
"surfaceCard": "#121725",
"surfaceMuted": "#1A2335",
"borderDefault": "rgba(255,255,255,0.12)",
"borderStrong": "rgba(255,255,255,0.22)",
"textPrimary": "#EFF4FF",
"textSecondary": "#A5B1C7",
"textTertiary": "#6C7C98",
"accentPrimary": "#5A8CFF",
"accentSecondary": "#2EE6D6",
"success": "#34D399",
"warning": "#F59E0B",
"danger": "#FF6E6E",
"focusRing": "rgba(90,140,255,0.45)",
"overlayScrim": "rgba(5,8,18,0.72)"
}, },
semantic: { "light": {
dark: { "bgCanvas": "#F6F8FC",
bgCanvas: '#06070A', "bgElevated": "#EEF2FA",
bgElevated: '#0E1118', "surfaceCard": "#FFFFFF",
surfaceCard: '#121725', "surfaceMuted": "#F3F5FA",
surfaceMuted: '#1A2335', "borderDefault": "rgba(14,19,32,0.12)",
borderDefault: 'rgba(255,255,255,0.12)', "borderStrong": "rgba(14,19,32,0.24)",
borderStrong: 'rgba(255,255,255,0.22)', "textPrimary": "#0E1320",
textPrimary: '#EFF4FF', "textSecondary": "#55637A",
textSecondary: '#A5B1C7', "textTertiary": "#6C7C98",
textTertiary: '#6C7C98', "accentPrimary": "#5A8CFF",
accentPrimary: '#5A8CFF', "accentSecondary": "#2EE6D6",
accentSecondary: '#2EE6D6', "success": "#13956A",
success: '#34D399', "warning": "#B87504",
warning: '#F59E0B', "danger": "#D24242",
danger: '#FF6E6E', "focusRing": "rgba(90,140,255,0.35)",
focusRing: 'rgba(90,140,255,0.45)', "overlayScrim": "rgba(10,13,23,0.5)"
overlayScrim: 'rgba(5,8,18,0.72)', }
}, },
light: { "brain": {
bgCanvas: '#F6F8FC', "work": {
bgElevated: '#EEF2FA', "from": "#5A8CFF",
surfaceCard: '#FFFFFF', "to": "#2EE6D6"
surfaceMuted: '#F3F5FA',
borderDefault: 'rgba(14,19,32,0.12)',
borderStrong: 'rgba(14,19,32,0.24)',
textPrimary: '#0E1320',
textSecondary: '#55637A',
textTertiary: '#6C7C98',
accentPrimary: '#5A8CFF',
accentSecondary: '#2EE6D6',
success: '#13956A',
warning: '#B87504',
danger: '#D24242',
focusRing: 'rgba(90,140,255,0.35)',
overlayScrim: 'rgba(10,13,23,0.5)',
}, },
"home": {
"from": "#FF6E6E",
"to": "#FFD166"
}, },
brain: { "money": {
work: { "from": "#34D399",
from: '#5A8CFF', "to": "#2EE6D6"
to: '#2EE6D6',
}, },
home: { "health": {
from: '#FF6E6E', "from": "#2EE6D6",
to: '#FFD166', "to": "#9FE870"
}, },
money: { "global": {
from: '#34D399', "from": "#7D8FB4",
to: '#2EE6D6', "to": "#A5B1C7"
}
}, },
health: { "jarvisjr": {
from: '#2EE6D6', "accentPrimary": "#7C6BFF",
to: '#9FE870', "accentSecondary": "#5AE6C8",
"accentVoice": "#FF6B8A",
"agentCoach": "#5A8CFF",
"agentLingua": "#FFB74D",
"agentSpark": "#E040FB",
"agentMentor": "#34D399",
"agentMirror": "#2EE6D6",
"agentOrator": "#FF9F43"
}, },
global: { "peakpulse": {
from: '#7D8FB4', "activityHike": "#34D399",
to: '#A5B1C7', "activitySki": "#5A8CFF",
"speedZoneSlow": "#34D399",
"speedZoneFast": "#FFD166",
"speedZoneDanger": "#FF6E6E",
"elevationGain": "#2EE6D6",
"elevationLoss": "#FF9F43",
"personalBest": "#FFD700",
"streakActive": "#34D399",
"streakBroken": "#FF6E6E"
}, },
"chronomind": {
"urgencyCritical": "#FF6E6E",
"urgencyImportant": "#FFD166",
"urgencyStandard": "#5A8CFF",
"urgencyGentle": "#34D399",
"urgencyPassive": "#A5B1C7",
"focusMode": "#7C6BFF",
"pomodoroWork": "#34D399",
"pomodoroBreak": "#5A8CFF",
"cascadeWarning": "#FF9F43",
"timerComplete": "#34D399"
}, },
jarvisjr: { "nomgap": {
accentPrimary: '#7C6BFF', "stageFed": "#FF9F43",
accentSecondary: '#5AE6C8', "stageEarlyFast": "#FECA57",
accentVoice: '#FF6B8A', "stageFasted": "#48DBFB",
agentCoach: '#5A8CFF', "stageKetosis": "#5A8CFF",
agentLingua: '#FFB74D', "stageDeepAutophagy": "#A66BFF",
agentSpark: '#E040FB', "stageExtended": "#FFD700",
agentMentor: '#34D399', "autophagyMeter": "#5AE68C",
agentMirror: '#2EE6D6', "hydrationReminder": "#48DBFB",
agentOrator: '#FF9F43', "electrolyteAlert": "#FF9F43",
"safetyWarning": "#FF6E6E"
}, },
peakpulse: { "lysnrai": {
activityHike: '#34D399', "recordingActive": "#FF6E6E",
activitySki: '#5A8CFF', "recordingPaused": "#FFD166",
speedZoneSlow: '#34D399', "processing": "#5A8CFF",
speedZoneFast: '#FFD166', "transcribed": "#34D399",
speedZoneDanger: '#FF6E6E', "dictationMode": "#7C6BFF",
elevationGain: '#2EE6D6', "commandMode": "#2EE6D6",
elevationLoss: '#FF9F43', "hotkeyActive": "#FF6B8A"
personalBest: '#FFD700',
streakActive: '#34D399',
streakBroken: '#FF6E6E',
}, },
chronomind: { "flowmonk": {
urgencyCritical: '#FF6E6E', "bg": "#07111F",
urgencyImportant: '#FFD166', "surface": "#0F1B2D",
urgencyStandard: '#5A8CFF', "surfaceElevated": "#152338",
urgencyGentle: '#34D399', "border": "#24344D",
urgencyPassive: '#A5B1C7', "text": "#EFF4FF",
focusMode: '#7C6BFF', "textMuted": "#A8B4C8",
pomodoroWork: '#34D399', "primary": "#5A8CFF",
pomodoroBreak: '#5A8CFF', "accent": "#5AE68C",
cascadeWarning: '#FF9F43', "warning": "#F59E0B",
timerComplete: '#34D399', "zonework": "#5A8CFF",
"zonePersonal": "#5AE68C",
"zoneHealth": "#FF6B6B",
"zoneAdmin": "#FECA57",
"zoneLearning": "#A66BFF",
"urgentBadge": "#FF6E6E",
"scheduleEntry": "#5A8CFF",
"overflowWarning": "#F59E0B",
"recommendationInfo": "#5A8CFF",
"recommendationWarning": "#F59E0B",
"recommendationCritical": "#FF6E6E"
}
}, },
nomgap: { "typography": {
stageFed: '#FF9F43', "fontFamily": {
stageEarlyFast: '#FECA57', "display": "'Space Grotesk', 'SF Pro Display', sans-serif",
stageFasted: '#48DBFB', "body": "'DM Sans', 'SF Pro Text', sans-serif",
stageKetosis: '#5A8CFF', "mono": "'IBM Plex Mono', 'SF Mono', monospace"
stageDeepAutophagy: '#A66BFF',
stageExtended: '#FFD700',
autophagyMeter: '#5AE68C',
hydrationReminder: '#48DBFB',
electrolyteAlert: '#FF9F43',
safetyWarning: '#FF6E6E',
}, },
lysnrai: { "fontWeight": {
recordingActive: '#FF6E6E', "regular": 400,
recordingPaused: '#FFD166', "medium": 500,
processing: '#5A8CFF', "semibold": 600,
transcribed: '#34D399', "bold": 700
dictationMode: '#7C6BFF',
commandMode: '#2EE6D6',
hotkeyActive: '#FF6B8A',
}, },
"fontSize": {
"xs": 12,
"sm": 14,
"md": 16,
"lg": 18,
"xl": 22,
"2xl": 28,
"3xl": 36
}, },
typography: { "lineHeight": {
fontFamily: { "tight": 1.2,
display: "'Space Grotesk', 'SF Pro Display', sans-serif", "normal": 1.45,
body: "'DM Sans', 'SF Pro Text', sans-serif", "relaxed": 1.65
mono: "'IBM Plex Mono', 'SF Mono', monospace",
}, },
fontWeight: { "letterSpacing": {
regular: 400, "tight": -0.02,
medium: 500, "normal": 0,
semibold: 600, "wide": 0.02
bold: 700, }
}, },
fontSize: { "spacing": {
xs: 12, "0": 0,
sm: 14, "1": 4,
md: 16, "2": 8,
lg: 18, "3": 12,
xl: 22, "4": 16,
'2xl': 28, "5": 20,
'3xl': 36, "6": 24,
"7": 28,
"8": 32,
"10": 40,
"12": 48,
"16": 64
}, },
lineHeight: { "radius": {
tight: 1.2, "xs": 8,
normal: 1.45, "sm": 12,
relaxed: 1.65, "md": 16,
"lg": 20,
"xl": 24,
"pill": 999
}, },
letterSpacing: { "elevation": {
tight: -0.02, "none": "0 0 0 rgba(0,0,0,0)",
normal: 0, "sm": "0 4px 12px rgba(0,0,0,0.12)",
wide: 0.02, "md": "0 12px 28px rgba(0,0,0,0.18)",
"lg": "0 20px 48px rgba(0,0,0,0.24)"
}, },
"motion": {
"duration": {
"instant": 70,
"fast": 140,
"base": 220,
"slow": 320
}, },
spacing: { "easing": {
'0': 0, "standard": "cubic-bezier(0.2, 0.0, 0.2, 1)",
'1': 4, "decelerate": "cubic-bezier(0.0, 0.0, 0.2, 1)",
'2': 8, "accelerate": "cubic-bezier(0.4, 0.0, 1, 1)"
'3': 12, }
'4': 16,
'5': 20,
'6': 24,
'7': 28,
'8': 32,
'10': 40,
'12': 48,
'16': 64,
}, },
radius: { "breakpoints": {
xs: 8, "mobile": 0,
sm: 12, "tablet": 768,
md: 16, "desktop": 1200,
lg: 20, "wide": 1440
xl: 24,
pill: 999,
}, },
elevation: { "layout": {
none: '0 0 0 rgba(0,0,0,0)', "maxContentWidth": 1280,
sm: '0 4px 12px rgba(0,0,0,0.12)', "mobileGutter": 16,
md: '0 12px 28px rgba(0,0,0,0.18)', "tabletGutter": 24,
lg: '0 20px 48px rgba(0,0,0,0.24)', "desktopGutter": 32,
"touchTargetMin": 44
}, },
motion: { "zIndex": {
duration: { "hidden": -1,
instant: 70, "base": 0,
fast: 140, "dropdown": 100,
base: 220, "sticky": 200,
slow: 320, "fixed": 300,
"overlay": 400,
"modal": 500,
"popover": 600,
"toast": 700,
"tooltip": 800
}, },
easing: { "icon": {
standard: 'cubic-bezier(0.2, 0.0, 0.2, 1)', "xs": 12,
decelerate: 'cubic-bezier(0.0, 0.0, 0.2, 1)', "sm": 16,
accelerate: 'cubic-bezier(0.4, 0.0, 1, 1)', "md": 20,
"lg": 24,
"xl": 32,
"2xl": 48
}, },
"grid": {
"columns": 12,
"gutter": 24,
"maxWidth": 1200,
"breakpoints": {
"xs": 0,
"sm": 576,
"md": 768,
"lg": 992,
"xl": 1200,
"xxl": 1400
}
}, },
breakpoints: { "opacity": {
mobile: 0, "0": 0,
tablet: 768, "10": 0.1,
desktop: 1200, "20": 0.2,
wide: 1440, "30": 0.3,
}, "40": 0.4,
layout: { "50": 0.5,
maxContentWidth: 1280, "60": 0.6,
mobileGutter: 16, "70": 0.7,
tabletGutter: 24, "80": 0.8,
desktopGutter: 32, "90": 0.9,
touchTargetMin: 44, "100": 1
}, }
zIndex: {
hidden: -1,
base: 0,
dropdown: 100,
sticky: 200,
fixed: 300,
overlay: 400,
modal: 500,
popover: 600,
toast: 700,
tooltip: 800,
},
icon: {
xs: 12,
sm: 16,
md: 20,
lg: 24,
xl: 32,
'2xl': 48,
},
grid: {
columns: 12,
gutter: 24,
maxWidth: 1200,
breakpoints: {
xs: 0,
sm: 576,
md: 768,
lg: 992,
xl: 1200,
xxl: 1400,
},
},
opacity: {
'0': 0,
'10': 0.1,
'20': 0.2,
'30': 0.3,
'40': 0.4,
'50': 0.5,
'60': 0.6,
'70': 0.7,
'80': 0.8,
'90': 0.9,
'100': 1,
},
} as const; } as const;
export type Tokens = typeof tokens; export type Tokens = typeof tokens;

View File

@ -140,6 +140,28 @@
"dictationMode": "#7C6BFF", "dictationMode": "#7C6BFF",
"commandMode": "#2EE6D6", "commandMode": "#2EE6D6",
"hotkeyActive": "#FF6B8A" "hotkeyActive": "#FF6B8A"
},
"flowmonk": {
"bg": "#07111F",
"surface": "#0F1B2D",
"surfaceElevated": "#152338",
"border": "#24344D",
"text": "#EFF4FF",
"textMuted": "#A8B4C8",
"primary": "#5A8CFF",
"accent": "#5AE68C",
"warning": "#F59E0B",
"zonework": "#5A8CFF",
"zonePersonal": "#5AE68C",
"zoneHealth": "#FF6B6B",
"zoneAdmin": "#FECA57",
"zoneLearning": "#A66BFF",
"urgentBadge": "#FF6E6E",
"scheduleEntry": "#5A8CFF",
"overflowWarning": "#F59E0B",
"recommendationInfo": "#5A8CFF",
"recommendationWarning": "#F59E0B",
"recommendationCritical": "#FF6E6E"
} }
}, },
"typography": { "typography": {