export const defaultChatInputTokens = {
    color: {
        brandPrimary: "#6D4AFF",
        surfaceInputDefault: "#FFFFFF",
        surfaceInputFocus: "#F7F4FF",
        surfaceInputRecording: "#EEE7FF",
        surfaceInputError: "#FFF1F3",
        textPrimary: "#1F1637",
        textSecondary: "#6F6790",
        iconDefault: "#6F6790",
        iconActive: "#6D4AFF",
        actionSendDefault: "#6D4AFF",
        actionSendDisabled: "#CFC6F6",
        actionSendTextOnPrimary: "#FFFFFF",
        borderDefault: "#E6E0F7",
        borderFocus: "#B9A8FF",
        borderError: "#F2A7B5",
        statusError: "#D14363",
        statusWarning: "#D98E04",
        statusSuccess: "#2E9B62",
        voiceWaveformActive: "#7C5CFF",
        voiceWaveformBackground: "#DCD2FF",
    },
    spacing: {
        inputOuter: 12,
        inputInner: 10,
        actionGap: 8,
        attachmentGap: 8,
        voiceWaveformGap: 4,
        mobileTouchInset: 12,
        desktopToolbarGap: 10,
        statusHintTop: 6,
    },
    radius: {
        inputSurface: 20,
        actionButton: 16,
        attachmentPreview: 14,
        waveformBar: 999,
        mobileHoldToTalk: 18,
        desktopInputSurface: 16,
    },
    motion: {
        pressFeedback: "120ms ease-out",
        waveformPulse: "180ms ease-out",
        stateTransition: "180ms ease",
        transcribingLoading: "900ms linear infinite",
    },
    shadow: {
        inputElevated: "0 6px 24px rgba(95, 70, 180, 0.08)",
        recordingActive: "0 0 0 4px rgba(109, 74, 255, 0.14)",
    },
    typography: {
        familyBase: '"SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif',
        familyMono: '"SF Mono", "JetBrains Mono", monospace',
        inputText: { size: 15, lineHeight: 22, weight: 400 },
        statusHint: { size: 12, lineHeight: 16, weight: 500 },
        actionLabel: { size: 13, lineHeight: 18, weight: 600 },
        voiceHoldToTalk: { size: 14, lineHeight: 20, weight: 600 },
    },
};
export function mergeChatInputTokens(overrides) {
    return {
        ...defaultChatInputTokens,
        ...overrides,
        color: { ...defaultChatInputTokens.color, ...overrides?.color },
        spacing: { ...defaultChatInputTokens.spacing, ...overrides?.spacing },
        radius: { ...defaultChatInputTokens.radius, ...overrides?.radius },
        motion: { ...defaultChatInputTokens.motion, ...overrides?.motion },
        shadow: { ...defaultChatInputTokens.shadow, ...overrides?.shadow },
        typography: {
            ...defaultChatInputTokens.typography,
            ...overrides?.typography,
            inputText: {
                ...defaultChatInputTokens.typography.inputText,
                ...overrides?.typography?.inputText,
            },
            statusHint: {
                ...defaultChatInputTokens.typography.statusHint,
                ...overrides?.typography?.statusHint,
            },
            actionLabel: {
                ...defaultChatInputTokens.typography.actionLabel,
                ...overrides?.typography?.actionLabel,
            },
            voiceHoldToTalk: {
                ...defaultChatInputTokens.typography.voiceHoldToTalk,
                ...overrides?.typography?.voiceHoldToTalk,
            },
        },
    };
}
