graycoreio/daffodil

View on GitHub
libs/design/breadcrumb/src/breadcrumb-theme.scss

Summary

Maintainability
Test Coverage
@use 'sass:map';
@use '../../scss/core';
@use '../../scss/theming';

@mixin daff-breadcrumb-theme($theme) {
    $base: core.daff-map-deep-get($theme, 'core.base');
    $base-contrast: core.daff-map-deep-get($theme, 'core.base-contrast');
    $neutral: core.daff-map-deep-get($theme, 'core.neutral');

    .daff-breadcrumb__item {
        color: theming.daff-illuminate($base-contrast, $neutral, 4);
    }
}