Spaces:
Runtime error
Runtime error
Update beschreibungen.py
Browse files- 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 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
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 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|