Skip to content

Commit

Permalink
Temporarily downpin @radix-ui/themes <3.1.5
Browse files Browse the repository at this point in the history
A visual/style regression was introduced in @radix-ui/themes 3.1.5
as described in radix-ui/themes#627 which reflex needs to avoid.
  • Loading branch information
masenf committed Nov 12, 2024
1 parent 7cf3050 commit 7338e8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions reflex/components/radix/themes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ class RadixThemesComponent(Component):

library = "@radix-ui/themes@^3.0.0"

# Temporary pin < 3.1.5 until radix-ui/themes#627 is resolved.
library = library + " && <3.1.5"

# "Fake" prop color_scheme is used to avoid shadowing CSS prop "color".
_rename_props: Dict[str, str] = {"colorScheme": "color"}

Expand Down

0 comments on commit 7338e8f

Please sign in to comment.