reflex/reflex/components/radix/themes/__init__.py
2023-10-24 14:29:54 -07:00

78 lines
2.3 KiB
Python

"""Namespace for components provided by the @radix-ui/themes library."""
from .base import LiteralAccentColor as LiteralAccentColor
from .base import LiteralAlign as LiteralAlign
from .base import LiteralAppearance as LiteralAppearance
from .base import LiteralGrayColor as LiteralGrayColor
from .base import LiteralJustify as LiteralJustify
from .base import LiteralPanelBackground as LiteralPanelBackground
from .base import LiteralRadius as LiteralRadius
from .base import LiteralScaling as LiteralScaling
from .base import LiteralSize as LiteralSize
from .base import LiteralVariant as LiteralVariant
from .base import (
Theme,
ThemePanel,
)
from .components import (
Button,
Switch,
TextField,
TextFieldRoot,
TextFieldSlot,
)
from .components import LiteralButtonSize as LiteralButtonSize
from .components import LiteralSwitchSize as LiteralSwitchSize
from .layout import (
Box,
Container,
Flex,
Grid,
Section,
)
from .layout import LiteralBoolNumber as LiteralBoolNumber
from .layout import LiteralContainerSize as LiteralContainerSize
from .layout import LiteralFlexDirection as LiteralFlexDirection
from .layout import LiteralFlexDisplay as LiteralFlexDisplay
from .layout import LiteralFlexWrap as LiteralFlexWrap
from .layout import LiteralGridDisplay as LiteralGridDisplay
from .layout import LiteralGridFlow as LiteralGridFlow
from .layout import LiteralSectionSize as LiteralSectionSize
from .typography import (
Blockquote,
Code,
Em,
Heading,
Kbd,
Link,
Quote,
Strong,
Text,
)
from .typography import LiteralLinkUnderline as LiteralLinkUnderline
from .typography import LiteralTextAlign as LiteralTextAlign
from .typography import LiteralTextSize as LiteralTextSize
from .typography import LiteralTextTrim as LiteralTextTrim
from .typography import LiteralTextWeight as LiteralTextWeight
blockquote = Blockquote.create
box = Box.create
button = Button.create
code = Code.create
container = Container.create
em = Em.create
flex = Flex.create
grid = Grid.create
heading = Heading.create
kbd = Kbd.create
link = Link.create
quote = Quote.create
section = Section.create
strong = Strong.create
switch = Switch.create
text = Text.create
text_field = TextField.create
text_field_root = TextFieldRoot.create
text_field_slot = TextFieldSlot.create
theme = Theme.create
theme_panel = ThemePanel.create