test change font
Browse files
app.py
CHANGED
@@ -37,9 +37,9 @@ class myTheme(Base):
|
|
37 |
font: fonts.Font
|
38 |
| str
|
39 |
| Iterable[fonts.Font | str] = (
|
40 |
-
fonts.GoogleFont("
|
41 |
-
"
|
42 |
-
"sans-serif",
|
43 |
),
|
44 |
font_mono: fonts.Font
|
45 |
| str
|
@@ -60,10 +60,10 @@ class myTheme(Base):
|
|
60 |
font_mono=font_mono,
|
61 |
)
|
62 |
super().set(
|
63 |
-
body_background_fill="repeating-linear-gradient(
|
64 |
-
body_background_fill_dark="repeating-linear-gradient(
|
65 |
-
button_primary_background_fill="linear-gradient(
|
66 |
-
button_primary_background_fill_hover="linear-gradient(
|
67 |
button_primary_text_color="white",
|
68 |
button_primary_background_fill_dark="linear-gradient(90deg, *primary_600, *secondary_800)",
|
69 |
slider_color="*secondary_300",
|
@@ -72,7 +72,7 @@ class myTheme(Base):
|
|
72 |
block_border_width="3px",
|
73 |
block_shadow="*shadow_drop_lg",
|
74 |
button_shadow="*shadow_drop_lg",
|
75 |
-
button_large_padding="
|
76 |
)
|
77 |
|
78 |
|
|
|
37 |
font: fonts.Font
|
38 |
| str
|
39 |
| Iterable[fonts.Font | str] = (
|
40 |
+
fonts.GoogleFont("handjet"),
|
41 |
+
"cursive",
|
42 |
+
# "sans-serif",
|
43 |
),
|
44 |
font_mono: fonts.Font
|
45 |
| str
|
|
|
60 |
font_mono=font_mono,
|
61 |
)
|
62 |
super().set(
|
63 |
+
body_background_fill="repeating-linear-gradient(135deg, *primary_200, *primary_200 10px, *primary_50 10px, *primary_50 20px)",
|
64 |
+
body_background_fill_dark="repeating-linear-gradient(135deg, *primary_800, *primary_800 10px, *primary_900 10px, *primary_900 20px)",
|
65 |
+
button_primary_background_fill="linear-gradient(45deg, *primary_300, *secondary_400)",
|
66 |
+
button_primary_background_fill_hover="linear-gradient(45deg, *primary_200, *secondary_300)",
|
67 |
button_primary_text_color="white",
|
68 |
button_primary_background_fill_dark="linear-gradient(90deg, *primary_600, *secondary_800)",
|
69 |
slider_color="*secondary_300",
|
|
|
72 |
block_border_width="3px",
|
73 |
block_shadow="*shadow_drop_lg",
|
74 |
button_shadow="*shadow_drop_lg",
|
75 |
+
button_large_padding="24px",
|
76 |
)
|
77 |
|
78 |
|