Skip to content

Commit

Permalink
refactor(breadcrumb): used design tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
badejayayesubabu committed Apr 15, 2021
1 parent 63ef28f commit 1a53c8b
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/scss/components/breadcrumb/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,27 @@
align-content: center;
align-items: center;
color: $blue-500;
color: $rax-component-breadcrumb-base-color;
display: flex;
font-size: 0.875rem;
font-weight: 600;
line-height: 1;
font-size: $rax-component-breadcrumb-base-font-size;
font-weight: $rax-component-breadcrumb-base-font-weight;
line-height: $rax-line-height-none;

& > a {
margin-right: 0.5rem;
text-transform: capitalize;

&:last-of-type {
color: var(--hxBreadcrumb-last-type-color, $gray-800);
font-weight: 600;
color: $gray-800;
color: $rax-component-breadcrumb-current-color;
font-weight: $rax-component-breadcrumb-base-font-weight;
pointer-events: none;
}
}

.delimiter {
color: var(--hxBreadcrumb-delimiter-color, $gray-600);
color: $gray-600;
color: $rax-component-breadcrumb-separator-color;
font-size: 0.5rem;
margin-right: 0.5rem;
}
Expand Down

0 comments on commit 1a53c8b

Please sign in to comment.