1
+ import flet as ft
2
+
3
+ BOLD = ft .FontWeight .BOLD
4
+ TEXT_COLOR = ft .colors .ON_SURFACE
5
+ ACCENT2_COLOR = ft .colors .PRIMARY
6
+ BACKGROUND_COLOR = ft .colors .SURFACE
7
+ CONTAINER_COLOR = ft .colors .PRIMARY_CONTAINER
8
+
9
+ defualt_theme = {
10
+ 'accent' : '#E2746D' ,
11
+ "text" : 'black' , #'black'
12
+ "background" : '#C6E2FF' , #'#C6E2FF'#C6E2FF'#"#ECF1F6"
13
+ 'container' : 'white' ,
14
+ }
15
+ sleek_blue_theme = {
16
+ 'accent' : '#1E88E5' , # Strong, vibrant blue accent
17
+ 'text' : '#1A1A1A' , # Almost black text for contrast
18
+ 'background' : '#E3F2FD' , # Light blue background for a modern, cool look
19
+ 'container' : '#FFFFFF' , # White container for strong contrast with the background
20
+ }
21
+ forest_green_theme = {
22
+ 'accent' : '#388E3C' , # Deep forest green accent
23
+ 'text' : '#2D2D2D' , # Dark grey for readable text
24
+ 'background' : '#E8F5E9' , # Light greenish background for a soft, natural feel
25
+ 'container' : '#FFFFFF' , # White container to provide contrast with the background
26
+ }
27
+ new_teal_theme = {
28
+ 'accent' : '#00796B' , # Muted teal for a calm accent
29
+ 'text' : '#004D40' , # Darker teal for a cohesive text color
30
+ 'background' : '#E0F2F1' , # Light, soft teal background to match the accent
31
+ 'container' : '#FFFFFF' , # White container for a clean look
32
+ }
33
+ new_red_theme = {
34
+ 'accent' : '#D32F2F' , # Slightly darker red for a less harsh accent
35
+ 'text' : '#37474F' , # Blue-grey text to complement the red accent
36
+ 'background' : '#FAFAFA' , # Very light grey background to soften the look
37
+ 'container' : '#CFD8DC' , # Light blue-grey for a subtle container color
38
+ }
39
+ soft_lavender_theme = {
40
+ 'accent' : '#9575CD' , # Soft lavender for a calm, caring vibe
41
+ 'text' : '#4A4A4A' , # Medium-dark grey for a softer, non-harsh text
42
+ 'background' : '#F3E5F5' , # Very light lavender for a nurturing and gentle environment
43
+ 'container' : '#FFFFFF' , # White for clarity and professionalism
44
+ }
45
+ professional_grey_blue_theme = {
46
+ 'accent' : '#5C6BC0' , # Soft indigo for a modern, trustworthy accent
47
+ 'text' : '#1A1A1A' , # Almost black text for strong readability
48
+ 'background' : '#F0F4C3' , # Very light grey-blue for a professional, clean feel
49
+ 'container' : '#FFFFFF' , # White container to maintain a clean and modern look
50
+ }
51
+ new_default_theme = {
52
+ 'accent' : '#E57373' , # Soft coral-red for a friendly accent
53
+ 'text' : '#212121' , # Dark grey text for good readability
54
+ 'background' : '#D0E3FF' , # Slightly darker blue to contrast with the container
55
+ 'container' : '#FFFFFF' , # White container for strong contrast with the background
56
+ }
57
+
58
+ THEMES_LIST = [
59
+ defualt_theme ,
60
+ sleek_blue_theme ,
61
+ forest_green_theme ,
62
+ new_teal_theme ,
63
+ new_red_theme ,
64
+ soft_lavender_theme ,
65
+ professional_grey_blue_theme ,
66
+ new_default_theme
67
+ ]
68
+ # eight maximum
0 commit comments