Skip to content

Commit

Permalink
fix(@clayui/css): Mixins clay-range-input-variant should accept new k…
Browse files Browse the repository at this point in the history
…ey value pattern for clay-range-thumb

    - The new key/value pattern is form-control-range: (hover: (), focus: (), disabled: ())
    - The old pattern is still accepted focus: (clay-range-thumb: ())
  • Loading branch information
pat270 committed Sep 22, 2023
1 parent dfe8e4d commit 5b9199b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/clay-css/src/scss/mixins/_forms.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2300,6 +2300,10 @@
map-deep-get($map, focus, clay-range-thumb),
()
);
$focus-clay-range-thumb: map-merge(
setter(map-get($focus, clay-range-thumb), ()),
$focus-clay-range-thumb
);
$focus-clay-range-thumb: map-merge(
$focus-clay-range-thumb,
(
Expand Down

0 comments on commit 5b9199b

Please sign in to comment.