Skip to content

Commit

Permalink
feat(tabset): update background fot tabset selected (#643)
Browse files Browse the repository at this point in the history
  • Loading branch information
denStrigo authored and nnixaa committed Aug 16, 2018
1 parent 7939344 commit ff8e9b6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,14 @@
}

&::before {
$color-right: nb-theme(tabs-selected);
$color-left: adjust-hue(
nb-theme(tabs-selected-second-color),
nb-theme(tabs-selected-degrees));

background: nb-theme(tabs-selected);

@include nb-for-theme(cosmic) {
@include btn-hero-success-gradient();
box-shadow: 0 0 16px -2px btn-hero-success-middle-color();
}
@include nb-right-gradient($color-left, $color-right);
}
}

Expand Down
1 change: 1 addition & 0 deletions src/framework/theme/styles/themes/_corporate.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ $theme: (
modal-separator: border-color,

tabs-selected: color-primary,
tabs-selected-second-color: color-primary,
tabs-separator: #ebecee,

smart-table-paging-bg-active: color-primary,
Expand Down
3 changes: 3 additions & 0 deletions src/framework/theme/styles/themes/_cosmic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ $theme: (
spinner-bg: rgba(61, 55, 128, 0.9),
stepper-accent-color: color-success,

tabs-selected-second-color: color-success,
tabs-selected-degrees: 20deg,

calendar-active-item-bg: color-primary,
calendar-selected-item-bg: color-primary,
calendar-range-bg-in-range: #4e4095,
Expand Down
2 changes: 2 additions & 0 deletions src/framework/theme/styles/themes/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ $theme: (
tabs-fg-heading: color-fg-heading,
tabs-bg: transparent,
tabs-selected: color-success,
tabs-selected-second-color: color-success,
tabs-selected-degrees: 0,
tabs-icon-only-max-width: 576px,

route-tabs-font-family: font-secondary,
Expand Down

0 comments on commit ff8e9b6

Please sign in to comment.