@use '~@angular/material' as mat;
@mixin search-view-result-mat($theme) {

    $color-config: mat-get-color-config($theme);
    $primary-color: mat.get-color-from-palette(map-get($color-config, primary));

    app-search-view-result .result-header mat-icon{
        color: $primary-color;
    }

    app-search-view-result .result-header .file-size{
        color: map-get($theme, inactive-text);
    }

    app-search-view-result .result-footer{
        color: map-get($theme, inactive-text); 
    }

    app-search-view-result .result-snippet span{
        background-color: map-get($theme, light-shadow); 
    }

    app-search-view-result .result-snippet span u{
        color: $primary-color;
        text-decoration: none;
    }

}