alexkueck commited on
Commit
4501dba
1 Parent(s): 195e323

Update beschreibungen.py

Browse files
Files changed (1) hide show
  1. beschreibungen.py +26 -59
beschreibungen.py CHANGED
@@ -35,62 +35,29 @@ ALREADY_CONVERTED_MARK = "<!-- ALREADY CONVERTED BY PARSER. -->"
35
 
36
  #Theme
37
  small_and_beautiful_theme = gr.themes.Soft(
38
- primary_hue=gr.themes.Color(
39
- c50="#B808AD",
40
- c100="rgba(184,8,173, 0.2)", #rgba(2, 193, 96, ...)
41
- c200="#B808AD",
42
- c300="rgba(184,8,173, 0.32)",
43
- c400="rgba(184,8,173, 0.32)",
44
- c500="rgba(184,8,173, 1.0)",
45
- c600="rgba(184,8,173, 1.0)",
46
- c700="rgba(184,8,173, 0.32)",
47
- c800="rgba(184,8,173, 0.32)",
48
- c900="#B808AD",
49
- c950="#B808AD",
50
- ),
51
- secondary_hue=gr.themes.Color(
52
- c50="#576b95",
53
- c100="#576b95",
54
- c200="#576b95",
55
- c300="#576b95",
56
- c400="#576b95",
57
- c500="#576b95",
58
- c600="#576b95",
59
- c700="#576b95",
60
- c800="#576b95",
61
- c900="#576b95",
62
- c950="#576b95",
63
- ),
64
- neutral_hue=gr.themes.Color(
65
- name="dark",
66
- c50="#171717",
67
- c100="#272727",
68
- c200="#393939",
69
- c300="#515151",
70
- c400="#636363",
71
- c500="#808080",
72
- c600="#B2B2B2",
73
- c700="#d1d5db",
74
- c800="#e5e7eb",
75
- c900="#f3f4f6",
76
- c950="#f9fafb",
77
- ),
78
- radius_size=gr.themes.sizes.radius_sm,
79
- ).set(
80
- button_primary_background_fill="#B808AD",
81
- button_primary_background_fill_dark="#6501AD",
82
- button_primary_background_fill_hover="#B40FC6",
83
- button_primary_border_color="#B808AD",
84
- button_primary_border_color_dark="#B808AD",
85
- button_primary_text_color="#FFFFFF",
86
- button_primary_text_color_dark="#FFFFFF",
87
- button_secondary_background_fill="#F2F2F2",
88
- button_secondary_background_fill_dark="#2B2B2B",
89
- button_secondary_text_color="#393939",
90
- button_secondary_text_color_dark="#FFFFFF",
91
- # background_fill_primary="#F7F7F7",
92
- background_fill_primary_dark="#1F1F1F",
93
- block_title_text_color="*primary_500",
94
- block_title_background_fill="*primary_100",
95
- input_background_fill="#353535",
96
- )
 
35
 
36
  #Theme
37
  small_and_beautiful_theme = gr.themes.Soft(
38
+ primary_hue=gr.themes.Color(
39
+ c50="#303030", # Dunkler Hintergrund
40
+ c100="#383838", # Etwas hellerer Hintergrund
41
+ c200="#D67FFF", # Hauptakzentfarbe
42
+ c300="#505050", # Dunkler Hintergrund
43
+ c400="#585858", # Dunkler Hintergrund
44
+ c500="#606060", # Dunkler Hintergrund
45
+ c600="#686868", # Dunkler Hintergrund
46
+ c700="#707070", # Dunkler Hintergrund
47
+ c800="#787878", # Dunkler Hintergrund
48
+ c900="#D67FFF", # Hauptakzentfarbe
49
+ c950="#D67FFF", # Hauptakzentfarbe
50
+ ),
51
+ secondary_hue=gr.themes.Color(
52
+ # Dunkle Sekundärfarben
53
+ ),
54
+ neutral_hue=gr.themes.Color(
55
+ # Dunkle Neutrale Farben
56
+ ),
57
+ radius_size=gr.themes.sizes.radius_sm,
58
+ ).set(
59
+ # Anpassungen der Button- und Hintergrundfarben
60
+ button_primary_background_fill="#B808AD",
61
+ button_primary_background_fill_dark="#6501AD",
62
+ # Weitere Anpassungen
63
+ )