project-baize commited on
Commit
4cdc067
1 Parent(s): 050931d

Update assets/custom.css

Browse files
Files changed (1) hide show
  1. assets/custom.css +23 -26
assets/custom.css CHANGED
@@ -33,32 +33,29 @@ ol:not(.options), ul:not(.options) {
33
  padding-inline-start: 2em !important;
34
  }
35
 
36
- /* Light Mode */
37
- @media (prefers-color-scheme: light) {
38
- #chuanhu_chatbot {
39
- background-color: var(--chatbot-color-light) !important;
40
- }
41
- [data-testid = "bot"] {
42
- background-color: #FFFFFF !important;
43
- }
44
- [data-testid = "user"] {
45
- background-color: #95EC69 !important;
46
- }
47
- }
48
- /* Dark Mode */
49
- @media (prefers-color-scheme: dark) {
50
- .dark #chuanhu_chatbot {
51
- background-color: var(--chatbot-color-dark) !important;
52
- }
53
- .dark [data-testid = "bot"] {
54
- background-color: #2C2C2C !important;
55
- }
56
- .dark [data-testid = "user"] {
57
- background-color: #26B561 !important;
58
- }
59
- body {
60
- background-color: var(--neutral-950) !important;
61
- }
62
  }
63
 
64
  #chuanhu_chatbot {
 
33
  padding-inline-start: 2em !important;
34
  }
35
 
36
+ /* Thank @Keldos-Li for fixing it */
37
+ /* Light mode (default) */
38
+ #chuanhu_chatbot {
39
+ background-color: var(--chatbot-color-light) !important;
40
+ color: #000000 !important;
41
+ }
42
+ [data-testid = "bot"] {
43
+ background-color: #FFFFFF !important;
44
+ }
45
+ [data-testid = "user"] {
46
+ background-color: #95EC69 !important;
47
+ }
48
+
49
+ /* Dark mode */
50
+ .dark #chuanhu_chatbot {
51
+ background-color: var(--chatbot-color-dark) !important;
52
+ color: #FFFFFF !important;
53
+ }
54
+ .dark [data-testid = "bot"] {
55
+ background-color: #2C2C2C !important;
56
+ }
57
+ .dark [data-testid = "user"] {
58
+ background-color: #26B561 !important;
 
 
 
59
  }
60
 
61
  #chuanhu_chatbot {