feat: fix copilotkit

This commit is contained in:
Nevo David 2025-04-12 00:06:01 +07:00
parent b4261c2777
commit 46c028b28e
2 changed files with 39 additions and 39 deletions

View File

@ -301,46 +301,46 @@ html {
.mantine-Paper-root {
outline: none !important;
}
//
//:root {
// --copilot-kit-primary-color: #612ad5 !important;
// --copilot-kit-background-color: #0b0f1c !important;
// --copilot-kit-separator-color: #1f2941 !important;
// --copilot-kit-contrast-color: #ffffff !important;
// --copilot-kit-secondary-contrast-color: #ffffff !important;
// --copilot-kit-secondary-color: #000 !important;
// --copilot-kit-response-button-background-color: #000 !important;
// --copilot-kit-response-button-color: #fff !important;
//}
:root {
--copilot-kit-primary-color: #612ad5 !important;
--copilot-kit-background-color: #0b0f1c !important;
--copilot-kit-separator-color: #1f2941 !important;
--copilot-kit-contrast-color: #ffffff !important;
--copilot-kit-secondary-contrast-color: #ffffff !important;
--copilot-kit-secondary-color: #000 !important;
--copilot-kit-response-button-background-color: #000 !important;
--copilot-kit-response-button-color: #fff !important;
}
//.copilotKitWindow {
// @apply bg-customColor3 #{!important};
//}
.copilotKitWindow {
@apply bg-customColor3 #{!important};
}
.copilotKitButtonIconOpen svg {
display: none !important;
}
.copilotKitButtonIconOpen:after {
@apply text-textColor;
content: '';
display: block;
position: relative;
z-index: 1;
object-fit: contain;
background: url('/magic.svg') no-repeat center center / contain;
width: 30px;
height: 30px;
}
.copilotKitPopup {
right: -2rem !important;
bottom: 2rem !important;
}
.copilotKitWindow {
/*right: -5rem !important;*/
}
//.copilotKitButtonIconOpen svg {
// display: none !important;
//}
//
//.copilotKitButtonIconOpen:after {
// @apply text-textColor;
// content: '';
// display: block;
// position: relative;
// z-index: 1;
// object-fit: contain;
// background: url('/magic.svg') no-repeat center center / contain;
// width: 30px;
// height: 30px;
//}
//
//.copilotKitPopup {
// right: -2rem !important;
// bottom: 2rem !important;
//}
//
//.copilotKitWindow {
// /*right: -5rem !important;*/
//}
.uppy-FileInput-container {
@apply cursor-pointer font-[500] flex justify-center items-center gap-[4px] text-[12px] rounded-[4px] w-[107px] h-[25px] text-textColor border-[2px];

View File

@ -28,7 +28,7 @@ export default async function AppLayout({ children }: { children: ReactNode }) {
<head>
<link rel="icon" href="/favicon.ico" sizes="any" />
</head>
<body className={clsx(chakra.className, 'text-primary dark')}>
<body className={clsx(chakra.className, 'text-primary !bg-primary')}>
<VariableContextComponent
storageProvider={
process.env.STORAGE_PROVIDER! as 'local' | 'cloudflare'