"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const consts_1 = require("./consts");
const baseStyle = {
    container: {
        focusWithinRing: 3,
        color: consts_1.inputColors.inputText,
    },
    input: {
        placeholderTextColor: consts_1.inputColors.placeholder,
    },
};
const defaultProps = {
    size: 'lg',
    variant: 'grey',
};
const parts = ['container', 'icon', 'input', 'label'];
const sizes = {
    sm: {
        container: {
            fontSize: 'sm',
            h: 24,
        },
        icon: {
            size: 'xs',
        },
        input: {},
        label: {
            fontSize: 'sm',
        },
    },
    md: {
        container: {
            fontSize: 'sm',
            h: 32,
        },
        icon: {
            size: 'sm',
        },
        input: {},
        label: {
            fontSize: 'md',
        },
    },
    lg: {
        container: {
            fontSize: 'md',
            h: 40,
        },
        icon: {
            size: 'md',
        },
        input: {},
        label: {
            fontSize: 'md', // No a mistake, we keep the same label size as md input
        },
    },
    xl: {
        container: {
            fontSize: 'lg',
            h: 48,
        },
        icon: {
            size: 'md',
        },
        input: {},
        label: {
            fontSize: 'lg',
        },
    },
};
const variants = {
    grey: {
        container: {
            borderColor: consts_1.inputColors.border,
            focusWithinRingColor: consts_1.inputColors.focus,
        },
    },
    green: {
        container: {
            borderColor: consts_1.inputColors.success,
            focusWithinRingColor: consts_1.inputColors.success,
        },
    },
    red: {
        container: {
            borderColor: consts_1.inputColors.error,
            focusWithinRingColor: consts_1.inputColors.error,
        },
    },
};
exports.default = {
    baseStyle,
    defaultProps,
    parts,
    sizes,
    variants,
};
//# sourceMappingURL=theme.js.map