(feat)widget: sleeker interface

This commit is contained in:
ManishMadan2882 committed 2026-09-03 15:24:50 +05:30
1 parent 3e12a6bf62
commit 595007507f
3 files changed
+696 -432

No files matched your search

File diff suppressed because it is too large. Load diff
@@ -58,7 +58,7 @@ export function fetchAnswerStreaming({
const reader = response.body.getReader();
const decoder = new TextDecoder('utf-8');
let buffer = '';
const emit = (rawLine: string) => {
@@ -106,7 +106,7 @@ export function fetchAnswerStreaming({
resolve();
return;
}
console.error('Connection failed:', error);
console.warn('Connection failed:', error);
reject(error);
});
});
@@ -19,6 +19,20 @@ declare module 'styled-components' {
base: string;
highlight: string;
};
accent?: {
base: string;
hover: string;
strong: string;
contrast: string;
soft: string;
link: string;
};
hairline?: string;
danger?: {
text: string;
soft: string;
border: string;
};
/** Present only in DocsGPTWidget theme (always provided when these styled components render) */
dimensions?: {
size: string;