abir-hr196 commited on
Commit
976790c
·
1 Parent(s): b4215f7
Files changed (1) hide show
  1. app.py +33 -0
app.py CHANGED
@@ -61,6 +61,39 @@ input[type="range"]::-webkit-slider-thumb {
61
  input[type="range"]::-moz-range-thumb {
62
  background: #FF6B4A !important;
63
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  """
65
 
66
  with gr.Blocks(css=custom_css, title="TinySQL Demo", theme=gr.themes.Base()) as demo:
 
61
  input[type="range"]::-moz-range-thumb {
62
  background: #FF6B4A !important;
63
  }
64
+
65
+ /* Force dark inputs and dropdowns */
66
+ input, textarea, select {
67
+ background: #1A1A1A !important;
68
+ color: #E0E0E0 !important;
69
+ border: 1px solid #3A3A3A !important;
70
+ }
71
+
72
+ /* Force dark table/dataframe */
73
+ .dataframe, .table-wrap, table {
74
+ background: #1A1A1A !important;
75
+ }
76
+
77
+ .dataframe td, .dataframe th, table td, table th {
78
+ background: #1A1A1A !important;
79
+ color: #E0E0E0 !important;
80
+ border-color: #3A3A3A !important;
81
+ }
82
+
83
+ /* Dropdown menu */
84
+ .dropdown-menu {
85
+ background: #1A1A1A !important;
86
+ }
87
+
88
+ .dropdown-menu option {
89
+ background: #1A1A1A !important;
90
+ color: #E0E0E0 !important;
91
+ }
92
+
93
+ /* Number input wrapper */
94
+ .number-input, .textbox {
95
+ background: #1A1A1A !important;
96
+ }
97
  """
98
 
99
  with gr.Blocks(css=custom_css, title="TinySQL Demo", theme=gr.themes.Base()) as demo: