Skip to content

Commit

Permalink
fix(@clayui/css): Update and add box-shadow variable to cadmin class
Browse files Browse the repository at this point in the history
  • Loading branch information
HenriquePereiraa committed Sep 21, 2023
1 parent dfe8e4d commit d4a094a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/clay-css/src/scss/cadmin/variables/_globals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,9 @@ $cadmin-component-transition: color 0.15s ease-in-out,

$cadmin-component-focus-box-shadow: #{0 0 0 2px $cadmin-white,
0 0 0 4px $cadmin-primary-l0} !default;
$cadmin-component-focus-inset-box-shadow: #{inset 0 0 0 2px $cadmin-primary-l0,
inset 0 0 0 4px $cadmin-white} !default;
$cadmin-component-focus-inset-box-shadow: #{inset 0 0 0 0.125rem
$cadmin-primary-l0,
inset 0 0 0 0.25rem $cadmin-white} !default;

$cadmin-component-active-bg: $cadmin-primary !default;
$cadmin-component-active-color: $cadmin-white !default;
Expand Down
5 changes: 5 additions & 0 deletions packages/clay-css/src/scss/cadmin/variables/_range.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ $cadmin-clay-range-input: map-deep-merge(
position: absolute,
top: 50%,
width: 50%,
focus: (
clay-range-thumb: (
box-shadow: $cadmin-component-focus-inset-box-shadow,
),
),
),
tooltip: (
margin-left: 13px,
Expand Down

0 comments on commit d4a094a

Please sign in to comment.