19504: Set breadcrumbs chevron color to match icon
authorStephen Smith <stephen@curii.com>
Wed, 7 Dec 2022 23:53:20 +0000 (18:53 -0500)
committerStephen Smith <stephen@curii.com>
Thu, 8 Dec 2022 04:53:20 +0000 (23:53 -0500)
Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen@curii.com>

src/components/breadcrumbs/breadcrumbs.tsx

index c887727e184ce5bd63c5d8dc8975f45d34fa6db3..baf84d1da253fd2ac266eac6ba7b2215d004a1a2 100644 (file)
@@ -19,7 +19,7 @@ export interface Breadcrumb {
     uuid: string;
 }
 
-type CssRules = "item" | "label" | "buttonLabel" | "icon" | "frozenIcon";
+type CssRules = "item" | "chevron" | "label" | "buttonLabel" | "icon" | "frozenIcon";
 
 const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
     item: {
@@ -31,6 +31,9 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
             color: `${theme.palette.primary.main}`,
         },
     },
+    chevron: {
+        color: grey["600"],
+    },
     label: {
         textTransform: "none",
         paddingRight: '3px',
@@ -101,7 +104,7 @@ export const Breadcrumbs = withStyles(styles)(
                             }
                         </Button>
                     </Tooltip>
-                    {!isLastItem && <ChevronRightIcon color="inherit" className={'parentItem'} />}
+                    {!isLastItem && <ChevronRightIcon color="inherit" className={classNames('parentItem', classes.chevron)} />}
                 </React.Fragment>
             );
         })