Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -437,10 +437,12 @@ css = f"""
|
|
| 437 |
for i in range(opt.max_palettes + 1):
|
| 438 |
css = css + f"""
|
| 439 |
.secondary#semantic-palette-{i} {{
|
|
|
|
| 440 |
background-image: linear-gradient(to right, #374151 0%, #374151 71%, {opt.colors[i]} 100%);
|
| 441 |
}}
|
| 442 |
|
| 443 |
.primary#semantic-palette-{i} {{
|
|
|
|
| 444 |
background-image: linear-gradient(to right, #4338ca 0%, #4338ca 71%, {opt.colors[i]} 100%);
|
| 445 |
}}
|
| 446 |
"""
|
|
|
|
| 437 |
for i in range(opt.max_palettes + 1):
|
| 438 |
css = css + f"""
|
| 439 |
.secondary#semantic-palette-{i} {{
|
| 440 |
+
color: white;
|
| 441 |
background-image: linear-gradient(to right, #374151 0%, #374151 71%, {opt.colors[i]} 100%);
|
| 442 |
}}
|
| 443 |
|
| 444 |
.primary#semantic-palette-{i} {{
|
| 445 |
+
color: white;
|
| 446 |
background-image: linear-gradient(to right, #4338ca 0%, #4338ca 71%, {opt.colors[i]} 100%);
|
| 447 |
}}
|
| 448 |
"""
|