Skip to content

Commit

Permalink
Variable renaming, reordering
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Feb 21, 2022
1 parent 0f223ee commit 6a0f5a3
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions scss/mixin/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
@use '../variable' as *;

@mixin btn-focus(
$box-shadow
$color
) {
box-shadow: 0 0 0 $btn-shadow-width $box-shadow;
box-shadow: 0 0 0 $btn-shadow-width $color;
outline: 2px solid transparent;
}

Expand Down
18 changes: 9 additions & 9 deletions scss/variable/_index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -164,27 +164,27 @@ $inline-text-element-border-radius: $border-radius-sm !default;
// Btn
$btn-border-radius: $border-radius-sm !default;

$btn-font-size: $font-size-base !default;
$btn-font-size-sm: 0.8rem !default;
$btn-font-size-lg: 1.15rem !default;

$btn-font-family: null !default;
$btn-font-style: null !default;
$btn-font-weight: 500 !default;

$btn-icon-padding: 0.75em !default;
$btn-icon-padding-sm: 0.5em !default;
$btn-icon-padding-lg: 0.9em !default;
$btn-shadow-width: 0.25rem !default;

$btn-font-size: $font-size-base !default;
$btn-font-size-sm: 0.8rem !default;
$btn-font-size-lg: 1.15rem !default;

$btn-padding: 0.75em 1em !default;
$btn-padding-sm: 0.5em !default;
$btn-padding-lg: 0.9em 1.15em !default;

$btn-icon-padding: 0.75em !default;
$btn-icon-padding-sm: 0.5em !default;
$btn-icon-padding-lg: 0.9em !default;

$btn-icon-size-sm: 0.85em !default;
$btn-icon-size: 1em !default;

$btn-shadow-width: 0.25rem !default;

// Forms
$form-label-font-size: null !default;
$form-label-font-size-sm: $font-size-sm !default;
Expand Down

0 comments on commit 6a0f5a3

Please sign in to comment.