diff --git a/reflex/components/radix/themes/components/avatar.py b/reflex/components/radix/themes/components/avatar.py index c0949db60..d3e76b595 100644 --- a/reflex/components/radix/themes/components/avatar.py +++ b/reflex/components/radix/themes/components/avatar.py @@ -24,7 +24,7 @@ class Avatar(CommonMarginProps, RadixThemesComponent): size: Var[LiteralSize] # Color theme of the avatar - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the avatar with higher contrast color against background high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/components/badge.py b/reflex/components/radix/themes/components/badge.py index 9822e254a..2beb0f77f 100644 --- a/reflex/components/radix/themes/components/badge.py +++ b/reflex/components/radix/themes/components/badge.py @@ -24,7 +24,7 @@ class Badge(el.Span, CommonMarginProps, RadixThemesComponent): size: Var[Literal["1", "2"]] # Color theme of the badge - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the badge with higher contrast color against background high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/components/callout.py b/reflex/components/radix/themes/components/callout.py index ea7980b63..04be5baa3 100644 --- a/reflex/components/radix/themes/components/callout.py +++ b/reflex/components/radix/themes/components/callout.py @@ -31,7 +31,7 @@ class CalloutRoot(el.Div, CommonMarginProps, RadixThemesComponent): variant: Var[CalloutVariant] # Override theme color for button - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the button with higher contrast color against background high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/components/callout.pyi b/reflex/components/radix/themes/components/callout.pyi index 1088c55c2..c9382a509 100644 --- a/reflex/components/radix/themes/components/callout.pyi +++ b/reflex/components/radix/themes/components/callout.pyi @@ -809,7 +809,7 @@ class Callout(CalloutRoot): Literal["soft", "surface", "outline"], ] ] = None, - color: Optional[ + color_scheme: Optional[ Union[ Var[ Literal[ @@ -1019,7 +1019,7 @@ class Callout(CalloutRoot): as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. size: Size "1" - "3" variant: Variant of button: "soft" | "surface" | "outline" - color: Override theme color for button + color_scheme: Override theme color for button high_contrast: Whether to render the button with higher contrast color against background access_key: Provides a hint for generating a keyboard shortcut for the current element. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user. diff --git a/reflex/components/radix/themes/components/checkbox.py b/reflex/components/radix/themes/components/checkbox.py index a3d307f84..cff50e8f2 100644 --- a/reflex/components/radix/themes/components/checkbox.py +++ b/reflex/components/radix/themes/components/checkbox.py @@ -32,7 +32,7 @@ class Checkbox(CommonMarginProps, RadixThemesComponent): variant: Var[LiteralVariant] # Override theme color for button - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the button with higher contrast color against background high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/components/checkbox.pyi b/reflex/components/radix/themes/components/checkbox.pyi index 204f70b6a..8010a705b 100644 --- a/reflex/components/radix/themes/components/checkbox.pyi +++ b/reflex/components/radix/themes/components/checkbox.pyi @@ -269,7 +269,7 @@ class HighLevelCheckbox(Checkbox): Literal["classic", "solid", "soft", "surface", "outline", "ghost"], ] ] = None, - color: Optional[ + color_scheme: Optional[ Union[ Var[ Literal[ @@ -445,7 +445,7 @@ class HighLevelCheckbox(Checkbox): size: Button size "1" - "3" as_child: Change the default rendered element for the one passed as a child, merging their props and behavior. variant: Variant of button: "solid" | "soft" | "outline" | "ghost" - color: Override theme color for button + color_scheme: Override theme color for button high_contrast: Whether to render the button with higher contrast color against background default_checked: Whether the checkbox is checked by default checked: Whether the checkbox is checked diff --git a/reflex/components/radix/themes/components/contextmenu.py b/reflex/components/radix/themes/components/contextmenu.py index 1d5b3a1f5..41e5d1bf4 100644 --- a/reflex/components/radix/themes/components/contextmenu.py +++ b/reflex/components/radix/themes/components/contextmenu.py @@ -51,7 +51,7 @@ class ContextMenuContent(CommonMarginProps, RadixThemesComponent): variant: Var[Literal["solid", "soft"]] # Override theme color for button - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the button with higher contrast color against background high_contrast: Var[bool] @@ -122,7 +122,7 @@ class ContextMenuItem(CommonMarginProps, RadixThemesComponent): tag = "ContextMenu.Item" # Override theme color for button - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Shortcut to render a menu item as a link shortcut: Var[str] diff --git a/reflex/components/radix/themes/components/dropdownmenu.py b/reflex/components/radix/themes/components/dropdownmenu.py index 36db4aea5..3a4c87bc3 100644 --- a/reflex/components/radix/themes/components/dropdownmenu.py +++ b/reflex/components/radix/themes/components/dropdownmenu.py @@ -83,7 +83,7 @@ class DropdownMenuSubContent(CommonMarginProps, RadixThemesComponent): variant: Var[Literal["solid", "soft"]] # Override theme color for button - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the button with higher contrast color against background high_contrast: Var[bool] @@ -95,7 +95,7 @@ class DropdownMenuItem(CommonMarginProps, RadixThemesComponent): tag = "DropdownMenu.Item" # Override theme color for button - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Shortcut to render a menu item as a link shortcut: Var[str] diff --git a/reflex/components/radix/themes/components/iconbutton.py b/reflex/components/radix/themes/components/iconbutton.py index 1f7954a16..b8209c2ba 100644 --- a/reflex/components/radix/themes/components/iconbutton.py +++ b/reflex/components/radix/themes/components/iconbutton.py @@ -30,7 +30,7 @@ class IconButton(el.Button, CommonMarginProps, RadixThemesComponent): variant: Var[LiteralVariant] # Override theme color for button - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the button with higher contrast color against background high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/components/select.py b/reflex/components/radix/themes/components/select.py index 17e4359a9..ff5db88a9 100644 --- a/reflex/components/radix/themes/components/select.py +++ b/reflex/components/radix/themes/components/select.py @@ -66,7 +66,7 @@ class SelectTrigger(CommonMarginProps, RadixThemesComponent): variant: Var[Literal["classic", "surface", "soft", "ghost"]] # The color of the select trigger - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # The radius of the select trigger radius: Var[LiteralRadius] @@ -84,7 +84,7 @@ class SelectContent(CommonMarginProps, RadixThemesComponent): variant: Var[Literal["solid", "soft"]] # The color of the select content - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the select content with higher contrast color against background high_contrast: Var[bool] @@ -161,7 +161,7 @@ class HighLevelSelect(SelectRoot): label: Var[str] # The color of the select. - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the select with higher contrast color against background. high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/components/select.pyi b/reflex/components/radix/themes/components/select.pyi index 33d578b78..a2704bcdc 100644 --- a/reflex/components/radix/themes/components/select.pyi +++ b/reflex/components/radix/themes/components/select.pyi @@ -1466,7 +1466,7 @@ class HighLevelSelect(SelectRoot): items: Optional[Union[Var[List[str]], List[str]]] = None, placeholder: Optional[Union[Var[str], str]] = None, label: Optional[Union[Var[str], str]] = None, - color: Optional[ + color_scheme: Optional[ Union[ Var[ Literal[ @@ -1660,7 +1660,7 @@ class HighLevelSelect(SelectRoot): items: The items of the select. placeholder: The placeholder of the select. label: The label of the select. - color: The color of the select. + color_scheme: The color of the select. high_contrast: Whether to render the select with higher contrast color against background. variant: The variant of the select. radius: The radius of the select. diff --git a/reflex/components/radix/themes/components/separator.py b/reflex/components/radix/themes/components/separator.py index a079e400a..a2f6e5a23 100644 --- a/reflex/components/radix/themes/components/separator.py +++ b/reflex/components/radix/themes/components/separator.py @@ -21,7 +21,7 @@ class Separator(CommonMarginProps, RadixThemesComponent): size: Var[LiteralSeperatorSize] = Var.create_safe("4") # The color of the select - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # The orientation of the separator. orientation: Var[Literal["horizontal", "vertical"]] diff --git a/reflex/components/radix/themes/components/slider.py b/reflex/components/radix/themes/components/slider.py index fb1902124..e2a411935 100644 --- a/reflex/components/radix/themes/components/slider.py +++ b/reflex/components/radix/themes/components/slider.py @@ -26,7 +26,7 @@ class Slider(CommonMarginProps, RadixThemesComponent): variant: Var[Literal["classic", "surface", "soft"]] # Override theme color for button - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the button with higher contrast color against background high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/components/switch.py b/reflex/components/radix/themes/components/switch.py index 173954f8f..ed7cc605c 100644 --- a/reflex/components/radix/themes/components/switch.py +++ b/reflex/components/radix/themes/components/switch.py @@ -48,7 +48,7 @@ class Switch(CommonMarginProps, RadixThemesComponent): variant: Var[LiteralVariant] # Override theme color for switch - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the switch with higher contrast color against background high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/components/textarea.py b/reflex/components/radix/themes/components/textarea.py index d24a65b32..3cdcfc5dc 100644 --- a/reflex/components/radix/themes/components/textarea.py +++ b/reflex/components/radix/themes/components/textarea.py @@ -28,7 +28,7 @@ class TextArea(CommonMarginProps, RadixThemesComponent, el.Textarea): variant: Var[Literal["classic", "surface", "soft"]] # The color of the text area - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] @classmethod def create(cls, *children, **props) -> Component: diff --git a/reflex/components/radix/themes/components/textarea.pyi b/reflex/components/radix/themes/components/textarea.pyi index 9ef9e11a1..650071f90 100644 --- a/reflex/components/radix/themes/components/textarea.pyi +++ b/reflex/components/radix/themes/components/textarea.pyi @@ -32,7 +32,7 @@ class TextArea(CommonMarginProps, RadixThemesComponent, el.Textarea): Literal["classic", "surface", "soft"], ] ] = None, - color: Optional[ + color_scheme: Optional[ Union[ Var[ Literal[ @@ -282,7 +282,7 @@ class TextArea(CommonMarginProps, RadixThemesComponent, el.Textarea): *children: The children of the component. size: The size of the text area: "1" | "2" | "3" variant: The variant of the text area - color: The color of the text area + color_scheme: The color of the text area m: Margin: "0" - "9" mx: Margin horizontal: "0" - "9" my: Margin vertical: "0" - "9" diff --git a/reflex/components/radix/themes/components/textfield.py b/reflex/components/radix/themes/components/textfield.py index 2e7f0eea2..8b2b030e3 100644 --- a/reflex/components/radix/themes/components/textfield.py +++ b/reflex/components/radix/themes/components/textfield.py @@ -33,7 +33,7 @@ class TextFieldRoot(el.Div, CommonMarginProps, RadixThemesComponent): variant: Var[LiteralTextFieldVariant] # Override theme color for text field - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Override theme radius for text field: "none" | "small" | "medium" | "large" | "full" radius: Var[LiteralRadius] @@ -88,7 +88,7 @@ class TextFieldSlot(RadixThemesComponent): tag = "TextField.Slot" # Override theme color for text field slot - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Override the gap spacing between slot and input: "1" - "9" gap: Var[LiteralSize] @@ -107,7 +107,7 @@ class Input(RadixThemesComponent): variant: Var[LiteralTextFieldVariant] # Override theme color for text field - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Override theme radius for text field: "none" | "small" | "medium" | "large" | "full" radius: Var[LiteralRadius] diff --git a/reflex/components/radix/themes/components/textfield.pyi b/reflex/components/radix/themes/components/textfield.pyi index 422323d2c..d0b960288 100644 --- a/reflex/components/radix/themes/components/textfield.pyi +++ b/reflex/components/radix/themes/components/textfield.pyi @@ -388,7 +388,7 @@ class TextFieldInput(el.Input, TextFieldRoot): Literal["classic", "surface", "soft"], ] ] = None, - color: Optional[ + color_scheme: Optional[ Union[ Var[ Literal[ @@ -641,7 +641,7 @@ class TextFieldInput(el.Input, TextFieldRoot): value: Value of the input width: The width of the input (only for type="image") variant: Variant of text field: "classic" | "surface" | "soft" - color: Override theme color for text field + color_scheme: Override theme color for text field radius: Override theme radius for text field: "none" | "small" | "medium" | "large" | "full" access_key: Provides a hint for generating a keyboard shortcut for the current element. auto_capitalize: Controls whether and how text input is automatically capitalized as it is entered/edited by the user. @@ -848,7 +848,7 @@ class Input(RadixThemesComponent): Literal["classic", "surface", "soft"], ] ] = None, - color: Optional[ + color_scheme: Optional[ Union[ Var[ Literal[ @@ -993,7 +993,7 @@ class Input(RadixThemesComponent): icon: The icon to render before the input. size: Text field size "1" - "3" variant: Variant of text field: "classic" | "surface" | "soft" - color: Override theme color for text field + color_scheme: Override theme color for text field radius: Override theme radius for text field: "none" | "small" | "medium" | "large" | "full" auto_complete: Whether the input should have autocomplete enabled default_value: The value of the input when initially rendered. diff --git a/reflex/components/radix/themes/typography.py b/reflex/components/radix/themes/typography.py index 1464e9938..9d174de5c 100644 --- a/reflex/components/radix/themes/typography.py +++ b/reflex/components/radix/themes/typography.py @@ -45,7 +45,7 @@ class Text(CommonMarginProps, RadixThemesComponent): trim: Var[LiteralTextTrim] # Overrides the accent color inherited from the Theme. - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the text with higher contrast color high_contrast: Var[bool] @@ -69,7 +69,7 @@ class Blockquote(CommonMarginProps, RadixThemesComponent): weight: Var[LiteralTextWeight] # Overrides the accent color inherited from the Theme. - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the text with higher contrast color high_contrast: Var[bool] @@ -123,7 +123,7 @@ class Link(CommonMarginProps, RadixThemesComponent): underline: Var[LiteralLinkUnderline] # Overrides the accent color inherited from the Theme. - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the text with higher contrast color high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/typography/blockquote.py b/reflex/components/radix/themes/typography/blockquote.py index cb1fa05b7..34cd0d6ba 100644 --- a/reflex/components/radix/themes/typography/blockquote.py +++ b/reflex/components/radix/themes/typography/blockquote.py @@ -30,7 +30,7 @@ class Blockquote(el.Blockquote, CommonMarginProps, RadixThemesComponent): weight: Var[LiteralTextWeight] # Overrides the accent color inherited from the Theme. - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the text with higher contrast color high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/typography/code.py b/reflex/components/radix/themes/typography/code.py index a73c7ce70..a242ae256 100644 --- a/reflex/components/radix/themes/typography/code.py +++ b/reflex/components/radix/themes/typography/code.py @@ -34,7 +34,7 @@ class Code(el.Code, CommonMarginProps, RadixThemesComponent): weight: Var[LiteralTextWeight] # Overrides the accent color inherited from the Theme. - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the text with higher contrast color high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/typography/heading.py b/reflex/components/radix/themes/typography/heading.py index cbdee555f..ec48de56e 100644 --- a/reflex/components/radix/themes/typography/heading.py +++ b/reflex/components/radix/themes/typography/heading.py @@ -44,7 +44,7 @@ class Heading(el.H1, CommonMarginProps, RadixThemesComponent): trim: Var[LiteralTextTrim] # Overrides the accent color inherited from the Theme. - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the text with higher contrast color high_contrast: Var[bool] diff --git a/reflex/components/radix/themes/typography/text.py b/reflex/components/radix/themes/typography/text.py index 5b3b62979..72a475b5f 100644 --- a/reflex/components/radix/themes/typography/text.py +++ b/reflex/components/radix/themes/typography/text.py @@ -44,7 +44,7 @@ class Text(el.Span, CommonMarginProps, RadixThemesComponent): trim: Var[LiteralTextTrim] # Overrides the accent color inherited from the Theme. - color: Var[LiteralAccentColor] + color_scheme: Var[LiteralAccentColor] # Whether to render the text with higher contrast color high_contrast: Var[bool]