Zaiiida commited on
Commit
15a2a86
·
verified ·
1 Parent(s): 4a66700

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -7
app.py CHANGED
@@ -83,7 +83,7 @@ def stop_loading():
83
  class CustomTheme(gr.themes.Base):
84
  def __init__(self):
85
  super().__init__()
86
- self.primary_hue = "#191a1e"
87
  self.background_fill_primary = "#191a1e"
88
  self.background_fill_secondary = "#191a1e"
89
  self.background_fill_tertiary = "#191a1e"
@@ -114,11 +114,11 @@ body, input, button, textarea, select, .gr-button {
114
  h1, h2, h3, h4, h5, h6 {
115
  font-family: 'Poppins', sans-serif;
116
  font-weight: 700;
117
- color:"#FFFFFF";
118
  }
119
  /* Лоадер внутри кнопки */
120
  .generate-button {
121
- background-color: #191a1e !important; /* Новый цвет кнопки */
122
  color: #FFFFFF !important; /* Цвет текста */
123
  border: none;
124
  font-weight: bold;
@@ -126,10 +126,6 @@ h1, h2, h3, h4, h5, h6 {
126
  display: flex;
127
  align-items: center;
128
  justify-content: center;
129
- position: relative; /* Кнопка становится родительским контейнером */
130
- display: flex;
131
- align-items: center;
132
- justify-content: center;
133
  }
134
 
135
  /* Лоадер с пульсацией и вращением */
 
83
  class CustomTheme(gr.themes.Base):
84
  def __init__(self):
85
  super().__init__()
86
+ self.primary_hue = "#5271FF"
87
  self.background_fill_primary = "#191a1e"
88
  self.background_fill_secondary = "#191a1e"
89
  self.background_fill_tertiary = "#191a1e"
 
114
  h1, h2, h3, h4, h5, h6 {
115
  font-family: 'Poppins', sans-serif;
116
  font-weight: 700;
117
+ color: #FFFFFF;
118
  }
119
  /* Лоадер внутри кнопки */
120
  .generate-button {
121
+ background-color: #5271FF !important; /* Цвет кнопки */
122
  color: #FFFFFF !important; /* Цвет текста */
123
  border: none;
124
  font-weight: bold;
 
126
  display: flex;
127
  align-items: center;
128
  justify-content: center;
 
 
 
 
129
  }
130
 
131
  /* Лоадер с пульсацией и вращением */