updated theme color
Browse files
app/components/chat/BaseChat.module.scss
CHANGED
|
@@ -18,82 +18,6 @@
|
|
| 18 |
opacity: 1;
|
| 19 |
}
|
| 20 |
|
| 21 |
-
.RayContainer {
|
| 22 |
-
--gradient-opacity: 0.85;
|
| 23 |
-
--ray-gradient: radial-gradient(rgba(83, 196, 255, var(--gradient-opacity)) 0%, rgba(43, 166, 255, 0) 100%);
|
| 24 |
-
transition: opacity 0.25s linear;
|
| 25 |
-
position: fixed;
|
| 26 |
-
inset: 0;
|
| 27 |
-
pointer-events: none;
|
| 28 |
-
user-select: none;
|
| 29 |
-
}
|
| 30 |
-
|
| 31 |
-
.LightRayOne {
|
| 32 |
-
width: 480px;
|
| 33 |
-
height: 680px;
|
| 34 |
-
transform: rotate(80deg);
|
| 35 |
-
top: -540px;
|
| 36 |
-
left: 250px;
|
| 37 |
-
filter: blur(110px);
|
| 38 |
-
position: absolute;
|
| 39 |
-
border-radius: 100%;
|
| 40 |
-
background: var(--ray-gradient);
|
| 41 |
-
}
|
| 42 |
-
|
| 43 |
-
.LightRayTwo {
|
| 44 |
-
width: 110px;
|
| 45 |
-
height: 400px;
|
| 46 |
-
transform: rotate(-20deg);
|
| 47 |
-
top: -280px;
|
| 48 |
-
left: 350px;
|
| 49 |
-
mix-blend-mode: overlay;
|
| 50 |
-
opacity: 0.6;
|
| 51 |
-
filter: blur(60px);
|
| 52 |
-
position: absolute;
|
| 53 |
-
border-radius: 100%;
|
| 54 |
-
background: var(--ray-gradient);
|
| 55 |
-
}
|
| 56 |
-
|
| 57 |
-
.LightRayThree {
|
| 58 |
-
width: 400px;
|
| 59 |
-
height: 370px;
|
| 60 |
-
top: -350px;
|
| 61 |
-
left: 200px;
|
| 62 |
-
mix-blend-mode: overlay;
|
| 63 |
-
opacity: 0.6;
|
| 64 |
-
filter: blur(21px);
|
| 65 |
-
position: absolute;
|
| 66 |
-
border-radius: 100%;
|
| 67 |
-
background: var(--ray-gradient);
|
| 68 |
-
}
|
| 69 |
-
|
| 70 |
-
.LightRayFour {
|
| 71 |
-
position: absolute;
|
| 72 |
-
width: 330px;
|
| 73 |
-
height: 370px;
|
| 74 |
-
top: -330px;
|
| 75 |
-
left: 50px;
|
| 76 |
-
mix-blend-mode: overlay;
|
| 77 |
-
opacity: 0.5;
|
| 78 |
-
filter: blur(21px);
|
| 79 |
-
border-radius: 100%;
|
| 80 |
-
background: var(--ray-gradient);
|
| 81 |
-
}
|
| 82 |
-
|
| 83 |
-
.LightRayFive {
|
| 84 |
-
position: absolute;
|
| 85 |
-
width: 110px;
|
| 86 |
-
height: 400px;
|
| 87 |
-
transform: rotate(-40deg);
|
| 88 |
-
top: -280px;
|
| 89 |
-
left: -10px;
|
| 90 |
-
mix-blend-mode: overlay;
|
| 91 |
-
opacity: 0.8;
|
| 92 |
-
filter: blur(60px);
|
| 93 |
-
border-radius: 100%;
|
| 94 |
-
background: var(--ray-gradient);
|
| 95 |
-
}
|
| 96 |
-
|
| 97 |
.PromptEffectContainer {
|
| 98 |
--prompt-container-offset: 50px;
|
| 99 |
--prompt-line-stroke-width: 1px;
|
|
|
|
| 18 |
opacity: 1;
|
| 19 |
}
|
| 20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
.PromptEffectContainer {
|
| 22 |
--prompt-container-offset: 50px;
|
| 23 |
--prompt-line-stroke-width: 1px;
|
app/components/chat/BaseChat.tsx
CHANGED
|
@@ -258,13 +258,6 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
| 258 |
className={classNames(styles.BaseChat, 'relative flex h-full w-full overflow-hidden')}
|
| 259 |
data-chat-visible={showChat}
|
| 260 |
>
|
| 261 |
-
<div className={classNames(styles.RayContainer)}>
|
| 262 |
-
<div className={classNames(styles.LightRayOne)}></div>
|
| 263 |
-
<div className={classNames(styles.LightRayTwo)}></div>
|
| 264 |
-
<div className={classNames(styles.LightRayThree)}></div>
|
| 265 |
-
<div className={classNames(styles.LightRayFour)}></div>
|
| 266 |
-
<div className={classNames(styles.LightRayFive)}></div>
|
| 267 |
-
</div>
|
| 268 |
<ClientOnly>{() => <Menu />}</ClientOnly>
|
| 269 |
<div ref={scrollRef} className="flex flex-col lg:flex-row overflow-y-auto w-full h-full">
|
| 270 |
<div className={classNames(styles.Chat, 'flex flex-col flex-grow lg:min-w-[var(--chat-min-width)] h-full')}>
|
|
@@ -314,15 +307,15 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
|
|
| 314 |
gradientUnits="userSpaceOnUse"
|
| 315 |
gradientTransform="rotate(-45)"
|
| 316 |
>
|
| 317 |
-
<stop offset="0%" stopColor="#
|
| 318 |
-
<stop offset="40%" stopColor="#
|
| 319 |
-
<stop offset="50%" stopColor="#
|
| 320 |
-
<stop offset="100%" stopColor="#
|
| 321 |
</linearGradient>
|
| 322 |
<linearGradient id="shine-gradient">
|
| 323 |
<stop offset="0%" stopColor="white" stopOpacity="0%"></stop>
|
| 324 |
-
<stop offset="40%" stopColor="#
|
| 325 |
-
<stop offset="50%" stopColor="#
|
| 326 |
<stop offset="100%" stopColor="white" stopOpacity="0%"></stop>
|
| 327 |
</linearGradient>
|
| 328 |
</defs>
|
|
|
|
| 258 |
className={classNames(styles.BaseChat, 'relative flex h-full w-full overflow-hidden')}
|
| 259 |
data-chat-visible={showChat}
|
| 260 |
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 261 |
<ClientOnly>{() => <Menu />}</ClientOnly>
|
| 262 |
<div ref={scrollRef} className="flex flex-col lg:flex-row overflow-y-auto w-full h-full">
|
| 263 |
<div className={classNames(styles.Chat, 'flex flex-col flex-grow lg:min-w-[var(--chat-min-width)] h-full')}>
|
|
|
|
| 307 |
gradientUnits="userSpaceOnUse"
|
| 308 |
gradientTransform="rotate(-45)"
|
| 309 |
>
|
| 310 |
+
<stop offset="0%" stopColor="#b44aff" stopOpacity="0%"></stop>
|
| 311 |
+
<stop offset="40%" stopColor="#b44aff" stopOpacity="80%"></stop>
|
| 312 |
+
<stop offset="50%" stopColor="#b44aff" stopOpacity="80%"></stop>
|
| 313 |
+
<stop offset="100%" stopColor="#b44aff" stopOpacity="0%"></stop>
|
| 314 |
</linearGradient>
|
| 315 |
<linearGradient id="shine-gradient">
|
| 316 |
<stop offset="0%" stopColor="white" stopOpacity="0%"></stop>
|
| 317 |
+
<stop offset="40%" stopColor="#ffffff" stopOpacity="80%"></stop>
|
| 318 |
+
<stop offset="50%" stopColor="#ffffff" stopOpacity="80%"></stop>
|
| 319 |
<stop offset="100%" stopColor="white" stopOpacity="0%"></stop>
|
| 320 |
</linearGradient>
|
| 321 |
</defs>
|
app/components/ui/BackgroundRays/styles.module.scss
CHANGED
|
@@ -1,9 +1,4 @@
|
|
| 1 |
.rayContainer {
|
| 2 |
-
--gradient-opacity: 0.8;
|
| 3 |
-
--primary-color: rgba(147, 112, 219, var(--gradient-opacity));
|
| 4 |
-
--secondary-color: rgba(138, 43, 226, var(--gradient-opacity));
|
| 5 |
-
--accent-color: rgba(180, 170, 220, var(--gradient-opacity));
|
| 6 |
-
|
| 7 |
// Theme-specific colors
|
| 8 |
--ray-color-primary: color-mix(in srgb, var(--primary-color), transparent 30%);
|
| 9 |
--ray-color-secondary: color-mix(in srgb, var(--secondary-color), transparent 30%);
|
|
|
|
| 1 |
.rayContainer {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
// Theme-specific colors
|
| 3 |
--ray-color-primary: color-mix(in srgb, var(--primary-color), transparent 30%);
|
| 4 |
--ray-color-secondary: color-mix(in srgb, var(--secondary-color), transparent 30%);
|
app/styles/index.scss
CHANGED
|
@@ -12,3 +12,13 @@ body {
|
|
| 12 |
height: 100%;
|
| 13 |
width: 100%;
|
| 14 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
height: 100%;
|
| 13 |
width: 100%;
|
| 14 |
}
|
| 15 |
+
|
| 16 |
+
:root {
|
| 17 |
+
--gradient-opacity: 0.8;
|
| 18 |
+
--primary-color: rgba(158, 117, 240, var(--gradient-opacity));
|
| 19 |
+
--secondary-color: rgba(138, 43, 226, var(--gradient-opacity));
|
| 20 |
+
--accent-color: rgba(128, 59, 239, var(--gradient-opacity));
|
| 21 |
+
// --primary-color: rgba(147, 112, 219, var(--gradient-opacity));
|
| 22 |
+
// --secondary-color: rgba(138, 43, 226, var(--gradient-opacity));
|
| 23 |
+
// --accent-color: rgba(180, 170, 220, var(--gradient-opacity));
|
| 24 |
+
}
|
uno.config.ts
CHANGED
|
@@ -35,17 +35,17 @@ const BASE_COLORS = {
|
|
| 35 |
950: '#0A0A0A',
|
| 36 |
},
|
| 37 |
accent: {
|
| 38 |
-
50: '#
|
| 39 |
-
100: '#
|
| 40 |
-
200: '#
|
| 41 |
-
300: '#
|
| 42 |
-
400: '#
|
| 43 |
-
500: '#
|
| 44 |
-
600: '#
|
| 45 |
-
700: '#
|
| 46 |
-
800: '#
|
| 47 |
-
900: '#
|
| 48 |
-
950: '#
|
| 49 |
},
|
| 50 |
green: {
|
| 51 |
50: '#F0FDF4',
|
|
|
|
| 35 |
950: '#0A0A0A',
|
| 36 |
},
|
| 37 |
accent: {
|
| 38 |
+
50: '#F8F5FF',
|
| 39 |
+
100: '#F0EBFF',
|
| 40 |
+
200: '#E1D6FF',
|
| 41 |
+
300: '#CEBEFF',
|
| 42 |
+
400: '#B69EFF',
|
| 43 |
+
500: '#9C7DFF',
|
| 44 |
+
600: '#8A5FFF',
|
| 45 |
+
700: '#7645E8',
|
| 46 |
+
800: '#6234BB',
|
| 47 |
+
900: '#502D93',
|
| 48 |
+
950: '#2D1959',
|
| 49 |
},
|
| 50 |
green: {
|
| 51 |
50: '#F0FDF4',
|