mongodb / chatbot

MongoDB Chatbot Framework. Powered by MongoDB and Atlas Vector Search.
https://mongodb.github.io/chatbot/
Apache License 2.0
106 stars 48 forks source link

Adapting UI for Light Mode Users #370

Closed anznpatel closed 3 months ago

anznpatel commented 3 months ago

The current examples/quickstart package does not cater for normal light mode users that well enough. It defaults to using the white background which then renders incorrectly the rest of the text on the Chatbot page.

Quick fix by commenting the code in the ui/index.css file Line 6 and 56-67

/* @media (prefers-color-scheme: light) {
  :root {
    color: #213547;
    background-color: #ffffff;
  }
  a:hover {
    color: #747bff;
  }
  button {
    background-color: #f9f9f9;
  }
} */