richylyq commited on
Commit
5e8469e
1 Parent(s): 46abd0a

test change font

Browse files
Files changed (1) hide show
  1. app.py +8 -8
app.py CHANGED
@@ -37,9 +37,9 @@ class myTheme(Base):
37
  font: fonts.Font
38
  | str
39
  | Iterable[fonts.Font | str] = (
40
- fonts.GoogleFont("Quicksand"),
41
- "ui-sans-serif",
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(45deg, *primary_200, *primary_200 10px, *primary_50 10px, *primary_50 20px)",
64
- body_background_fill_dark="repeating-linear-gradient(45deg, *primary_800, *primary_800 10px, *primary_900 10px, *primary_900 20px)",
65
- button_primary_background_fill="linear-gradient(90deg, *primary_300, *secondary_400)",
66
- button_primary_background_fill_hover="linear-gradient(90deg, *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,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="32px",
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