cwhuh commited on
Commit
d545067
Β·
1 Parent(s): aa3daa3

update : color

Browse files
Files changed (1) hide show
  1. app.py +30 -2
app.py CHANGED
@@ -78,12 +78,40 @@ css="""
78
  font-size: 0.8em;
79
  color: #666;
80
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  """
82
 
83
  with gr.Blocks(css=css, theme="soft") as demo:
84
 
85
  with gr.Column(elem_id="col-container"):
86
- gr.Markdown(f"""# 🌊 [POSTECH] PONIX Generator
87
  [[based on FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)]
88
  """)
89
 
@@ -171,7 +199,7 @@ with gr.Blocks(css=css, theme="soft") as demo:
171
 
172
  gr.HTML("""
173
  <div class="footer">
174
- PONIX Generator by ν—ˆμ±„μ› | POSTECH
175
  </div>
176
  """)
177
 
 
78
  font-size: 0.8em;
79
  color: #666;
80
  }
81
+
82
+ /* ν¬μŠ€ν… λ ˆλ“œ 색상 적용 */
83
+ button.primary {
84
+ background-color: rgb(200, 1, 80) !important;
85
+ border-color: rgb(200, 1, 80) !important;
86
+ }
87
+
88
+ button.primary:hover {
89
+ background-color: rgba(200, 1, 80, 0.8) !important;
90
+ border-color: rgb(200, 1, 80) !important;
91
+ }
92
+
93
+ .postech-red {
94
+ color: rgb(200, 1, 80);
95
+ }
96
+
97
+ .accordion .label-wrap {
98
+ color: rgb(200, 1, 80) !important;
99
+ }
100
+
101
+ .examples .icon {
102
+ color: rgb(200, 1, 80) !important;
103
+ }
104
+
105
+ input[type="checkbox"]:checked {
106
+ background-color: rgb(200, 1, 80) !important;
107
+ border-color: rgb(200, 1, 80) !important;
108
+ }
109
  """
110
 
111
  with gr.Blocks(css=css, theme="soft") as demo:
112
 
113
  with gr.Column(elem_id="col-container"):
114
+ gr.Markdown(f"""# πŸ” <span class="postech-red">[POSTECH]</span> PONIX Generator
115
  [[based on FLUX.1-dev](https://huggingface.co/black-forest-labs/FLUX.1-dev/blob/main/LICENSE.md)]
116
  """)
117
 
 
199
 
200
  gr.HTML("""
201
  <div class="footer">
202
+ PONIX Generator by <span class="postech-red">ν—ˆμ² μ›</span> | <span class="postech-red">POSTECH</span>
203
  </div>
204
  """)
205