/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * Resolves a theme's colors to semantic color tokens.
 * Maps theme-specific colors to meaningful semantic purposes.
 */
export function resolveSemanticColors(theme) {
    return {
        text: {
            primary: theme.Foreground,
            secondary: theme.Gray,
            link: theme.AccentBlue,
            accent: theme.AccentPurple,
        },
        background: {
            primary: theme.Background,
            diff: {
                added: theme.DiffAdded,
                removed: theme.DiffRemoved,
            },
        },
        border: {
            default: theme.Gray,
            focused: theme.AccentBlue,
        },
        ui: {
            comment: theme.Comment,
            symbol: theme.Gray,
            gradient: theme.GradientColors,
        },
        status: {
            error: theme.AccentRed,
            success: theme.AccentGreen,
            warning: theme.AccentYellow,
        },
    };
}
//# sourceMappingURL=semantic-resolver.js.map