[HXCS-1479] Breadcrumbs as secondary entry point (#8750)

* Move breadcrumb outside of the core

* Fix styling

* Fix storybook
This commit is contained in:
Popovics András
2023-07-20 16:13:09 +02:00
committed by GitHub
parent e0ab94c680
commit 1ebac21251
19 changed files with 74 additions and 28 deletions

View File

@@ -0,0 +1,33 @@
@use 'sass:map';
@use '@angular/material' as mat;
@mixin adf-breadcrumb-theme($theme) {
$config: mat.get-color-config($theme);
$foreground-palette: map.get($config, foreground);
$primary-palette: map.get($config, primary);
$text-color: mat.get-color-from-palette($foreground-palette, text);
$primary: mat.get-color-from-palette($primary-palette, text);
adf-breadcrumb {
.adf-breadcrumb__show-all-button-icon--rotate {
color: mat.get-color-from-palette($primary-palette, 500);
}
.adf-breadcrumb__item-wrapper {
a,
a:active,
a:visited {
color: $primary;
}
&:last-child a {
text-decoration: none;
color: $text-color;
}
&:last-child a:hover {
text-decoration: none;
}
}
}
}