Upload folder using huggingface_hub
#1
by hmb HF Staff - opened
- README.md +34 -0
- manifest.json +20 -0
README.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# Gradio Theme Gallery
|
| 6 |
+
|
| 7 |
+
Community-contributed themes for [Gradio](https://gradio.app). This dataset powers the theme gallery at [gradio.app/themes](https://gradio.app/themes/gallery).
|
| 8 |
+
|
| 9 |
+
## How to add a theme
|
| 10 |
+
|
| 11 |
+
Add an entry to `manifest.json` with your theme's metadata:
|
| 12 |
+
|
| 13 |
+
```json
|
| 14 |
+
{
|
| 15 |
+
"id": "your-username/your-theme",
|
| 16 |
+
"name": "Your Theme Name",
|
| 17 |
+
"author": "your-username",
|
| 18 |
+
"description": "A short description of your theme.",
|
| 19 |
+
"hf_space_id": "your-username/your-theme-space",
|
| 20 |
+
"colors": {
|
| 21 |
+
"primary": "#hex",
|
| 22 |
+
"secondary": "#hex",
|
| 23 |
+
"neutral": "#hex",
|
| 24 |
+
"background": "#hex",
|
| 25 |
+
"background_dark": "#hex"
|
| 26 |
+
},
|
| 27 |
+
"fonts": {
|
| 28 |
+
"main": "Font Name",
|
| 29 |
+
"mono": "Mono Font Name"
|
| 30 |
+
}
|
| 31 |
+
}
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
Open a Pull Request to this dataset to submit your theme.
|
manifest.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"id": "gstaff/xkcd",
|
| 4 |
+
"name": "xkcd",
|
| 5 |
+
"author": "gstaff",
|
| 6 |
+
"description": "A playful theme inspired by xkcd comics, using the hand-drawn xkcd font with monochrome neutral colors.",
|
| 7 |
+
"hf_space_id": "gstaff/xkcd",
|
| 8 |
+
"colors": {
|
| 9 |
+
"primary": "#737373",
|
| 10 |
+
"secondary": "#737373",
|
| 11 |
+
"neutral": "#737373",
|
| 12 |
+
"background": "#ffffff",
|
| 13 |
+
"background_dark": "#171717"
|
| 14 |
+
},
|
| 15 |
+
"fonts": {
|
| 16 |
+
"main": "xkcd",
|
| 17 |
+
"mono": "Courier New"
|
| 18 |
+
}
|
| 19 |
+
}
|
| 20 |
+
]
|