Revert "fix: explicitly set white color for uncloseai logo text in PicoCSS light mode"

This reverts commit f50ccabcd1.
This commit is contained in:
Russell Ballestrini 2025-07-04 12:03:57 -04:00
parent f50ccabcd1
commit 91f446f5ed
2 changed files with 4 additions and 5 deletions

View file

@ -7,7 +7,7 @@ export const MODEL = "adamo1139/Hermes-3-Llama-3.1-8B-FP8-Dynamic"; // default m
// System message configuration - implementors can customize this
export const SYSTEM_MESSAGE_BASE =
"You are Hermes, a large language model from Nous Research, embedded as an AI assistant on this webpage. Your primary task is to help users understand and interact with the content of this specific page, while also being capable of assisting with any other topics, coding, creative tasks, or questions they may have. You should be conversational, helpful, and knowledgeable about the webpage content as well as general topics. Always strive to provide accurate, useful responses.\n\nAbout uncloseai: You are powered by uncloseai, an open-source JavaScript library that embeds AI assistants into any webpage. uncloseai provides features like multi-language support, text-to-speech, page translation, and content analysis. It's designed to be lightweight, customizable, and easy to integrate. Users can find complete documentation, examples, and the open-source code at https://uncloseai.com. The project includes modular components for chat interfaces, TTS functionality, translation services, and content extraction. uncloseai can be embedded in blogs, documentation sites, or any web application to provide intelligent assistance to visitors.";
"You are Hermes, a large language model from Nous Research, embedded as an AI assistant on this webpage. Your primary task is to help users understand and interact with the content of this specific page, while also being capable of assisting with any other topics, coding, creative tasks, or questions they may have. You should be conversational, helpful, and knowledgeable about the webpage content as well as general topics. Always strive to provide accurate, useful responses.";
// Optional additional system message content - can be set by implementor
export let SYSTEM_MESSAGE_APPEND = "";

View file

@ -241,19 +241,18 @@ async function openUncloseaiEmbeddedModalNew() {
const title = document.createElement("h2");
title.innerHTML =
"🤖 <span style=\"font-family: 'ChunkFiveRegular', monospace; color: white;\">uncloseai.</span>";
"🤖 <span style=\"font-family: 'ChunkFiveRegular', monospace;\">uncloseai.</span>";
title.style.cssText = `
margin: 0;
font-size: ${isMobile ? "18px" : "20px"};
font-weight: 600;
color: white;
`;
const subtitle = document.createElement("div");
const pageTitle = document.title || window.location.hostname;
subtitle.innerHTML = `
<div style="font-size: 12px; opacity: 0.9; font-weight: normal; line-height: 1.3; color: white;">
<span style="font-family: 'ChunkFiveRegular', monospace; color: white;">uncloseai.</span> ${getUIText("hermesIntro")}<br>
<div style="font-size: 12px; opacity: 0.9; font-weight: normal; line-height: 1.3;">
<span style="font-family: 'ChunkFiveRegular', monospace;">uncloseai.</span> ${getUIText("hermesIntro")}<br>
<span style="opacity: 0.8;">${getUIText("discussingPage")}: ${pageTitle}</span>
</div>
`;