Skip to content

Commit

Permalink
feat(Input): Shadow on Input elements
Browse files Browse the repository at this point in the history
  • Loading branch information
Utzel-Butzel committed Feb 19, 2019
1 parent c85d151 commit 94a79bd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Link/_link.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
}

&:focus {
@include focus-outline('border');
@include focus-outline('border-small');
}

&[aria-disabled='true'] {
Expand Down
5 changes: 5 additions & 0 deletions src/globals/scss/_helper-mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@
box-shadow: 0px 2px 8px 0 $focus;
}

@if ($type == 'border-small') {
outline: 2px solid $brand-02;
outline-offset: 2px;
}

@if ($type == 'border-important') {
outline: 2px solid $brand-01 !important;
outline-offset: -1px;
Expand Down

0 comments on commit 94a79bd

Please sign in to comment.