Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -31,11 +31,11 @@ class MinimalistModern(Base):
|
|
31 |
def __init__(
|
32 |
self,
|
33 |
*,
|
34 |
-
primary_hue: colors.Color | str = colors.
|
35 |
-
secondary_hue: colors.Color | str = colors.
|
36 |
neutral_hue: colors.Color | str = colors.indigo,
|
37 |
spacing_size: sizes.Size | str = sizes.spacing_md,
|
38 |
-
radius_size: sizes.Size | str = sizes.
|
39 |
text_size: sizes.Size | str = sizes.text_lg,
|
40 |
font: fonts.Font
|
41 |
| str
|
@@ -63,19 +63,19 @@ class MinimalistModern(Base):
|
|
63 |
font_mono=font_mono,
|
64 |
)
|
65 |
super().set(
|
66 |
-
body_background_fill="linear-gradient(
|
67 |
-
body_background_fill_dark="linear-gradient(
|
68 |
-
button_primary_background_fill="linear-gradient(90deg, *
|
69 |
-
button_primary_background_fill_hover="linear-gradient(90deg, *
|
70 |
button_primary_text_color="white",
|
71 |
-
button_primary_background_fill_dark="linear-gradient(90deg, *primary_500, *
|
72 |
-
slider_color="*
|
73 |
slider_color_dark="*secondary_500",
|
74 |
block_title_text_weight="500",
|
75 |
block_border_width="2px",
|
76 |
block_shadow="*shadow_drop_md",
|
77 |
button_primary_shadow="*shadow_drop_md",
|
78 |
-
button_large_padding="
|
79 |
)
|
80 |
|
81 |
minimalist_modern = MinimalistModern()
|
|
|
31 |
def __init__(
|
32 |
self,
|
33 |
*,
|
34 |
+
primary_hue: colors.Color | str = colors.sky,
|
35 |
+
secondary_hue: colors.Color | str = colors.teal,
|
36 |
neutral_hue: colors.Color | str = colors.indigo,
|
37 |
spacing_size: sizes.Size | str = sizes.spacing_md,
|
38 |
+
radius_size: sizes.Size | str = sizes.radius_md,
|
39 |
text_size: sizes.Size | str = sizes.text_lg,
|
40 |
font: fonts.Font
|
41 |
| str
|
|
|
63 |
font_mono=font_mono,
|
64 |
)
|
65 |
super().set(
|
66 |
+
body_background_fill="linear-gradient(135deg, *primary_100, *secondary_100)",
|
67 |
+
body_background_fill_dark="linear-gradient(135deg, *primary_700, *secondary_700)",
|
68 |
+
button_primary_background_fill="linear-gradient(90deg, *primary_200, *secondary_300)",
|
69 |
+
button_primary_background_fill_hover="linear-gradient(90deg, *primary_100, *secondary_200)",
|
70 |
button_primary_text_color="white",
|
71 |
+
button_primary_background_fill_dark="linear-gradient(90deg, *primary_500, *secondary_600)",
|
72 |
+
slider_color="*secondary_200",
|
73 |
slider_color_dark="*secondary_500",
|
74 |
block_title_text_weight="500",
|
75 |
block_border_width="2px",
|
76 |
block_shadow="*shadow_drop_md",
|
77 |
button_primary_shadow="*shadow_drop_md",
|
78 |
+
button_large_padding="28px",
|
79 |
)
|
80 |
|
81 |
minimalist_modern = MinimalistModern()
|