Skip to content

Commit ce9ab04

Browse files
committed
fix(ContextInfo): Adjust shadow to be black in light mode
1 parent 6422b1e commit ce9ab04

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/ui/context-info/context-info.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,13 @@ const rotateShadow = css`
3737
transform: translateX(0.25rem);
3838
width: 4.5rem;
3939
height: 0.5rem;
40+
opacity: 0.5;
4041
}
4142
50% {
4243
transform: translateX(-0.25rem);
4344
width: 4.5rem;
4445
height: 0.5rem;
46+
opacity: 0.5;
4547
}
4648
`};
4749
`
@@ -104,13 +106,13 @@ export const ContextInfo = ({
104106
/>
105107
<div
106108
className={cn(
107-
"absolute -bottom-4 rounded-[50%] bg-black",
109+
"absolute -bottom-4 rounded-[50%] bg-[black]",
108110
animateIcon === "float" && floatShadow,
109111
animateIcon === "rotate" && rotateShadow
110112
)}
111113
/>
112114
</div>
113-
<span className="block max-w-80 text-center font-bold text-text">
115+
<span className="block max-w-80 text-center font-bold text-text-gentle">
114116
{label}
115117
</span>
116118
{children && (

0 commit comments

Comments
 (0)