Kim Juwon commited on
Commit
867dd48
·
1 Parent(s): 39ade08

update UI/UX

Browse files
Files changed (2) hide show
  1. __pycache__/app.cpython-39.pyc +0 -0
  2. app.py +11 -11
__pycache__/app.cpython-39.pyc CHANGED
Binary files a/__pycache__/app.cpython-39.pyc and b/__pycache__/app.cpython-39.pyc differ
 
app.py CHANGED
@@ -66,9 +66,9 @@ def show_settings_changed_info(agent_type, personality, expertise_level, languag
66
  Chat has been reset. Please start a new conversation with the updated settings.
67
  """
68
 
69
- # 🌈 완벽한 다크/라이트 모드 CSS
70
  custom_css = """
71
- /* 기본 라이트 모드 */
72
  body, .gradio-container {
73
  background-color: #f9f9fb;
74
  color: #333;
@@ -86,7 +86,7 @@ body, .gradio-container {
86
  border-radius: 10px;
87
  }
88
  .gr-button-primary {
89
- background-color: #a78bfa !important;
90
  color: #fff !important;
91
  }
92
  .gr-button-secondary {
@@ -101,29 +101,29 @@ body, .gradio-container {
101
  /* 다크 모드 */
102
  @media (prefers-color-scheme: dark) {
103
  body, .gradio-container {
104
- background-color: #121212;
105
- color: #e0e0e0;
106
  }
107
  .gr-box, .gr-group, .gr-column, .gr-dropdown, .gr-textbox, .gr-markdown {
108
- background-color: #1e1e1e;
109
- color: #e0e0e0;
110
  border: 1px solid #333;
111
  }
112
  .gr-chatbot {
113
  background-color: #1a1a1a;
114
- color: #e0e0e0;
115
  }
116
  .gr-button-primary {
117
  background-color: #ff7847 !important;
118
  color: #fff !important;
119
  }
120
  .gr-button-secondary {
121
- background-color: #555 !important;
122
  color: #fff !important;
123
  }
124
  .gr-dropdown select, .gr-textbox textarea {
125
- background-color: #1e1e1e;
126
- color: #e0e0e0;
127
  }
128
  }
129
  """
 
66
  Chat has been reset. Please start a new conversation with the updated settings.
67
  """
68
 
69
+ # 🎨 완벽한 다크/라이트 모드 CSS
70
  custom_css = """
71
+ /* 기본(라이트 모드) */
72
  body, .gradio-container {
73
  background-color: #f9f9fb;
74
  color: #333;
 
86
  border-radius: 10px;
87
  }
88
  .gr-button-primary {
89
+ background-color: #ff7847 !important;
90
  color: #fff !important;
91
  }
92
  .gr-button-secondary {
 
101
  /* 다크 모드 */
102
  @media (prefers-color-scheme: dark) {
103
  body, .gradio-container {
104
+ background-color: #0d0d0d;
105
+ color: #f0f0f0;
106
  }
107
  .gr-box, .gr-group, .gr-column, .gr-dropdown, .gr-textbox, .gr-markdown {
108
+ background-color: #1a1a1a;
109
+ color: #f0f0f0;
110
  border: 1px solid #333;
111
  }
112
  .gr-chatbot {
113
  background-color: #1a1a1a;
114
+ color: #f0f0f0;
115
  }
116
  .gr-button-primary {
117
  background-color: #ff7847 !important;
118
  color: #fff !important;
119
  }
120
  .gr-button-secondary {
121
+ background-color: #444 !important;
122
  color: #fff !important;
123
  }
124
  .gr-dropdown select, .gr-textbox textarea {
125
+ background-color: #1a1a1a;
126
+ color: #f0f0f0;
127
  }
128
  }
129
  """