We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a04ac commit e508a5aCopy full SHA for e508a5a
demo/assets/css/globals.css
@@ -1099,12 +1099,12 @@
1099
0px -8px 8px 0px light-dark(rgba(28, 32, 36, 0.02), rgba(0, 0, 0, 0)),
1100
0px -2px 6px 0px light-dark(rgba(28, 32, 36, 0.02), rgba(0, 0, 0, 0));
1101
/* Radius */
1102
- --radius-xs: calc(var(--radius) - 0.125rem);
1103
- --radius-sm: var(--radius);
1104
- --radius-md: calc(var(--radius) + 0.125rem);
1105
- --radius-lg: calc(var(--radius) + 0.25rem);
1106
- --radius-xl: calc(var(--radius) + 0.375rem);
1107
- --radius-2xl: calc(var(--radius) + 0.5rem);
+ --radius-ui-xs: calc(var(--radius) - 0.125rem);
+ --radius-ui-sm: var(--radius);
+ --radius-ui-md: calc(var(--radius) + 0.125rem);
+ --radius-ui-lg: calc(var(--radius) + 0.25rem);
+ --radius-ui-xl: calc(var(--radius) + 0.375rem);
+ --radius-ui-2xl: calc(var(--radius) + 0.5rem);
1108
}
1109
1110
@layer base {
reflex_ui/components/base/badge.py
@@ -56,9 +56,9 @@
56
57
BADGE_VARIANTS = {
58
"size": {
59
- "xs": "px-1.5 py-0.5 h-4 rounded-xs text-[11px] [&_svg]:size-3",
60
- "sm": "px-1.5 py-0.5 h-5 rounded-sm text-xs [&_svg]:size-3.5",
61
- "md": "px-2 py-0.5 h-6 rounded-md text-sm [&_svg]:size-4",
+ "xs": "px-1.5 py-0.5 h-4 rounded-ui-xs text-[11px] [&_svg]:size-3",
+ "sm": "px-1.5 py-0.5 h-5 rounded-ui-sm text-xs [&_svg]:size-3.5",
+ "md": "px-2 py-0.5 h-6 rounded-ui-md text-sm [&_svg]:size-4",
62
63
64
reflex_ui/components/base/badge.pyi
@@ -58,9 +58,9 @@ DEFAULT_BASE_CLASSES = "inline-flex items-center font-medium [&_svg]:pointer-eve
LIGHT_COLORS = {"sky", "mint", "lime", "yellow", "amber", "secondary"}
65
66
reflex_ui/components/base/button.py
@@ -29,16 +29,16 @@
29
"dark": "bg-secondary-12 text-secondary-1 hover:bg-secondary-12/80",
30
},
31
32
- "xs": "px-1.5 h-7 rounded-xs gap-1.5",
33
- "sm": "px-2 h-8 rounded-sm gap-2",
34
- "md": "px-2.5 h-9 rounded-md gap-2",
35
- "lg": "px-3 h-10 rounded-lg gap-2.5",
36
- "xl": "px-3.5 h-12 rounded-xl gap-3",
37
- "icon-xs": "size-7 rounded-xs",
38
- "icon-sm": "size-8 rounded-sm",
39
- "icon-md": "size-9 rounded-md",
40
- "icon-lg": "size-10 rounded-lg",
41
- "icon-xl": "size-12 rounded-xl",
+ "xs": "px-1.5 h-7 rounded-ui-xs gap-1.5",
+ "sm": "px-2 h-8 rounded-ui-sm gap-2",
+ "md": "px-2.5 h-9 rounded-ui-md gap-2",
+ "lg": "px-3 h-10 rounded-ui-lg gap-2.5",
+ "xl": "px-3.5 h-12 rounded-ui-xl gap-3",
+ "icon-xs": "size-7 rounded-ui-xs",
+ "icon-sm": "size-8 rounded-ui-sm",
+ "icon-md": "size-9 rounded-ui-md",
+ "icon-lg": "size-10 rounded-ui-lg",
+ "icon-xl": "size-12 rounded-ui-xl",
42
43
44
reflex_ui/components/base/button.pyi
@@ -31,16 +31,16 @@ BUTTON_VARIANTS = {
45
46
reflex_ui/components/base/card.py
@@ -10,7 +10,7 @@
10
class ClassNames:
11
"""Class names for the card component."""
12
13
- ROOT = "rounded-xl border border-secondary-a4 bg-secondary-1 shadow-small"
+ ROOT = "rounded-ui-xl border border-secondary-a4 bg-secondary-1 shadow-small"
14
HEADER = "flex flex-col gap-2 p-6"
15
TITLE = "text-2xl font-semibold text-secondary-12"
16
DESCRIPTION = "text-sm text-secondary-11 font-[450]"
reflex_ui/components/base/card.pyi
@@ -15,7 +15,7 @@ from reflex.vars.base import Var
from reflex_ui.components.component import CoreComponent
17
18
19
20
21
reflex_ui/components/base/dialog.py
@@ -17,7 +17,7 @@ class ClassNames:
"""Class names for dialog components."""
BACKDROP = "fixed inset-0 bg-black opacity-40 transition-all duration-150 data-[ending-style]:opacity-0 data-[starting-style]:opacity-0 dark:opacity-80"
- POPUP = "fixed top-1/2 left-1/2 -mt-8 w-[31rem] max-w-[calc(100vw-3rem)] -translate-x-1/2 -translate-y-1/2 rounded-xl border border-secondary-a4 bg-secondary-1 shadow-large transition-all duration-150 data-[ending-style]:scale-90 data-[ending-style]:opacity-0 data-[starting-style]:scale-90 data-[starting-style]:opacity-0"
+ POPUP = "fixed top-1/2 left-1/2 -mt-8 w-[31rem] max-w-[calc(100vw-3rem)] -translate-x-1/2 -translate-y-1/2 rounded-ui-xl border border-secondary-a4 bg-secondary-1 shadow-large transition-all duration-150 data-[ending-style]:scale-90 data-[ending-style]:opacity-0 data-[starting-style]:scale-90 data-[starting-style]:opacity-0"
22
23
HEADER = "flex flex-col gap-2 px-6 pt-6 pb-4"
reflex_ui/components/base/dialog.pyi
@@ -15,7 +15,7 @@ from reflex_ui.components.base_ui import BaseUIComponent
reflex_ui/components/base/input.py
@@ -14,11 +14,11 @@
from reflex_ui.utils.twmerge import cn
INPUT_SIZE_VARIANTS = {
"lg": "px-3 h-10 rounded-lg gap-2.5",
24
LiteralControlSize = Literal["xs", "sm", "md", "lg", "xl"]
0 commit comments