kChat’s entire visual style is driven by CSS custom properties, making it straightforward to create a completely custom theme without touching any source files. You write plain CSS directly in the browser-based theme editor, click a button, and the changes take effect immediately — no build step, no server restart required.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/korynthian/chatroom/llms.txt
Use this file to discover all available pages before exploring further.
Accessing the theme editor
Navigate to Settings → Style (directly accessible at/settings/customtheme.html) to open the theme editor. The text area on that page is pre-populated with whatever CSS is currently saved in your browser, so you always have a starting point to edit rather than a blank slate.
How to apply custom CSS
Open the Style tab in Settings
Go to Settings → Style (
/settings/customtheme.html). If you have an existing theme saved, it will already appear in the text area.Paste or write your CSS
Enter your CSS into the text area. You can override individual custom properties, add entirely new rules, or replace the whole stylesheet — anything valid in a
<style> tag is accepted.Starting from a built-in theme
Rather than writing a theme from scratch, you can load one of the built-in themes into the editor and modify it from there. In Settings → General, three buttons are available:- Default (Dark) — fetches
themes/default-dark.css, loads it into the Style editor, and applies it immediately. - Default (Light) — fetches
themes/default-light.css, loads it into the Style editor, and applies it immediately. - Unstyled (NOT RECOMMENDED) — clears all custom styling, leaving only the browser’s default rendering.
CSS variables reference
All of kChat’s theme-able properties are controlled by the following CSS custom properties. Paste this template into the theme editor as a starting point, then adjust the values to match your desired palette.Custom template
The footer rule in
stylesheet.css references var(--footer-bg-color). The built-in theme files define a variable named --footer-background-color instead, which means the footer background variable in those files does not apply to the footer as styled by stylesheet.css. Use --footer-bg-color in your custom theme to control the footer background color correctly.Persistence
The CSS string is saved inlocalStorage under the key CSS. It is loaded automatically on every page visit, so your theme persists across sessions without any server-side storage. Because localStorage is scoped to each browser, the theme is device-specific — switching to a different browser or device starts with a fresh OS-preference detection.