Skip to content

Commit

Permalink
fix: update Card's border-radius and color in focused state (#2607)
Browse files Browse the repository at this point in the history
* fix: fixed Card border-radius and color

* refactor: refactoring after review
  • Loading branch information
PKulkoRaccoonGang authored Sep 13, 2023
1 parent 23b83c5 commit 5eb4c8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Card/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ $card-spacer-x: 1.25rem !default;
$card-border-width: $border-width !default;
$card-border-radius: $border-radius !default;
$card-border-color: rgba($black, .125) !default;
$card-border-focus-color: rgba($black, .5) !default;
$card-border-focus-color: $primary-500 !default;
$card-border-focus-color-dark: theme-color("primary", "focus") !default;
$card-inner-border-radius: subtract($card-border-radius, $card-border-width) !default;
$card-cap-bg: rgba($black, .03) !default;
Expand Down Expand Up @@ -53,4 +53,4 @@ $loading-skeleton-spacer: .313rem !default;

$card-focus-border-offset: 5px !default;
$card-focus-border-width: 2px !default;
$card-focus-border-radius: 5px !default;
$card-focus-border-radius: calc($card-focus-border-offset + $card-border-radius) !default;

0 comments on commit 5eb4c8e

Please sign in to comment.