Pass a colors object to override the default theme. You only need to specify the colors you want to change.Each color accepts:
hex, as #2563EB or the short form #26E (the # is optional);
rgb(), as rgb(37, 99, 235) or rgb(37 99 235);
hsl(), as hsl(221, 83%, 53%) or hsl(221 83% 53%).
Colors must be opaque, except sendButton, which also accepts transparent. The widget ignores named colors (red), other color functions such as oklch(), translucent values and option names it doesn’t recognize, and logs a warning for each in the browser console.
Draw a bordered, rounded box around each assistant answer. Set false to show answers as plain text on the panel background. Tool steps, clarifications and approvals keep their borders
backdropOpacity
number
0.45 with backdropBlur, otherwise 0
How strongly colors.backdrop covers the page behind the open desktop widget, from 0 to 1. Above 0, it dims the page with or without backdropBlur. The widget ignores any other value and logs a console warning
panelShadow
boolean
true
Draw a drop shadow around the open desktop widget. Set false for a flat panel. Mobile never has one
Your page has to load the font because the widget renders in a shadow root, where it can’t load fonts itself. A font your page has loaded works inside the widget.
Property
Type
Default
Description
fontFamily
string
System font stack
A CSS font-family list for the widget’s text. End it with a generic family such as sans-serif for browsers that can’t load the font. The widget ignores a value that isn’t a valid font-family and logs a console warning
Start by customizing just primary to match your brand’s primary color. Add more overrides as needed.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Voltai Documentation","colors":{"primary":"#0284C7","light":"#38BDF8","dark":"#0EA5E9"},"logo":{"light":"https://mintcdn.com/voltaiinc/1Ge8QFMwvQlR8Pya/logo/light.svg?fit=max\u0026auto=format\u0026n=1Ge8QFMwvQlR8Pya\u0026q=85\u0026s=8c01fb45e51b42ae0a306dec1aec1270","dark":"https://mintcdn.com/voltaiinc/1Ge8QFMwvQlR8Pya/logo/dark.svg?fit=max\u0026auto=format\u0026n=1Ge8QFMwvQlR8Pya\u0026q=85\u0026s=fa728c364b1ebb9013394626ff3d0d99","href":"https://voltai.ai"},"favicon":"https://mintcdn.com/voltaiinc/1Ge8QFMwvQlR8Pya/favicon.svg?fit=max\u0026auto=format\u0026n=1Ge8QFMwvQlR8Pya\u0026q=85\u0026s=c2c87395d698de5209a58d19e829b4de","appearance":{"default":"dark"},"fonts":{"family":"ABC Oracle","source":"fonts/ABCOracle-Variable.woff2","format":"woff2"},"styling":{"codeblocks":"dark","latex":false},"banner":{"content":"**Beta:** The Voltai MCP server is an experimental feature."},"contextual":{"options":["copy","view","chatgpt","claude","mcp","cursor","vscode"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"voltaiinc","hasAudioNarration":false,"actualSubdomain":"voltaiinc","customDomains":["docs.voltai.ai"],"gitSource":{"type":"github","owner":"voltai-inc","repo":"arcturus","deployBranch":"main","contentDirectory":"docs","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6aea2a8b7e92bccce21ada1b","clientVersion":"0.0.4094","searchFilterCounts":[{"language":"default","tag":"Knowledge Agent","count":26},{"language":"default","tag":"Sources \u0026 Topics","count":21},{"language":"default","tag":"Widget","count":12},{"language":"default","tag":"Connectors","count":10},{"language":"default","tag":"Applications","count":8},{"language":"default","tag":"Configuration","count":8},{"language":"default","tag":"Sources","count":7},{"language":"default","tag":"Topics","count":6},{"language":"default","tag":"Chat","count":4},{"language":"default","tag":"Getting Started","count":4}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"comment-mode","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"beta.css","content":".nav-tag-pill-text[data-nav-tag=\"Beta\"]{background-color:#fef3c7!important;color:#92400e!important}.dark .nav-tag-pill-text[data-nav-tag=\"Beta\"]{background-color:rgb(245 158 11 / 0.2)!important;color:#fcd34d!important}html:not([data-current-path=\"/api-reference/knowledge-agent/mcp\"]){--banner-height: 0px !important}html:not([data-current-path=\"/api-reference/knowledge-agent/mcp\"]) #banner{visibility:hidden;height:0;min-height:0;overflow:hidden}#banner{background-color:#f59e0b!important;cursor:help}#banner,#banner *{color:#1c1917!important}#banner::after{content:\"Experimental feature: tools, inputs, outputs, and behavior may change or be removed before general availability.\";position:absolute;top:calc(100% + 6px);left:50%;transform:translateX(-50%);width:max-content;max-width:min(90vw, 28rem);padding:0.5rem 0.75rem;border-radius:0.375rem;background-color:#1c1917;color:#fafaf9!important;font-size:0.8125rem;font-weight:400;line-height:1.4;white-space:normal;box-shadow:0 4px 12px rgb(0 0 0 / 0.25);opacity:0;pointer-events:none;transition:opacity 120ms ease-in}#banner:hover::after{opacity:1}"}],"page":{"pagePath":"widget/configuration/styling","slug":"/widget/configuration/styling","pageMetadata":{"title":"Styling","description":"Customize the widget's appearance to match your brand","href":"/widget/configuration/styling"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Customize the widget’s appearance to match your brand\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Table,Tip}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Table)_missingMdxReference(`Table`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Make the widget feel like a natural part of your website by customizing its colors and appearance.`}),`\n`,_jsx(Heading,{level:`2`,id:`widget-title`,children:`Widget title`}),`\n`,_jsxs(_components.p,{children:[`Set the `,_jsx(_components.code,{children:`title`}),` option to change the text displayed in the widget header:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`Voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`load`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'your-api-key'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` title:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'Acme Support'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`custom-colors`,children:`Custom colors`}),`\n`,_jsxs(_components.p,{children:[`Pass a `,_jsx(_components.code,{children:`colors`}),` object to override the default theme. You only need to specify the colors you want to change.`]}),`\n`,_jsx(_components.p,{children:`Each color accepts:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`hex, as `,_jsx(_components.code,{children:`#2563EB`}),` or the short form `,_jsx(_components.code,{children:`#26E`}),` (the `,_jsx(_components.code,{children:`#`}),` is optional);`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`rgb()`}),`, as `,_jsx(_components.code,{children:`rgb(37, 99, 235)`}),` or `,_jsx(_components.code,{children:`rgb(37 99 235)`}),`;`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`hsl()`}),`, as `,_jsx(_components.code,{children:`hsl(221, 83%, 53%)`}),` or `,_jsx(_components.code,{children:`hsl(221 83% 53%)`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Colors must be opaque, except `,_jsx(_components.code,{children:`sendButton`}),`, which also accepts `,_jsx(_components.code,{children:`transparent`}),`. The widget ignores named colors (`,_jsx(_components.code,{children:`red`}),`), other color functions such as `,_jsx(_components.code,{children:`oklch()`}),`, translucent values and option names it doesn’t recognize, and logs a warning for each in the browser console.`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`8`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`8`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`Voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`load`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'your-api-key'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` colors:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` primary:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#FFC222'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` primaryForeground:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#181D27'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` ring:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#FFC222'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`available-color-options`,children:`Available color options`}),`\n`,_jsx(Heading,{level:`3`,id:`background-colors`,children:`Background colors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`background`})}),_jsx(_components.td,{children:`Main page/widget background`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`muted`})}),_jsx(_components.td,{children:`Subtle backgrounds (hover states, disabled)`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`card-colors`,children:`Card colors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`card`})}),_jsx(_components.td,{children:`Card background color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`cardForeground`})}),_jsx(_components.td,{children:`Text color on card backgrounds`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`popover-colors`,children:`Popover colors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`popover`})}),_jsx(_components.td,{children:`Popover background color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`popoverForeground`})}),_jsx(_components.td,{children:`Text color on popover backgrounds`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`text-colors`,children:`Text colors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`foreground`})}),_jsx(_components.td,{children:`Primary text color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`mutedForeground`})}),_jsx(_components.td,{children:`Secondary/muted text`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`primary-colors`,children:`Primary colors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`primary`})}),_jsx(_components.td,{children:`Brand/accent color (buttons, links, highlights)`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`primarySoft`})}),_jsx(_components.td,{children:`Light variant of primary for soft backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`primarySoftForeground`})}),_jsx(_components.td,{children:`Text color on primary soft backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`primaryForeground`})}),_jsx(_components.td,{children:`Text color on primary backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`primaryStrong`})}),_jsx(_components.td,{children:`Dark variant of primary`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`secondary-colors`,children:`Secondary colors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`secondary`})}),_jsx(_components.td,{children:`Secondary/neutral accent color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`secondaryForeground`})}),_jsx(_components.td,{children:`Text color on secondary backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`secondarySoft`})}),_jsx(_components.td,{children:`Light variant of secondary`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`secondarySoftForeground`})}),_jsx(_components.td,{children:`Text color on secondary soft backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`secondaryStrong`})}),_jsx(_components.td,{children:`Dark variant of secondary`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`accent-colors`,children:`Accent colors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`accent`})}),_jsx(_components.td,{children:`Accent background color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`accentForeground`})}),_jsx(_components.td,{children:`Text color on accent backgrounds`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`border-\u0026-input`,children:`Border \u0026 Input`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`border`})}),_jsx(_components.td,{children:`Border color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`input`})}),_jsx(_components.td,{children:`Input field background`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`ring`})}),_jsx(_components.td,{children:`Focus ring color`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`send-button`,children:`Send button`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sendButton`})}),_jsxs(_components.td,{children:[`Background of the message box’s send button, in every state (send, queue, stop, uploading). Defaults to `,_jsx(_components.code,{children:`primary`}),`. Set `,_jsx(_components.code,{children:`transparent`}),` to show only the icon`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sendButtonForeground`})}),_jsxs(_components.td,{children:[`Send button icon. Defaults to `,_jsx(_components.code,{children:`primaryForeground`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`new-chat-button`,children:`New Chat button`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`newChatButton`})}),_jsxs(_components.td,{children:[`Background of the New Chat button in the left rail and the chat history drawer. Defaults to `,_jsx(_components.code,{children:`primary`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`newChatButtonForeground`})}),_jsxs(_components.td,{children:[`Its text and icon. Defaults to `,_jsx(_components.code,{children:`primaryForeground`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`sign-in-button`,children:`Sign in button`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`signInButton`})}),_jsxs(_components.td,{children:[`Background of every Sign in button: the header, the sign-in prompt and the guest limit dialog. Defaults to `,_jsx(_components.code,{children:`primary`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`signInButtonForeground`})}),_jsxs(_components.td,{children:[`Their text and icon. Defaults to `,_jsx(_components.code,{children:`primaryForeground`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`close-button`,children:`Close button`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`closeButton`})}),_jsxs(_components.td,{children:[`The header’s close (×) button. Defaults to `,_jsx(_components.code,{children:`mutedForeground`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`closeButtonHover`})}),_jsxs(_components.td,{children:[`The close button on hover. Defaults to `,_jsx(_components.code,{children:`foreground`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`chat-list`,children:`Chat list`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sidebar`})}),_jsxs(_components.td,{children:[`Background of the left rail, where the chat list sits. Defaults to `,_jsx(_components.code,{children:`background`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sidebarItemSelected`})}),_jsxs(_components.td,{children:[`Background of the open chat in the left rail’s chat list. Defaults to `,_jsx(_components.code,{children:`muted`})]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`sidebarItemSelectedForeground`})}),_jsxs(_components.td,{children:[`Its text. Defaults to `,_jsx(_components.code,{children:`foreground`})]})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`backdrop`,children:`Backdrop`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`backdrop`})}),_jsxs(_components.td,{children:[`Color that dims the page behind the open desktop widget. Defaults to `,_jsx(_components.code,{children:`background`}),`. Set its strength with `,_jsx(_components.a,{href:`#answer-panel-and-backdrop-style`,children:_jsx(_components.code,{children:`style.backdropOpacity`})})]})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`status-colors`,children:`Status colors`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`error`})}),_jsx(_components.td,{children:`Error/destructive color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errorSoft`})}),_jsx(_components.td,{children:`Light error background`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errorSoftForeground`})}),_jsx(_components.td,{children:`Text on error soft backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errorForeground`})}),_jsx(_components.td,{children:`Text on error backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`errorStrong`})}),_jsx(_components.td,{children:`Dark variant of error`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`success`})}),_jsx(_components.td,{children:`Success color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`successSoft`})}),_jsx(_components.td,{children:`Light success background`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`successSoftForeground`})}),_jsx(_components.td,{children:`Text on success soft backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`successForeground`})}),_jsx(_components.td,{children:`Text on success backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`successStrong`})}),_jsx(_components.td,{children:`Dark variant of success`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`warning`})}),_jsx(_components.td,{children:`Warning color`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`warningSoft`})}),_jsx(_components.td,{children:`Light warning background`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`warningSoftForeground`})}),_jsx(_components.td,{children:`Text on warning soft backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`warningForeground`})}),_jsx(_components.td,{children:`Text on warning backgrounds`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`warningStrong`})}),_jsx(_components.td,{children:`Dark variant of warning`})]})]})]}),`\n`,_jsx(Heading,{level:`3`,id:`other`,children:`Other`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`radius`})}),_jsx(_components.td,{children:`Border radius for rounded corners (e.g., “0.5rem”)`})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`deprecated-options`,children:`Deprecated options`}),`\n`,_jsx(_components.p,{children:`These options have no effect. The widget still accepts them, so existing configurations keep loading, and logs a console warning for each one you set.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Use instead`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`surface`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`card`}),` for cards and panels, `,_jsx(_components.code,{children:`popover`}),` for menus and dialogs`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`borderPrimary`})}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`primary`}),`: brand-colored borders already follow it`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`answer-panel-and-backdrop-style`,children:`Answer, panel and backdrop style`}),`\n`,_jsxs(_components.p,{children:[`Pass a `,_jsx(_components.code,{children:`style`}),` object to change how answers are framed, whether the panel casts a shadow and how strongly the page behind the widget is dimmed:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`11`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`Voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`load`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'your-api-key'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` colors:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` backdrop:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#000000'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` style:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` answerBorder:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` false`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` backdropOpacity:`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 0.5`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` panelShadow:`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` false`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`answerBorder`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsxs(_components.td,{children:[`Draw a bordered, rounded box around each assistant answer. Set `,_jsx(_components.code,{children:`false`}),` to show answers as plain text on the panel background. Tool steps, clarifications and approvals keep their borders`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`backdropOpacity`})}),_jsx(_components.td,{children:`number`}),_jsxs(_components.td,{children:[_jsx(_components.code,{children:`0.45`}),` with `,_jsx(_components.code,{children:`backdropBlur`}),`, otherwise `,_jsx(_components.code,{children:`0`})]}),_jsxs(_components.td,{children:[`How strongly `,_jsx(_components.code,{children:`colors.backdrop`}),` covers the page behind the open desktop widget, from `,_jsx(_components.code,{children:`0`}),` to `,_jsx(_components.code,{children:`1`}),`. Above `,_jsx(_components.code,{children:`0`}),`, it dims the page with or without `,_jsx(_components.a,{href:`/widget/configuration/positioning#backdrop-blur`,children:_jsx(_components.code,{children:`backdropBlur`})}),`. The widget ignores any other value and logs a console warning`]})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`panelShadow`})}),_jsx(_components.td,{children:`boolean`}),_jsx(_components.td,{children:_jsx(_components.code,{children:`true`})}),_jsxs(_components.td,{children:[`Draw a drop shadow around the open desktop widget. Set `,_jsx(_components.code,{children:`false`}),` for a flat panel. Mobile never has one`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`font`,children:`Font`}),`\n`,_jsxs(_components.p,{children:[`The widget uses the system font stack by default. To use your own font, load it on your page, then name it in `,_jsx(_components.code,{children:`style.fontFamily`}),`:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`html`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`html`,children:_jsxs(_components.code,{language:`html`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#808080`,\"--shiki-dark\":`#808080`},children:`\u003c`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`link`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` rel`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"stylesheet\"`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` href`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`=`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"https://fonts.googleapis.com/css2?family=Onest:wght@400;500;600;700\u0026display=swap\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#808080`,\"--shiki-dark\":`#808080`},children:`/>`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`6`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`Voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`load`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'your-api-key'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` style:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` fontFamily:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '\"Onest\", sans-serif'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(_components.p,{children:`Your page has to load the font because the widget renders in a shadow root, where it can’t load fonts itself. A font your page has loaded works inside the widget.`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Property`}),_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Default`}),_jsx(_components.th,{children:`Description`})]})}),_jsx(_components.tbody,{children:_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.code,{children:`fontFamily`})}),_jsx(_components.td,{children:`string`}),_jsx(_components.td,{children:`System font stack`}),_jsxs(_components.td,{children:[`A CSS `,_jsx(_components.code,{children:`font-family`}),` list for the widget’s text. End it with a generic family such as `,_jsx(_components.code,{children:`sans-serif`}),` for browsers that can’t load the font. The widget ignores a value that isn’t a valid `,_jsx(_components.code,{children:`font-family`}),` and logs a console warning`]})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`example-dark-theme`,children:`Example: Dark theme`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`17`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`Voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`load`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'your-api-key'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` colors:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` background:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#18181b'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` foreground:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#fafafa'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` card:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#27272a'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` cardForeground:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#fafafa'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` popover:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#27272a'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` popoverForeground:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#fafafa'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` muted:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#3f3f46'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` mutedForeground:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#a1a1aa'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` accent:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#3f3f46'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` accentForeground:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#fafafa'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` border:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#3f3f46'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` input:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#27272a'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Heading,{level:`2`,id:`example-brand-colors`,children:`Example: Brand colors`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`9`,language:`javascript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`javascript`,children:_jsxs(_components.code,{language:`javascript`,numberOfLines:`9`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`Voltai`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`load`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` apiKey:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'your-api-key'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` title:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'Your Company AI'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` colors:`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` primary:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#FFC222'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` primaryForeground:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#181D27'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` ring:`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#FFC222'`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`});`})}),`\n`]})})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Start by customizing just `,_jsx(_components.code,{children:`primary`}),` to match your brand’s primary color. Add more overrides as needed.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"Styling","description":"Customize the widget's appearance to match your brand","href":"/widget/configuration/styling"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Widget title","slug":"widget-title","depth":2,"children":[]},{"title":"Custom colors","slug":"custom-colors","depth":2,"children":[]},{"title":"Available color options","slug":"available-color-options","depth":2,"children":[{"title":"Background colors","slug":"background-colors","depth":3,"children":[]},{"title":"Card colors","slug":"card-colors","depth":3,"children":[]},{"title":"Popover colors","slug":"popover-colors","depth":3,"children":[]},{"title":"Text colors","slug":"text-colors","depth":3,"children":[]},{"title":"Primary colors","slug":"primary-colors","depth":3,"children":[]},{"title":"Secondary colors","slug":"secondary-colors","depth":3,"children":[]},{"title":"Accent colors","slug":"accent-colors","depth":3,"children":[]},{"title":"Border \u0026 Input","slug":"border-\u0026-input","depth":3,"children":[]},{"title":"Send button","slug":"send-button","depth":3,"children":[]},{"title":"New Chat button","slug":"new-chat-button","depth":3,"children":[]},{"title":"Sign in button","slug":"sign-in-button","depth":3,"children":[]},{"title":"Close button","slug":"close-button","depth":3,"children":[]},{"title":"Chat list","slug":"chat-list","depth":3,"children":[]},{"title":"Backdrop","slug":"backdrop","depth":3,"children":[]},{"title":"Status colors","slug":"status-colors","depth":3,"children":[]},{"title":"Other","slug":"other","depth":3,"children":[]},{"title":"Deprecated options","slug":"deprecated-options","depth":3,"children":[]}]},{"title":"Answer, panel and backdrop style","slug":"answer-panel-and-backdrop-style","depth":2,"children":[]},{"title":"Font","slug":"font","depth":2,"children":[]},{"title":"Example: Dark theme","slug":"example-dark-theme","depth":2,"children":[]},{"title":"Example: Brand colors","slug":"example-brand-colors","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"voltaiinc","siteName":"Voltai Documentation","title":"Styling - Voltai Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T03:41:16.712Z","originalFileLocation":"widget/configuration/styling.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Customize the widget\u0026#x27;s appearance to match your brand\">\u003cmeta data-mint-head name=\"application-name\" content=\"Voltai Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Styling - Voltai Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Customize the widget\u0026#x27;s appearance to match your brand\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Voltai Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.voltai.ai/widget/configuration/styling\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://voltaiinc.mintlify.site/_mintlify/api/og/v2?division=Configuration\u0026amp;title=Styling\u0026amp;description=Customize+the+widget%27s+appearance+to+match+your+brand\u0026amp;theme=6fc2208b65b41b91b6c22fc2\u0026amp;signature=1773df2e922868eb6ac8669ca9713cd7431fa95af7cf5fbb51abd777d8ba319a\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Styling - Voltai Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Customize the widget\u0026#x27;s appearance to match your brand\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://voltaiinc.mintlify.site/_mintlify/api/og/v2?division=Configuration\u0026amp;title=Styling\u0026amp;description=Customize+the+widget%27s+appearance+to+match+your+brand\u0026amp;theme=6fc2208b65b41b91b6c22fc2\u0026amp;signature=1773df2e922868eb6ac8669ca9713cd7431fa95af7cf5fbb51abd777d8ba319a\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/voltaiinc/AGJqEuZfRSV_Zjiv/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Voltai Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0284C7\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.voltai.ai/widget/configuration/styling\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/widget/configuration/styling.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.voltai.ai/#organization\",\"name\":\"Voltai Documentation\",\"url\":\"https://docs.voltai.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/voltaiinc/1Ge8QFMwvQlR8Pya/logo/light.svg?fit=max\u0026auto=format\u0026n=1Ge8QFMwvQlR8Pya\u0026q=85\u0026s=8c01fb45e51b42ae0a306dec1aec1270\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.voltai.ai#website\",\"name\":\"Voltai Documentation\",\"url\":\"https://docs.voltai.ai\",\"publisher\":{\"@id\":\"https://docs.voltai.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.voltai.ai/widget/configuration/styling#webpage\",\"url\":\"https://docs.voltai.ai/widget/configuration/styling\",\"name\":\"Styling\",\"description\":\"Customize the widget's appearance to match your brand\",\"dateModified\":\"2026-10-27T03:41:16.712Z\",\"isPartOf\":{\"@id\":\"https://docs.voltai.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.voltai.ai/widget/configuration/styling#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.voltai.ai/widget/configuration/styling#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Voltai Documentation\",\"item\":\"https://docs.voltai.ai\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Styling\",\"item\":\"https://docs.voltai.ai/widget/configuration/styling\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.voltai.ai/widget/configuration/styling#article\",\"headline\":\"Styling\",\"name\":\"Styling\",\"description\":\"Customize the widget's appearance to match your brand\",\"url\":\"https://docs.voltai.ai/widget/configuration/styling\",\"mainEntityOfPage\":{\"@id\":\"https://docs.voltai.ai/widget/configuration/styling#webpage\"},\"dateModified\":\"2026-10-27T03:41:16.712Z\",\"publisher\":{\"@id\":\"https://docs.voltai.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.voltai.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Voltai Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Voltai Documentation","nav":{"global":null,"tabs":[{"tab":"Widget","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/widget/introduction"},{"title":"Getting Started","description":"Add the Voltai Widget to your website in minutes","href":"/widget/getting-started"}]},{"group":"Configuration","pages":[{"title":"Styling","href":"/widget/configuration/styling"},{"title":"Sizing","description":"Configure the widget's default size and enable user resizing","href":"/widget/configuration/sizing"},{"title":"Positioning","href":"/widget/configuration/positioning"},{"title":"Text","href":"/widget/configuration/text"},{"title":"Support Ticket","href":"/widget/configuration/support-ticket"},{"title":"Hide Elements","href":"/widget/configuration/hide"},{"title":"Functions","href":"/widget/configuration/functions"},{"title":"Events","href":"/widget/configuration/events"}]},{"group":"Guides","pages":[{"title":"Authentication","href":"/widget/authentication"},{"title":"Examples","href":"/widget/examples"}]}]},{"tab":"Knowledge Agent","pages":[{"title":"Knowledge Agent","href":"/api-reference/knowledge-agent/chat-query"}]},{"tab":"Connectors","pages":[{"title":"Connectors","href":"/connectors/introduction"}]}]},"basePath":"","title":"Styling - Voltai Documentation","buildId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","deploymentId":"dpl_42LwxxU1kGN114H4XzwGYXa9ZDah","dynamics":["10e4515597"],"chunks":["BannerMarkdown-DV-WToSZ.js","dist-CBUH0-zX.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-CR-RHrVC.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js"]}