Upload 7 files
Browse files- README.md +15 -12
- app.py +144 -0
- dark-miku.webp +0 -0
- light-miku-faded.webp +0 -0
- light-miku.webp +0 -0
- theme_dropdown.py +57 -0
- themes/[email protected] +334 -0
README.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1 |
-
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
tags:
|
3 |
+
- gradio-theme
|
4 |
+
title: Yntec Dark Theme
|
5 |
+
colorFrom: gray
|
6 |
+
colorTo: blue
|
7 |
+
sdk: gradio
|
8 |
+
sdk_version: 3.44.0
|
9 |
+
app_file: app.py
|
10 |
+
pinned: false
|
11 |
+
license: apache-2.0
|
12 |
+
---
|
13 |
+
# MONO_Theme
|
14 |
+
## Contributions
|
15 |
+
Thanks to [@NoCrypt](https://huggingface.co/NoCrypt), [@Nymbo](https://huggingface.co/Nymbo), [@ehristoforu](https://huggingface.co/ehristoforu).
|
app.py
ADDED
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import time
|
2 |
+
|
3 |
+
import gradio as gr
|
4 |
+
from gradio.themes.utils.theme_dropdown import create_theme_dropdown
|
5 |
+
|
6 |
+
dropdown, js = create_theme_dropdown()
|
7 |
+
|
8 |
+
with gr.Blocks(theme='John6666/YntecDark') as demo:
|
9 |
+
with gr.Row():
|
10 |
+
with gr.Column(scale=10):
|
11 |
+
gr.Markdown(
|
12 |
+
"""
|
13 |
+
# Theme preview: `YntecDark`
|
14 |
+
To use this theme, set `theme='John6666/YntecDark'` in `gr.Blocks()` or `gr.Interface()`.
|
15 |
+
You can append an `@` and a semantic version expression, e.g. @>=1.0.0,<2.0.0 to pin to a given version
|
16 |
+
of this theme.
|
17 |
+
"""
|
18 |
+
)
|
19 |
+
with gr.Column(scale=3):
|
20 |
+
with gr.Group():
|
21 |
+
dropdown.render()
|
22 |
+
toggle_dark = gr.Button(value="Toggle Dark")
|
23 |
+
|
24 |
+
dropdown.change(None, dropdown, None, _js=js)
|
25 |
+
toggle_dark.click(
|
26 |
+
None,
|
27 |
+
_js="""
|
28 |
+
() => {
|
29 |
+
document.body.classList.toggle('dark');
|
30 |
+
}
|
31 |
+
""",
|
32 |
+
)
|
33 |
+
|
34 |
+
name = gr.Textbox(
|
35 |
+
label="Name",
|
36 |
+
info="Full name, including middle name. No special characters.",
|
37 |
+
placeholder="John Doe",
|
38 |
+
value="John Doe",
|
39 |
+
interactive=True,
|
40 |
+
)
|
41 |
+
|
42 |
+
with gr.Row():
|
43 |
+
slider1 = gr.Slider(label="Slider 1")
|
44 |
+
slider2 = gr.Slider(label="Slider 2")
|
45 |
+
gr.CheckboxGroup(["A", "B", "C"], label="Checkbox Group")
|
46 |
+
|
47 |
+
with gr.Row():
|
48 |
+
with gr.Column(variant="panel", scale=1):
|
49 |
+
gr.Markdown("## Panel 1")
|
50 |
+
radio = gr.Radio(
|
51 |
+
["A", "B", "C"],
|
52 |
+
label="Radio",
|
53 |
+
info="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.",
|
54 |
+
)
|
55 |
+
drop = gr.Dropdown(["Option 1", "Option 2", "Option 3"], show_label=False)
|
56 |
+
drop_2 = gr.Dropdown(
|
57 |
+
["Option A", "Option B", "Option C"],
|
58 |
+
multiselect=True,
|
59 |
+
value=["Option A"],
|
60 |
+
label="Dropdown",
|
61 |
+
interactive=True,
|
62 |
+
)
|
63 |
+
check = gr.Checkbox(label="Go")
|
64 |
+
with gr.Column(variant="panel", scale=2):
|
65 |
+
img = gr.Image(
|
66 |
+
"https://i.ibb.co/F4hKFrZ/dark-miku.webp",
|
67 |
+
label="Image",
|
68 |
+
)
|
69 |
+
with gr.Row():
|
70 |
+
go_btn = gr.Button("Go", variant="primary")
|
71 |
+
clear_btn = gr.Button(
|
72 |
+
"Clear", variant="secondary"
|
73 |
+
)
|
74 |
+
|
75 |
+
def go(*args):
|
76 |
+
time.sleep(3)
|
77 |
+
return "https://i.ibb.co/0rfK9Wm/light-miku-faded.webp"
|
78 |
+
|
79 |
+
go_btn.click(go, [radio, drop, drop_2, check, name], img, api_name="go")
|
80 |
+
|
81 |
+
def clear():
|
82 |
+
time.sleep(0.2)
|
83 |
+
return None
|
84 |
+
|
85 |
+
clear_btn.click(clear, None, img)
|
86 |
+
|
87 |
+
with gr.Row():
|
88 |
+
btn1 = gr.Button("Button 1")
|
89 |
+
btn2 = gr.UploadButton()
|
90 |
+
stop_btn = gr.Button("Stop", variant="stop")
|
91 |
+
|
92 |
+
with gr.Row():
|
93 |
+
gr.Dataframe(value=[[1, 2, 3], [4, 5, 6], [7, 8, 9]], label="Dataframe")
|
94 |
+
gr.JSON(
|
95 |
+
value={"a": 1, "b": 2, "c": {"test": "a", "test2": [1, 2, 3]}}, label="JSON"
|
96 |
+
)
|
97 |
+
gr.Label(value={"cat": 0.7, "dog": 0.2, "fish": 0.1})
|
98 |
+
gr.File()
|
99 |
+
with gr.Row():
|
100 |
+
gr.ColorPicker()
|
101 |
+
gr.Video("https://gradio-static-files.s3.us-west-2.amazonaws.com/world.mp4")
|
102 |
+
gr.Gallery(
|
103 |
+
[
|
104 |
+
(
|
105 |
+
"https://gradio-static-files.s3.us-west-2.amazonaws.com/lion.jpg",
|
106 |
+
"lion",
|
107 |
+
),
|
108 |
+
(
|
109 |
+
"https://gradio-static-files.s3.us-west-2.amazonaws.com/logo.png",
|
110 |
+
"logo",
|
111 |
+
),
|
112 |
+
(
|
113 |
+
"https://gradio-static-files.s3.us-west-2.amazonaws.com/tower.jpg",
|
114 |
+
"tower",
|
115 |
+
),
|
116 |
+
]
|
117 |
+
)
|
118 |
+
|
119 |
+
with gr.Row():
|
120 |
+
with gr.Column(scale=2):
|
121 |
+
chatbot = gr.Chatbot([("Hello", "Hi")], label="Chatbot")
|
122 |
+
chat_btn = gr.Button("Add messages")
|
123 |
+
|
124 |
+
def chat(history):
|
125 |
+
time.sleep(2)
|
126 |
+
yield [["How are you?", "I am good."]]
|
127 |
+
|
128 |
+
chat_btn.click(
|
129 |
+
lambda history: history
|
130 |
+
+ [["How are you?", "I am good."]]
|
131 |
+
+ (time.sleep(2) or []),
|
132 |
+
chatbot,
|
133 |
+
chatbot,
|
134 |
+
)
|
135 |
+
with gr.Column(scale=1):
|
136 |
+
with gr.Accordion("Advanced Settings"):
|
137 |
+
gr.Markdown("Hello")
|
138 |
+
gr.Number(label="Chatbot control 1")
|
139 |
+
gr.Number(label="Chatbot control 2")
|
140 |
+
gr.Number(label="Chatbot control 3")
|
141 |
+
|
142 |
+
|
143 |
+
if __name__ == "__main__":
|
144 |
+
demo.queue().launch()
|
dark-miku.webp
ADDED
light-miku-faded.webp
ADDED
light-miku.webp
ADDED
theme_dropdown.py
ADDED
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import os
|
2 |
+
import pathlib
|
3 |
+
|
4 |
+
from gradio.themes.utils import ThemeAsset
|
5 |
+
|
6 |
+
|
7 |
+
def create_theme_dropdown():
|
8 |
+
import gradio as gr
|
9 |
+
|
10 |
+
asset_path = pathlib.Path(__file__).parent / "themes"
|
11 |
+
themes = []
|
12 |
+
for theme_asset in os.listdir(str(asset_path)):
|
13 |
+
themes.append(
|
14 |
+
(ThemeAsset(theme_asset), gr.Theme.load(str(asset_path / theme_asset)))
|
15 |
+
)
|
16 |
+
|
17 |
+
def make_else_if(theme_asset):
|
18 |
+
return f"""
|
19 |
+
else if (theme == '{str(theme_asset[0].version)}') {{
|
20 |
+
var theme_css = `{theme_asset[1]._get_theme_css()}`
|
21 |
+
}}"""
|
22 |
+
|
23 |
+
head, tail = themes[0], themes[1:]
|
24 |
+
if_statement = f"""
|
25 |
+
if (theme == "{str(head[0].version)}") {{
|
26 |
+
var theme_css = `{head[1]._get_theme_css()}`
|
27 |
+
}} {" ".join(make_else_if(t) for t in tail)}
|
28 |
+
"""
|
29 |
+
|
30 |
+
latest_to_oldest = sorted([t[0] for t in themes], key=lambda asset: asset.version)[
|
31 |
+
::-1
|
32 |
+
]
|
33 |
+
latest_to_oldest = [str(t.version) for t in latest_to_oldest]
|
34 |
+
|
35 |
+
component = gr.Dropdown(
|
36 |
+
choices=latest_to_oldest,
|
37 |
+
value=latest_to_oldest[0],
|
38 |
+
render=False,
|
39 |
+
label="Select Version",
|
40 |
+
).style(container=False)
|
41 |
+
|
42 |
+
return (
|
43 |
+
component,
|
44 |
+
f"""
|
45 |
+
(theme) => {{
|
46 |
+
if (!document.querySelector('.theme-css')) {{
|
47 |
+
var theme_elem = document.createElement('style');
|
48 |
+
theme_elem.classList.add('theme-css');
|
49 |
+
document.head.appendChild(theme_elem);
|
50 |
+
}} else {{
|
51 |
+
var theme_elem = document.querySelector('.theme-css');
|
52 |
+
}}
|
53 |
+
{if_statement}
|
54 |
+
theme_elem.innerHTML = theme_css;
|
55 |
+
}}
|
56 |
+
""",
|
57 |
+
)
|
themes/[email protected]
ADDED
@@ -0,0 +1,334 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"theme": {
|
3 |
+
"_font": [
|
4 |
+
{
|
5 |
+
"__gradio_font__": true,
|
6 |
+
"name": "IBM Plex Sans",
|
7 |
+
"class": "font"
|
8 |
+
},
|
9 |
+
{
|
10 |
+
"__gradio_font__": true,
|
11 |
+
"name": "sans-serif",
|
12 |
+
"class": "font"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"__gradio_font__": true,
|
16 |
+
"name": "ui-sans-serif",
|
17 |
+
"class": "font"
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"__gradio_font__": true,
|
21 |
+
"name": "Inter",
|
22 |
+
"class": "google"
|
23 |
+
},
|
24 |
+
{
|
25 |
+
"__gradio_font__": true,
|
26 |
+
"name": "system-ui",
|
27 |
+
"class": "font"
|
28 |
+
}
|
29 |
+
|
30 |
+
],
|
31 |
+
"_font_mono": [
|
32 |
+
{
|
33 |
+
"__gradio_font__": true,
|
34 |
+
"name": "JetBrains Mono",
|
35 |
+
"class": "google"
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"__gradio_font__": true,
|
39 |
+
"name": "ui-monospace",
|
40 |
+
"class": "font"
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"__gradio_font__": true,
|
44 |
+
"name": "Consolas",
|
45 |
+
"class": "font"
|
46 |
+
},
|
47 |
+
{
|
48 |
+
"__gradio_font__": true,
|
49 |
+
"name": "monospace",
|
50 |
+
"class": "font"
|
51 |
+
}
|
52 |
+
],
|
53 |
+
"_stylesheets": [
|
54 |
+
"https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap",
|
55 |
+
"https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;600&display=swap"
|
56 |
+
],
|
57 |
+
"background_fill_primary": "linear-gradient(#254150, #1e2f40, #182634)",
|
58 |
+
"background_fill_primary_dark": "linear-gradient(#254150, #1e2f40, #182634)",
|
59 |
+
"background_fill_secondary": "linear-gradient(#254150, #1e2f40, #182634)",
|
60 |
+
"background_fill_secondary_dark": "linear-gradient(#254150, #1e2f40, #182634)",
|
61 |
+
"block_background_fill": "*background_fill_secondary",
|
62 |
+
"block_background_fill_dark": "*background_fill_secondary",
|
63 |
+
"block_border_color": "*border_color_primary",
|
64 |
+
"block_border_color_dark": "*border_color_primary",
|
65 |
+
"block_border_width": "1px",
|
66 |
+
"block_border_width_dark": "1px",
|
67 |
+
"block_info_text_color": "#8b949e",
|
68 |
+
"block_info_text_color_dark": "#8b949e",
|
69 |
+
"block_info_text_size": "*text_sm",
|
70 |
+
"block_info_text_weight": "400",
|
71 |
+
"block_label_background_fill": "none",
|
72 |
+
"block_label_background_fill_dark": "none",
|
73 |
+
"block_label_border_color": "*block_border_color",
|
74 |
+
"block_label_border_color_dark": "*block_border_color",
|
75 |
+
"block_label_border_width": "1px",
|
76 |
+
"block_label_border_width_dark": "1px",
|
77 |
+
"block_label_margin": "0",
|
78 |
+
"block_label_padding": "*spacing_sm *spacing_lg",
|
79 |
+
"block_label_radius": "calc(*radius_lg - 1px) 0 calc(*radius_lg - 1px) 0",
|
80 |
+
"block_label_right_radius": "0 calc(*radius_lg - 1px) 0 calc(*radius_lg - 1px)",
|
81 |
+
"block_label_shadow": "none",
|
82 |
+
"block_label_text_color": "#ffaa66",
|
83 |
+
"block_label_text_color_dark": "#ffaa66",
|
84 |
+
"block_label_text_size": "*text_sm",
|
85 |
+
"block_label_text_weight": "600",
|
86 |
+
"block_padding": "*spacing_md calc(*spacing_md + 2px)",
|
87 |
+
"block_radius": "*radius_md",
|
88 |
+
"block_shadow": "none",
|
89 |
+
"block_shadow_dark": "none",
|
90 |
+
"block_title_background_fill": "none",
|
91 |
+
"block_title_background_fill_dark": "none",
|
92 |
+
"block_title_border_color": "none",
|
93 |
+
"block_title_border_color_dark": "none",
|
94 |
+
"block_title_border_width": "0px",
|
95 |
+
"block_title_border_width_dark": "0px",
|
96 |
+
"block_title_padding": "0",
|
97 |
+
"block_title_radius": "*radius_md",
|
98 |
+
"block_title_text_color": "#ffc99f",
|
99 |
+
"block_title_text_color_dark": "#ffc99f",
|
100 |
+
"block_title_text_size": "*text_md",
|
101 |
+
"block_title_text_weight": "600",
|
102 |
+
"body_background_fill": "*background_fill_secondary",
|
103 |
+
"body_background_fill_dark": "*background_fill_secondary",
|
104 |
+
"body_text_color": "#ffaa66",
|
105 |
+
"body_text_color_dark": "#ffaa66",
|
106 |
+
"body_text_color_subdued": "*body_text_color",
|
107 |
+
"body_text_color_subdued_dark": "*body_text_color",
|
108 |
+
"body_text_size": "*text_md",
|
109 |
+
"body_text_weight": "400",
|
110 |
+
"border_color_accent": "#242424",
|
111 |
+
"border_color_accent_dark": "#242424",
|
112 |
+
"border_color_accent_subdued": "#24242467",
|
113 |
+
"border_color_accent_subdued_dark": "#24242467",
|
114 |
+
"border_color_primary": "#000000 #ffffff #ffffff #000000",
|
115 |
+
"border_color_primary_dark": "#000000 #ffffff #ffffff #000000",
|
116 |
+
"button_border_width": "solid 1px",
|
117 |
+
"button_border_width_dark": "solid 1px",
|
118 |
+
"button_cancel_background_fill": "linear-gradient(#0c9eff, #1ed3ff)",
|
119 |
+
"button_cancel_background_fill_dark": "linear-gradient(#0c9eff, #1ed3ff)",
|
120 |
+
"button_cancel_background_fill_hover": "linear-gradient(#cf6e00, #cfa300)",
|
121 |
+
"button_cancel_background_fill_hover_dark": "linear-gradient(#cf6e00, #cfa300)",
|
122 |
+
"button_cancel_border_color": "*button_primary_border_color",
|
123 |
+
"button_cancel_border_color_dark": "*button_primary_border_color",
|
124 |
+
"button_cancel_border_color_hover": "*button_cancel_border_color",
|
125 |
+
"button_cancel_border_color_hover_dark": "*button_cancel_border_color",
|
126 |
+
"button_cancel_text_color": "*button_primary_text_color",
|
127 |
+
"button_cancel_text_color_dark": "*button_primary_text_color",
|
128 |
+
"button_cancel_text_color_hover": "*button_cancel_text_color",
|
129 |
+
"button_cancel_text_color_hover_dark": "*button_cancel_text_color",
|
130 |
+
"button_large_padding": "6px 30px",
|
131 |
+
"button_large_radius": "24px",
|
132 |
+
"button_large_text_size": "*text_lg",
|
133 |
+
"button_large_text_weight": "600",
|
134 |
+
"button_primary_background_fill": "linear-gradient(#76635a, #d2a489)",
|
135 |
+
"button_primary_background_fill_dark": "linear-gradient(#76635a, #d2a489)",
|
136 |
+
"button_primary_background_fill_hover": "linear-gradient(#46333a, #a27469)",
|
137 |
+
"button_primary_background_fill_hover_dark": "linear-gradient(#46333a, #a27469)",
|
138 |
+
"button_primary_border_color": "#ffc99f #000000 #000000 #ffc99f",
|
139 |
+
"button_primary_border_color_dark": "#ffc99f #000000 #000000 #ffc99f",
|
140 |
+
"button_primary_border_color_hover": "#77f7d1",
|
141 |
+
"button_primary_border_color_hover_dark": "#77f7d1",
|
142 |
+
"button_primary_text_color": "white",
|
143 |
+
"button_primary_text_color_dark": "white",
|
144 |
+
"button_primary_text_color_hover": "gray",
|
145 |
+
"button_primary_text_color_hover_dark": "gray",
|
146 |
+
"button_secondary_background_fill": "linear-gradient(#5a6376, #89a4d2)",
|
147 |
+
"button_secondary_background_fill_dark": "linear-gradient(#5a6376, #89a4d2)",
|
148 |
+
"button_secondary_background_fill_hover": "linear-gradient(#3a3346, #6974a2)",
|
149 |
+
"button_secondary_background_fill_hover_dark": "linear-gradient(#3a3346, #6974a2)",
|
150 |
+
"button_secondary_border_color": "*button_primary_border_color",
|
151 |
+
"button_secondary_border_color_dark": "*button_primary_border_color",
|
152 |
+
"button_secondary_border_color_hover": "*button_primary_border_color_hover",
|
153 |
+
"button_secondary_border_color_hover_dark": "*button_primary_border_color_hover",
|
154 |
+
"button_secondary_text_color": "*button_primary_text_color",
|
155 |
+
"button_secondary_text_color_dark": "*button_primary_text_color",
|
156 |
+
"button_secondary_text_color_hover": "*button_primary_text_color_hover",
|
157 |
+
"button_secondary_text_color_hover_dark": "*button_primary_text_color_hover",
|
158 |
+
"button_shadow": "1px 1px 0 rgba(0, 0, 0, 1)",
|
159 |
+
"button_shadow_active": "0px 0px 0 rgba(0, 0, 0, 1)",
|
160 |
+
"button_shadow_hover": "*button_shadow_active",
|
161 |
+
"button_small_padding": "*button_large_padding",
|
162 |
+
"button_small_radius": "*button_large_radius",
|
163 |
+
"button_small_text_size": "*text_md",
|
164 |
+
"button_small_text_weight": "400",
|
165 |
+
"button_transition": "background-color 0.2s ease",
|
166 |
+
"chatbot_code_background_color": "*background_fill_secondary",
|
167 |
+
"chatbot_code_background_color_dark": "*background_fill_secondary",
|
168 |
+
"checkbox_background_color": "#242424",
|
169 |
+
"checkbox_background_color_dark": "#242424",
|
170 |
+
"checkbox_background_color_focus": "*checkbox_background_color",
|
171 |
+
"checkbox_background_color_focus_dark": "*checkbox_background_color",
|
172 |
+
"checkbox_background_color_hover": "*checkbox_background_color",
|
173 |
+
"checkbox_background_color_hover_dark": "*checkbox_background_color",
|
174 |
+
"checkbox_background_color_selected": "#77f7d1",
|
175 |
+
"checkbox_background_color_selected_dark": "#77f7d1",
|
176 |
+
"checkbox_border_color": "*block_border_color",
|
177 |
+
"checkbox_border_color_dark": "*block_border_color",
|
178 |
+
"checkbox_border_color_focus": "#41b883",
|
179 |
+
"checkbox_border_color_focus_dark": "#41b883",
|
180 |
+
"checkbox_border_color_hover": "#30363d",
|
181 |
+
"checkbox_border_color_hover_dark": "#30363d",
|
182 |
+
"checkbox_border_color_selected": "*checkbox_border_color_focus",
|
183 |
+
"checkbox_border_color_selected_dark": "*checkbox_border_color_focus",
|
184 |
+
"checkbox_border_radius": "*radius_md",
|
185 |
+
"checkbox_border_width": "1px",
|
186 |
+
"checkbox_border_width_dark": "1px",
|
187 |
+
"checkbox_check": "url(\"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%230d1117' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e\")",
|
188 |
+
"checkbox_label_background_fill": "*background_fill_primary",
|
189 |
+
"checkbox_label_background_fill_dark": "*background_fill_secondary",
|
190 |
+
"checkbox_label_background_fill_hover": "#1c2128",
|
191 |
+
"checkbox_label_background_fill_hover_dark": "#1c2128",
|
192 |
+
"checkbox_label_background_fill_selected": "*checkbox_label_background_fill_hover",
|
193 |
+
"checkbox_label_background_fill_selected_dark": "*checkbox_label_background_fill_hover",
|
194 |
+
"checkbox_label_border_color": "*block_border_color",
|
195 |
+
"checkbox_label_border_color_dark": "*block_border_color",
|
196 |
+
"checkbox_label_border_width": "1px",
|
197 |
+
"checkbox_label_border_width_dark": "1px",
|
198 |
+
"checkbox_label_gap": "*spacing_lg",
|
199 |
+
"checkbox_label_padding": "*spacing_md calc(2 * *spacing_md)",
|
200 |
+
"checkbox_label_shadow": "none",
|
201 |
+
"checkbox_label_text_color": "#c9d1d9",
|
202 |
+
"checkbox_label_text_color_dark": "#c9d1d9",
|
203 |
+
"checkbox_label_text_color_selected": "#41b883",
|
204 |
+
"checkbox_label_text_color_selected_dark": "#41b883",
|
205 |
+
"checkbox_label_text_size": "*text_md",
|
206 |
+
"checkbox_label_text_weight": "400",
|
207 |
+
"checkbox_shadow": "none",
|
208 |
+
"color_accent": "*primary_500",
|
209 |
+
"color_accent_soft": "#242424",
|
210 |
+
"color_accent_soft_dark": "#242424",
|
211 |
+
"container_radius": "*radius_md",
|
212 |
+
"embed_radius": "*radius_md",
|
213 |
+
"error_background_fill": "#0d1117",
|
214 |
+
"error_background_fill_dark": "#0d1117",
|
215 |
+
"error_border_color": "#b31d28",
|
216 |
+
"error_border_color_dark": "#b31d28",
|
217 |
+
"error_border_width": "1px",
|
218 |
+
"error_border_width_dark": "1px",
|
219 |
+
"error_text_color": "#f97583",
|
220 |
+
"error_text_color_dark": "#f97583",
|
221 |
+
"font": "'IBM Plex Sans', 'ui-sans-serif', 'sans-serif', 'Inter', 'system-ui'",
|
222 |
+
"font_mono": "'JetBrains Mono', 'ui-monospace', 'Consolas', 'monospace'",
|
223 |
+
"form_gap_width": "1px",
|
224 |
+
"input_background_fill": "#254150",
|
225 |
+
"input_background_fill_dark": "#254150",
|
226 |
+
"input_background_fill_focus": "*input_background_fill",
|
227 |
+
"input_background_fill_focus_dark": "*input_background_fill",
|
228 |
+
"input_background_fill_hover": "*input_background_fill",
|
229 |
+
"input_background_fill_hover_dark": "*input_background_fill",
|
230 |
+
"input_border_color": "*block_border_color",
|
231 |
+
"input_border_color_dark": "*block_border_color",
|
232 |
+
"input_border_color_focus": "*input_border_color",
|
233 |
+
"input_border_color_focus_dark": "*input_border_color",
|
234 |
+
"input_border_color_hover": "*input_border_color",
|
235 |
+
"input_border_color_hover_dark": "*input_border_color",
|
236 |
+
"input_border_width": "1px",
|
237 |
+
"input_border_width_dark": "1px",
|
238 |
+
"input_padding": "*spacing_md",
|
239 |
+
"input_placeholder_color": "#8b949e",
|
240 |
+
"input_placeholder_color_dark": "#8b949e",
|
241 |
+
"input_radius": "*radius_md",
|
242 |
+
"input_shadow": "none",
|
243 |
+
"input_shadow_dark": "none",
|
244 |
+
"input_shadow_focus": "none",
|
245 |
+
"input_shadow_focus_dark": "none",
|
246 |
+
"input_text_color": "#ffc99f",
|
247 |
+
"input_text_color_dark": "#ffc99f",
|
248 |
+
"input_text_size": "*text_md",
|
249 |
+
"input_text_weight": "400",
|
250 |
+
"layout_gap": "*spacing_xl",
|
251 |
+
"link_text_color": "#11ba88",
|
252 |
+
"link_text_color_active": "#41b883",
|
253 |
+
"link_text_color_active_dark": "#41b883",
|
254 |
+
"link_text_color_dark": "#41b883",
|
255 |
+
"link_text_color_hover": "#41b883",
|
256 |
+
"link_text_color_hover_dark": "#41b883",
|
257 |
+
"link_text_color_visited": "#41b883",
|
258 |
+
"link_text_color_visited_dark": "#41b883",
|
259 |
+
"loader_color": "*color_accent",
|
260 |
+
"loader_color_dark": "*color_accent",
|
261 |
+
"name": "Yntec_Theme",
|
262 |
+
"neutral_100": "#f0f3f6",
|
263 |
+
"neutral_200": "#d0d7de",
|
264 |
+
"neutral_300": "#d0d7de",
|
265 |
+
"neutral_400": "#57606a",
|
266 |
+
"neutral_50": "#f6f8fa",
|
267 |
+
"neutral_500": "#24292f",
|
268 |
+
"neutral_600": "#57606a",
|
269 |
+
"neutral_700": "#57606a",
|
270 |
+
"neutral_800": "#24292f",
|
271 |
+
"neutral_900": "#0d1117",
|
272 |
+
"neutral_950": "#0d1117",
|
273 |
+
"panel_background_fill": "*background_fill_secondary",
|
274 |
+
"panel_background_fill_dark": "*background_fill_secondary",
|
275 |
+
"panel_border_color": "*block_border_color",
|
276 |
+
"panel_border_color_dark": "*block_border_color",
|
277 |
+
"panel_border_width": "0",
|
278 |
+
"panel_border_width_dark": "0",
|
279 |
+
"primary_100": "#11ba88",
|
280 |
+
"primary_200": "#11ba88",
|
281 |
+
"primary_300": "#11ba88",
|
282 |
+
"primary_400": "#11ba88",
|
283 |
+
"primary_50": "#f1f8ff",
|
284 |
+
"primary_500": "#11ba88",
|
285 |
+
"primary_600": "#11ba88",
|
286 |
+
"primary_700": "#11ba88",
|
287 |
+
"primary_800": "#11ba88",
|
288 |
+
"primary_900": "#11ba88",
|
289 |
+
"primary_950": "#11ba88",
|
290 |
+
"prose_header_text_weight": "600",
|
291 |
+
"prose_text_size": "*text_md",
|
292 |
+
"prose_text_weight": "400",
|
293 |
+
"radio_circle": "url(\"data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23ffffff' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='3'/%3e%3c/svg%3e\")",
|
294 |
+
"radius_lg": "10px",
|
295 |
+
"radius_md": "6px",
|
296 |
+
"radius_sm": "4px",
|
297 |
+
"radius_xl": "12px",
|
298 |
+
"radius_xs": "2px",
|
299 |
+
"radius_xxl": "16px",
|
300 |
+
"radius_xxs": "1px",
|
301 |
+
"secondary_100": "#f0f6fc",
|
302 |
+
"secondary_200": "#c9d1d9",
|
303 |
+
"secondary_300": "#b1bac4",
|
304 |
+
"secondary_400": "#8b949e",
|
305 |
+
"secondary_50": "#f8fafd",
|
306 |
+
"secondary_500": "#6e7681",
|
307 |
+
"secondary_600": "#484f58",
|
308 |
+
"secondary_700": "#30363d",
|
309 |
+
"secondary_800": "#21262d",
|
310 |
+
"secondary_900": "#161b22",
|
311 |
+
"secondary_950": "#0d1117",
|
312 |
+
"section_header_text_size": "*text_md",
|
313 |
+
"section_header_text_weight": "600",
|
314 |
+
"shadow_drop": "none",
|
315 |
+
"shadow_drop_lg": "none",
|
316 |
+
"shadow_inset": "none",
|
317 |
+
"shadow_spread": "0",
|
318 |
+
"shadow_spread_dark": "0",
|
319 |
+
"slider_color": "#41b883",
|
320 |
+
"slider_color_dark": "#41b883",
|
321 |
+
"stat_background_fill": "#0d1117",
|
322 |
+
"stat_background_fill_dark": "#0d1117",
|
323 |
+
"table_border_color": "#30363d",
|
324 |
+
"table_border_color_dark": "#30363d",
|
325 |
+
"table_even_background_fill": "#0d1117",
|
326 |
+
"table_even_background_fill_dark": "#0d1117",
|
327 |
+
"table_odd_background_fill": "#161b22",
|
328 |
+
"table_odd_background_fill_dark": "#161b22",
|
329 |
+
"table_radius": "*radius_md",
|
330 |
+
"table_row_focus": "#0d1117",
|
331 |
+
"table_row_focus_dark": "#0d1117",
|
332 |
+
"version": "1.0.0"
|
333 |
+
}
|
334 |
+
}
|