Skip to content

Commit

Permalink
fix(theme): add new variable(btn-outline-focus-fg) for focused outlin…
Browse files Browse the repository at this point in the history
…e buttons (#471)
  • Loading branch information
denStrigo authored and nnixaa committed Jun 6, 2018
1 parent 03ac264 commit df31a4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
@mixin btn-outline-focus($focus) {
&:focus,
&.focus {
color: nb-theme(btn-outline-hover-fg);
color: nb-theme(btn-outline-focus-fg);
border-color: $focus;
box-shadow: none;
}
Expand Down
1 change: 1 addition & 0 deletions src/framework/theme/styles/themes/_cosmic.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ $theme: (
btn-secondary-border: color-primary,
btn-outline-fg: color-fg-heading,
btn-outline-hover-fg: color-fg-heading,
btn-outline-focus-fg: color-fg-heading,
btn-group-bg: #373273,
btn-group-separator: #312c66,

Expand Down
1 change: 1 addition & 0 deletions src/framework/theme/styles/themes/_default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,7 @@ $theme: (

btn-outline-fg: color-fg-heading,
btn-outline-hover-fg: #ffffff,
btn-outline-focus-fg: color-fg-heading,

btn-group-bg: layout-bg,
btn-group-fg: color-fg-heading,
Expand Down

0 comments on commit df31a4c

Please sign in to comment.