Spaces:
Paused
Paused
Commit
·
40523c6
1
Parent(s):
8fa76f7
corrected radius
Browse files- ui/themes.py +5 -4
ui/themes.py
CHANGED
|
@@ -10,6 +10,11 @@ def get_cyberpunk_theme():
|
|
| 10 |
secondary_hue=colors.purple,
|
| 11 |
neutral_hue=colors.gray,
|
| 12 |
font=[fonts.GoogleFont("Orbitron"), "monospace", "sans-serif"],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
).set(
|
| 14 |
# Background colors
|
| 15 |
body_background_fill="linear-gradient(135deg, #0a0a0a, #1a0033, #001122)",
|
|
@@ -60,10 +65,6 @@ def get_cyberpunk_theme():
|
|
| 60 |
block_border_width="2px",
|
| 61 |
block_shadow="0 0 15px rgba(0, 255, 65, 0.3)",
|
| 62 |
|
| 63 |
-
# Radius
|
| 64 |
-
radius_lg="8px",
|
| 65 |
-
radius_md="6px",
|
| 66 |
-
radius_sm="4px",
|
| 67 |
)
|
| 68 |
|
| 69 |
return theme
|
|
|
|
| 10 |
secondary_hue=colors.purple,
|
| 11 |
neutral_hue=colors.gray,
|
| 12 |
font=[fonts.GoogleFont("Orbitron"), "monospace", "sans-serif"],
|
| 13 |
+
radius_size=sizes.Size(
|
| 14 |
+
lg="8px",
|
| 15 |
+
md="6px",
|
| 16 |
+
sm="4px"
|
| 17 |
+
)
|
| 18 |
).set(
|
| 19 |
# Background colors
|
| 20 |
body_background_fill="linear-gradient(135deg, #0a0a0a, #1a0033, #001122)",
|
|
|
|
| 65 |
block_border_width="2px",
|
| 66 |
block_shadow="0 0 15px rgba(0, 255, 65, 0.3)",
|
| 67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 68 |
)
|
| 69 |
|
| 70 |
return theme
|