Skip to content

fix: enable Radix Themes explicitly via RadixThemesPlugin#7

Open
FarhanAliRaza wants to merge 1 commit into
mainfrom
fix/radix-themes-plugin-deprecation
Open

fix: enable Radix Themes explicitly via RadixThemesPlugin#7
FarhanAliRaza wants to merge 1 commit into
mainfrom
fix/radix-themes-plugin-deprecation

Conversation

@FarhanAliRaza

Copy link
Copy Markdown

Problem

The templates repo check-export CI fails because reflex export emits:

DeprecationWarning: Implicit Radix Themes enablement has been deprecated in version 0.9.0.

The app uses rx.theme(...), which implicitly enabled the Radix Themes bundle.

Fix

Register rx.plugins.RadixThemesPlugin() in rxconfig.py to opt into Radix Themes explicitly. Same behavior, no warning.

Verification

Reproduced the CI locally against the reflex main workspace (reflex 0.9.3.dev):

  • reflex export → no DeprecationWarning in logs (was failing before)
  • frontend.zip / backend.zip build and unzip cleanly

🤖 Generated with Claude Code

Reflex 0.9.0 deprecated implicit Radix Themes enablement. The app uses
rx.theme(...), which auto-loaded the Radix bundle and emitted a
DeprecationWarning that fails the templates check-export CI. Register
rx.plugins.RadixThemesPlugin() to opt in explicitly; same behavior, no
warning.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant