<commit_before>import base from "@siimple/preset-base";

// theme colors
export const colors = {
    primary: "#161b29",
    secondary: "#757789",
    muted: "#d8d9de",
    highlight: "#9394a3",
    white: "#fff",
};

export default {
    ...base,
    // Scales
    colors: {
        primary: colors.primary,
        secondary: colors.secondary,
        muted: colors.muted,
        text: colors.primary,
        heading: colors.primary,
        highlight: colors.highlight,
        background: colors.white,
    },
    fonts: {
        ...base.fonts,
        body: "Rubik, apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif",
        heading: "'EB Garamond', serif",
    },
    fontWeights: {
        body: "400",
        bold: "700",
        heading: "800",
    },
    // Mixins
    bordered: {
        borderColor: "primary",
        borderRadius: "0.5rem",
        borderStyle: "solid",
        borderWidth: "0.125rem",
    },
    shadowed: {
        boxShadow: [
            "0rem 1rem 1rem -0.5rem rgba(54,63,79,0.25)",
            "0 0 0 1px rgba(54,63,79,0.02)",
        ].join(","),
    },
    // Variants
    buttons: {
        outlined: {
            apply: "bordered",
            backgroundColor: colors.white,
            color: "primary",
            "&:hover": {
                backgroundColor: "primary",
                color: colors.white,
            },
        },
    },
    cards: {
        default: {
            apply: "bordered",
            backgroundColor: colors.white,
            boxShadow: ["none", "!important"],
        },
    },
    dialogs: {
        modal: {
            apply: "bordered",
            backgroundColor: colors.white,
        },
        scrim: {
            backdropFilter: "blur(2px)",
        },
    },
    forms: {
        input: {
            apply: "bordered",
            backgroundColor: colors.white,
        },
        select: {
            apply: "bordered",
            backgroundColor: colors.white,
        },
        textarea: {
            apply: "bordered",
            backgroundColor: colors.white,
        },<commit_msg>fix: some style fixes and improvements in noir preset<commit_after>import base from "@siimple/preset-base";

// theme colors
export const colors = {
    primary: "#161b29",
    secondary: "#757789",
    muted: "#d8d9de",
    highlight: "#9394a3",
    white: "#fff",
};

export default {
    ...base,
    // Scales
    colors: {
        primary: colors.primary,
        secondary: colors.secondary,
        muted: colors.muted,
        text: colors.primary,
        heading: colors.primary,
        highlight: colors.highlight,
        background: colors.white,
    },
    fonts: {
        ...base.fonts,
        body: "Rubik, apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif",
        heading: "'EB Garamond', serif",
    },
    fontWeights: {
        body: "400",
        bold: "700",
        heading: "800",
    },
    // Mixins
    bordered: {
        borderColor: "primary",
        borderRadius: "0.5rem",
        borderStyle: "solid",
        borderWidth: "0.125rem",
    },
    shadowed: {
        boxShadow: [
            "0rem 1rem 1rem -0.5rem rgba(54,63,79,0.25)",
            "0 0 0 1px rgba(54,63,79,0.02)",
        ].join(","),
    },
    // Variants
    badges: {
        outlined: {
            apply: "bordered",
            backgroundColor: colors.white,
            color: "primary",
            padding: ["0.125rem", "0.375rem"],
        },
    },
    buttons: {
        outlined: {
            apply: "bordered",
            backgroundColor: colors.white,
            color: "primary",
            padding: ["0.625rem", "1.375rem"],
            "&:hover": {
                backgroundColor: "primary",
                color: colors.white,
            },
        },
    },
    cards: {
        default: {
            apply: "bordered",
            backgroundColor: colors.white,
            boxShadow: ["none", "!important"],
        },
    },
    dialogs: {
        modal: {
            apply: "bordered",
            backgroundColor: colors.white,
        },
        scrim: {
            backdropFilter: "blur(2px)",
        },
    },
    forms: {
        input: {
            apply: "bordered",
            backgroundColor: colors.white,
            "&:focus": {
                borderColor: "primary",
            },
        },
        select: {
            apply: "bordered",
            backgroundColor: colors.white,
            "&:focus": {
                borderColor: "primary",
            },
        },
        textarea: {
            apply: "bordered",
            backgroundColor: colors.white,
            "&:focus": {
                borderColor: "primary",
            },
        },
    },
    links: {
        dropdown: {
            apply: "bordered",
            backgroundColor: colors.white,
        },
        navlink: {
            color: "primary",
            "&:hover": {
                backgroundColor: "highlight",
                color: colors.white,
            },
            "&.is-active": {
                backgroundColor: "highlight",
                color: colors.white,
            },
        },
    },
    styles: {
        hr: {
            backgroundColor: "primary",
        },
        // Additional helpers
        ".has-font-rubik": {
            fontFamily: "body",
        },
        ".has-font-garamond": {
            fontFamily: "heading",
        },
        ".is-bordered": {
            apply: "bordered",
        },
{'fraction_non_alphanumeric': 0.1404016645558169, 'fraction_numerical': 0.0249683372534829, 'mean_word_length': 1.3817320120637657, 'pattern_counts': {'":': 10, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2242286', 'n_tokens_mistral': 1696, 'n_tokens_neox': 1592, 'n_words': 327}