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

    matcha-divider {
        box-sizing: border-box;

        &[direction="vertical"] {
            display: flex;
            flex-direction: column;
            align-self: stretch;
        }

        &[direction="horizontal"] {
            display: flex;
            flex-direction: row;
            width: 100%;
        }
    }
}
