gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
31.82k stars 2.37k forks source link

Gradio Theme Demo in Documentation #5530

Open Ifeanyi55 opened 11 months ago

Ifeanyi55 commented 11 months ago

Hello,

I want to start out by applauding your awesome work with the gradio Python library, which has become an indispensable part of my data science stack.

However, I would like gradio's official documentation to include some more demos. One area I have identified is the theme part of the documentation, which does not have any demo app at all. I think it would be nice to have a demo app there along with the code that was used to configure the base theme of the app (gr.themes.Base( )).

I will be happy to contribute a demo app along with code for that section of the official gradio documentation so as to further guide users when building their own themes.

Thanks!

Ifeanyi55 commented 11 months ago

So, what do I do next? @abidlabs

abidlabs commented 11 months ago

cc @aliabd for guidance

Ifeanyi55 commented 11 months ago

Hi @aliabd, please what do I do next to contribute to Gradio's official documentation according to the issue I raised?

aliabd commented 11 months ago

@Ifeanyi55 We actually do have demos for working with themes, we just don't embed them currently on the website. This is because of a separate css leak with the website that makes the theme affect other embedded demos. I'll work on fixing that (will keep this issue open).

For now, here are the demos on spaces:

Also checkout our guide on Theming.

Will tie those demos and guide into the docs soon.

Ifeanyi55 commented 11 months ago

Thanks. But how about including at least the code used to create themes on the Gradio website? I do not see any code in the documentation. I would love to share code samples @aliabd

abidlabs commented 11 months ago

Hi @Ifeanyi55 the code actually is included -- but in the Guides: https://www.gradio.app/guides/theming-guide

Ifeanyi55 commented 11 months ago

I see the code in the guide, thanks. Will still love to contribute somehow to Gradio, nevertheless. @abidlabs @aliabd

abidlabs commented 11 months ago

Hi @Ifeanyi55 there are some other issues that we could use your help with: https://github.com/gradio-app/gradio/labels/good%20first%20issue -- perhaps you want to take a look?

Ifeanyi55 commented 11 months ago

Thanks @abidlabs