Skip to content

Commit

Permalink
fix(navbar): returning opacity to token
Browse files Browse the repository at this point in the history
  • Loading branch information
myakovleva committed Mar 23, 2020
1 parent 5280239 commit 071a308
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions packages/mosaic/core/theming/_components-theming.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@
item_state-active_color: lighten(mc-color($primary, 700), 5%),
item_state-hover_color: lighten(mc-color($primary, 700), 5%),
item_state-progress_color: lighten(mc-color($primary, 800), 15%),
item_state-disabled_opacity: 0.3,
);

$popover: (
Expand Down Expand Up @@ -261,6 +262,7 @@
item_state-active_color: lighten(mc-color($primary, 700), 5%),
item_state-hover_color: lighten(mc-color($primary, 700), 5%),
item_state-progress_color: lighten(mc-color($primary, 800), 15%),
item_state-disabled_opacity: 0.3,
);

$popover: (
Expand Down
2 changes: 1 addition & 1 deletion packages/mosaic/navbar/_navbar-theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
&[disabled] {
.mc-navbar-title,
.mc-icon {
opacity: 0.3;
opacity: map-get($navbar, item_state-disabled_opacity);
}
}
}
Expand Down

0 comments on commit 071a308

Please sign in to comment.