Skip to content

Commit

Permalink
feat(breadcrumb): add inverted variant
Browse files Browse the repository at this point in the history
  • Loading branch information
lubber-de authored and Sean committed May 4, 2019
1 parent c7ca707 commit ff6ba2d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/definitions/collections/breadcrumb.less
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,17 @@
padding: @segmentPadding;
}

/* Inverted */
.ui.inverted.breadcrumb {
color: @invertedColor;
}
.ui.inverted.breadcrumb > .active.section {
color: @invertedActiveColor;
}
.ui.inverted.breadcrumb > .divider {
color: @invertedDividerColor;
}

/*******************************
States
*******************************/
Expand Down
5 changes: 5 additions & 0 deletions src/themes/default/collections/breadcrumb.variables
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
/* Coupling */
@segmentPadding: @relativeMini @relativeMedium;

/* Inverted */
@invertedColor: @midWhite;
@invertedActiveColor: @white;
@invertedDividerColor: @invertedLightTextColor;

/*-------------------
States
--------------------*/
Expand Down

0 comments on commit ff6ba2d

Please sign in to comment.