Spaces:
Sleeping
Sleeping
add css
Browse files- .chainlit/config.toml +7 -8
- public/custom.css +31 -0
.chainlit/config.toml
CHANGED
@@ -53,22 +53,21 @@ edit_message = true
|
|
53 |
|
54 |
[UI]
|
55 |
# Name of the assistant.
|
56 |
-
name = "Assistant"
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
|
58 |
# default_theme = "dark"
|
59 |
|
60 |
# layout = "wide"
|
61 |
|
62 |
-
# Description of the assistant. This is used for HTML tags.
|
63 |
-
# description = ""
|
64 |
-
|
65 |
# Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
|
66 |
cot = "full"
|
67 |
|
68 |
-
# Specify a CSS file that can be used to customize the user interface.
|
69 |
-
# The CSS file can be served from the public directory or via an external link.
|
70 |
-
# custom_css = "/public/test.css"
|
71 |
-
|
72 |
# Specify a Javascript file that can be used to customize the user interface.
|
73 |
# The Javascript file can be served from the public directory.
|
74 |
# custom_js = "/public/test.js"
|
|
|
53 |
|
54 |
[UI]
|
55 |
# Name of the assistant.
|
56 |
+
name = "AI E-commerce Assistant"
|
57 |
+
|
58 |
+
# Description of the assistant. This is used for HTML tags.
|
59 |
+
description = "An intelligent assistant for e-commerce analytics and insights"
|
60 |
+
|
61 |
+
# Specify a CSS file that can be used to customize the user interface.
|
62 |
+
custom_css = "/public/custom.css"
|
63 |
|
64 |
# default_theme = "dark"
|
65 |
|
66 |
# layout = "wide"
|
67 |
|
|
|
|
|
|
|
68 |
# Chain of Thought (CoT) display mode. Can be "hidden", "tool_call" or "full".
|
69 |
cot = "full"
|
70 |
|
|
|
|
|
|
|
|
|
71 |
# Specify a Javascript file that can be used to customize the user interface.
|
72 |
# The Javascript file can be served from the public directory.
|
73 |
# custom_js = "/public/test.js"
|
public/custom.css
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
:root {
|
2 |
+
--primary-color: #4a6fa5;
|
3 |
+
--secondary-color: #6b8cae;
|
4 |
+
--background-color: #f5f7fa;
|
5 |
+
--text-color: #333;
|
6 |
+
--border-radius: 8px;
|
7 |
+
}
|
8 |
+
|
9 |
+
.cl-main {
|
10 |
+
background-color: var(--background-color);
|
11 |
+
}
|
12 |
+
|
13 |
+
.cl-message-input {
|
14 |
+
border-radius: var(--border-radius);
|
15 |
+
border: 1px solid var(--primary-color);
|
16 |
+
}
|
17 |
+
|
18 |
+
.cl-message-container {
|
19 |
+
background-color: white;
|
20 |
+
border-radius: var(--border-radius);
|
21 |
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
22 |
+
margin-bottom: 16px;
|
23 |
+
}
|
24 |
+
|
25 |
+
.cl-submit-btn {
|
26 |
+
background-color: var(--primary-color);
|
27 |
+
}
|
28 |
+
|
29 |
+
.cl-submit-btn:hover {
|
30 |
+
background-color: var(--secondary-color);
|
31 |
+
}
|