Skip to content

Commit

Permalink
migrate backdrop-blur-* utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Nov 29, 2024
1 parent 6abd808 commit ebd2252
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ test.each([
['blur', 'blur-sm'],
['blur-sm', 'blur-xs'],

['backdrop-blur', 'backdrop-blur-sm'],
['backdrop-blur-sm', 'backdrop-blur-xs'],

['ring', 'ring-3'],

['blur!', 'blur-sm!'],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ const LEGACY_CLASS_MAP = new Map([
['blur', 'blur-sm'],
['blur-sm', 'blur-xs'],

['backdrop-blur', 'backdrop-blur-sm'],
['backdrop-blur-sm', 'backdrop-blur-xs'],

['ring', 'ring-3'],
])

Expand All @@ -50,6 +53,10 @@ const THEME_KEYS = new Map([
['blur-sm', '--blur-sm'],
['blur-xs', '--blur-xs'],

['backdrop-blur', '--backdrop-blur'],
['backdrop-blur-sm', '--backdrop-blur-sm'],
['backdrop-blur-xs', '--backdrop-blur-xs'],

['ring', '--ring-width'],
['ring-3', '--ring-width-3'],
])
Expand Down

0 comments on commit ebd2252

Please sign in to comment.