JJJJJllll commited on
Commit
315a90f
1 Parent(s): 2cd9e86

dark mode force, not mac bug

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -72,6 +72,15 @@ with gr.Blocks(
72
  title="JuggleRL 路 Quadrotor Ball Juggling",
73
  theme=theme,
74
  css="""
 
 
 
 
 
 
 
 
 
75
  .topbar{
76
  display:flex;justify-content:space-between;align-items:center;
77
  gap:12px; padding:18px 20px; border-bottom:1px solid rgba(255,255,255,.08);
 
72
  title="JuggleRL 路 Quadrotor Ball Juggling",
73
  theme=theme,
74
  css="""
75
+ :root, :host, html, body {
76
+ color-scheme: dark !important; /* 寮哄埗娣辫壊娓叉煋 */
77
+ background: #0b1020 !important;
78
+ color: #e7eefc !important;
79
+ }
80
+ .gradio-container {
81
+ background: #0b1020 !important;
82
+ }
83
+
84
  .topbar{
85
  display:flex;justify-content:space-between;align-items:center;
86
  gap:12px; padding:18px 20px; border-bottom:1px solid rgba(255,255,255,.08);