@mixin matcha-select-theme($theme) {
    $accent: map-get($theme, accent);
    $primary: map-get($theme, primary);
    $background: map-get($theme, background);
    $foreground: map-get($theme, foreground);

    matcha-select {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .matcha-select-container {
        position: relative;
        display: inline-block;
        width: 100%;
    }

    .matcha-select-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0;
        border: 0px solid;
        border-radius: 0px;
        background-color: transparent;
        cursor: pointer;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
        // min-height: 48px;
        box-sizing: border-box;

        &:hover {
            border-color: #b0b0b0;
        }

        &:focus {
            outline: none;
            // border-color: map-get($primary, 500);
            // box-shadow: 0 0 0 2px rgba(map-get($primary, 500), 0.2);
        }

        // &.matcha-select-open {
        //     // border-color: map-get($primary, 500);
        //     // box-shadow: 0 0 0 2px rgba(map-get($primary, 500), 0.2);
        // }


    }

    .matcha-select-value {
        flex: 1;
        text-align: left;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        color: map-get($foreground, text);

        &.matcha-select-placeholder {
            color: getGrey($theme);
        }
    }

    .matcha-select-arrow {
        margin-left: 8px;
        transition: transform 0.2s ease;
        color: getBlueGrey($theme);
        font-size: 12px;

        &.matcha-select-arrow-open {
            transform: rotate(180deg);
        }
    }
}