Deddy commited on
Commit
c4e57a3
โ€ข
1 Parent(s): e720eb3

Update themes.py

Browse files
Files changed (1) hide show
  1. themes.py +15 -14
themes.py CHANGED
@@ -7,23 +7,23 @@ class IndonesiaTheme(Base):
7
  def __init__(
8
  self,
9
  *,
10
- primary_hue: colors.Color | str = colors.purple,
11
- secondary_hue: colors.Color | str = colors.pink,
12
  neutral_hue: colors.Color | str = colors.gray,
13
  spacing_size: sizes.Size | str = sizes.spacing_md,
14
  radius_size: sizes.Size | str = sizes.radius_md,
15
- text_size: sizes.Size | str = sizes.text_md,
16
  font: fonts.Font
17
  | str
18
  | Iterable[fonts.Font | str] = (
19
- fonts.GoogleFont("Poppins"),
20
  "ui-sans-serif",
21
  "sans-serif",
22
  ),
23
  font_mono: fonts.Font
24
  | str
25
  | Iterable[fonts.Font | str] = (
26
- fonts.GoogleFont("Fira Code"),
27
  "ui-monospace",
28
  "monospace",
29
  ),
@@ -39,17 +39,18 @@ class IndonesiaTheme(Base):
39
  font_mono=font_mono,
40
  )
41
  super().set(
42
- body_background_fill="linear-gradient(to bottom, #ffffff, #ffebee)", # Gradasi dari putih ke merah muda
43
- body_background_fill_dark="linear-gradient(to bottom, #b71c1c, #f44336)", # Gradasi merah gelap ke merah terang untuk mode gelap
44
- button_primary_background_fill="linear-gradient(90deg, #d32f2f, #b71c1c)", # Gradasi merah untuk tombol utama
45
- button_primary_background_fill_hover="linear-gradient(90deg, #e57373, #d32f2f)", # Gradasi merah lebih terang untuk hover state
46
  button_primary_text_color="white",
47
- button_primary_background_fill_dark="linear-gradient(90deg, #c62828, #b71c1c)", # Gradasi merah lebih gelap untuk mode gelap
48
  slider_color="*secondary_300",
49
  slider_color_dark="*secondary_600",
50
  block_title_text_weight="600",
51
- block_border_width="2px",
52
- block_shadow="0px 4px 12px rgba(0, 0, 0, 0.1)", # Bayangan lembut untuk blok
53
- button_shadow="0px 4px 12px rgba(0, 0, 0, 0.2)", # Bayangan lembut untuk tombol
54
- button_large_padding="20px 40px",
55
  )
 
 
7
  def __init__(
8
  self,
9
  *,
10
+ primary_hue: colors.Color | str = colors.red,
11
+ secondary_hue: colors.Color | str = colors.gray,
12
  neutral_hue: colors.Color | str = colors.gray,
13
  spacing_size: sizes.Size | str = sizes.spacing_md,
14
  radius_size: sizes.Size | str = sizes.radius_md,
15
+ text_size: sizes.Size | str = sizes.text_lg,
16
  font: fonts.Font
17
  | str
18
  | Iterable[fonts.Font | str] = (
19
+ fonts.GoogleFont("Quicksand"),
20
  "ui-sans-serif",
21
  "sans-serif",
22
  ),
23
  font_mono: fonts.Font
24
  | str
25
  | Iterable[fonts.Font | str] = (
26
+ fonts.GoogleFont("IBM Plex Mono"),
27
  "ui-monospace",
28
  "monospace",
29
  ),
 
39
  font_mono=font_mono,
40
  )
41
  super().set(
42
+ body_background_fill="linear-gradient(to bottom, #FF7F50, #FFD700, #00FF7F, #00BFFF, #8A2BE2)", # Gradasi dari coral ke gold ke spring green ke deep sky blue ke blue violet
43
+ body_background_fill_dark="linear-gradient(to bottom, #8B0000, #FF4500, #FF8C00, #FFD700, #00FF00)", # Gradasi dari dark red ke orange red ke dark orange ke gold ke lime
44
+ button_primary_background_fill="linear-gradient(90deg, #FF69B4, #FF1493)", # Hot pink ke deep pink
45
+ button_primary_background_fill_hover="linear-gradient(90deg, #FFB6C1, #FF69B4)", # Light pink ke hot pink
46
  button_primary_text_color="white",
47
+ button_primary_background_fill_dark="linear-gradient(90deg, #C71585, #FF1493)", # Medium violet red ke deep pink
48
  slider_color="*secondary_300",
49
  slider_color_dark="*secondary_600",
50
  block_title_text_weight="600",
51
+ block_border_width="3px",
52
+ block_shadow="*shadow_drop_lg",
53
+ button_shadow="*shadow_drop_lg",
54
+ button_large_padding="32px",
55
  )
56
+