Spaces:
Running
Running
Update assets/theme.py
Browse files- assets/theme.py +6 -6
assets/theme.py
CHANGED
|
@@ -8,7 +8,7 @@ from gradio.themes.base import Base
|
|
| 8 |
from gradio.themes.utils import colors, fonts, sizes
|
| 9 |
|
| 10 |
|
| 11 |
-
class
|
| 12 |
def __init__(
|
| 13 |
self,
|
| 14 |
*,
|
|
@@ -39,7 +39,7 @@ class Ilaria(Base):
|
|
| 39 |
font=font,
|
| 40 |
font_mono=font_mono,
|
| 41 |
)
|
| 42 |
-
self.name = ("
|
| 43 |
self.pink_50 = "#FDF2F8"
|
| 44 |
self.pink_100 = "#FCE7F3"
|
| 45 |
self.pink_200 = "#FBCFE8"
|
|
@@ -53,10 +53,10 @@ class Ilaria(Base):
|
|
| 53 |
self.pink_950 = "#500724"
|
| 54 |
|
| 55 |
super().set(
|
| 56 |
-
#
|
| 57 |
-
background_fill_primary="#
|
| 58 |
background_fill_primary_dark="#110F0F",
|
| 59 |
-
background_fill_secondary="#
|
| 60 |
background_fill_secondary_dark="#110F0F",
|
| 61 |
block_background_fill="*neutral_800",
|
| 62 |
block_background_fill_dark="*neutral_800",
|
|
@@ -97,7 +97,7 @@ class Ilaria(Base):
|
|
| 97 |
block_title_text_color_dark="#110F0F",
|
| 98 |
block_title_text_size="*text_md",
|
| 99 |
block_title_text_weight="600",
|
| 100 |
-
body_background_fill="#
|
| 101 |
body_background_fill_dark="#110F0F",
|
| 102 |
body_text_color="white",
|
| 103 |
body_text_color_dark="white",
|
|
|
|
| 8 |
from gradio.themes.utils import colors, fonts, sizes
|
| 9 |
|
| 10 |
|
| 11 |
+
class PinkTheme(Base):
|
| 12 |
def __init__(
|
| 13 |
self,
|
| 14 |
*,
|
|
|
|
| 39 |
font=font,
|
| 40 |
font_mono=font_mono,
|
| 41 |
)
|
| 42 |
+
self.name = ("PinkTheme",)
|
| 43 |
self.pink_50 = "#FDF2F8"
|
| 44 |
self.pink_100 = "#FCE7F3"
|
| 45 |
self.pink_200 = "#FBCFE8"
|
|
|
|
| 53 |
self.pink_950 = "#500724"
|
| 54 |
|
| 55 |
super().set(
|
| 56 |
+
# Blaise
|
| 57 |
+
background_fill_primary="#FFFFFF",
|
| 58 |
background_fill_primary_dark="#110F0F",
|
| 59 |
+
background_fill_secondary="#FFFFFF",
|
| 60 |
background_fill_secondary_dark="#110F0F",
|
| 61 |
block_background_fill="*neutral_800",
|
| 62 |
block_background_fill_dark="*neutral_800",
|
|
|
|
| 97 |
block_title_text_color_dark="#110F0F",
|
| 98 |
block_title_text_size="*text_md",
|
| 99 |
block_title_text_weight="600",
|
| 100 |
+
body_background_fill="#FFFFFF",
|
| 101 |
body_background_fill_dark="#110F0F",
|
| 102 |
body_text_color="white",
|
| 103 |
body_text_color_dark="white",
|