Accordion label is not displayed when theme is set to monochrome.
Have you searched existing issues? 🔎
[X] I have searched and found no existing issues
Reproduction
import gradio as gr
def greet(name):
return "Hello " + name + "!"
# with gr.Blocks() as demo:
with gr.Blocks(theme=gr.themes.Monochrome()) as demo:
with gr.Accordion("label text"):
name = gr.Textbox(label="Name")
output = gr.Textbox(label="Output Box")
greet_btn = gr.Button("Greet")
greet_btn.click(fn=greet, inputs=name, outputs=output, api_name="greet")
if __name__ == "__main__":
demo.launch()
Screenshot
monochrome theme
default theme
Logs
No response
System Info
Gradio Environment Information:
------------------------------
Operating System: Linux
gradio version: 4.29.0
gradio_client version: 0.16.1
------------------------------------------------
gradio dependencies in your environment:
aiofiles: 23.2.1
altair: 5.2.0
fastapi: 0.109.0
ffmpy: 0.3.1
gradio-client==0.16.1 is not installed.
httpx: 0.24.1
huggingface-hub: 0.20.3
importlib-resources: 6.1.1
jinja2: 3.1.2
markupsafe: 2.1.3
matplotlib: 3.7.2
numpy: 1.25.1
orjson: 3.9.12
packaging: 23.2
pandas: 2.0.3
pillow: 10.0.0
pydantic: 2.5.3
pydub: 0.25.1
python-multipart: 0.0.9
pyyaml: 6.0.1
ruff: 0.4.3
semantic-version: 2.10.0
tomlkit==0.12.0 is not installed.
typer: 0.12.3
typing-extensions: 4.9.0
urllib3: 2.0.3
uvicorn: 0.27.0
authlib; extra == 'oauth' is not installed.
itsdangerous; extra == 'oauth' is not installed.
gradio_client dependencies in your environment:
fsspec: 2023.12.2
httpx: 0.24.1
huggingface-hub: 0.20.3
packaging: 23.2
typing-extensions: 4.9.0
websockets: 11.0.3
Describe the bug
Accordion label is not displayed when theme is set to monochrome.
Have you searched existing issues? 🔎
Reproduction
Screenshot
monochrome theme
default theme
Logs
No response
System Info
Severity
I can work around it