Skip to content

Commit

Permalink
Merge pull request #296 from Zagrios/bugfix/incorrect-text-colors-on-…
Browse files Browse the repository at this point in the history
…models-elemtnts-with-light-theme

[bugfix] Incorrect text colors on Models elements with light theme in download modal
  • Loading branch information
Zagrios authored Aug 8, 2023
2 parents 73e8e0f + b169b04 commit 90cb0d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function ModelItemElement<T = unknown>(props: Props<T>) {
};

return (
<motion.li className={`relative flex-grow min-w-[16rem] h-64 cursor-pointer ${props.className ?? ""}`} onHoverStart={() => setHovered(() => true)} onHoverEnd={() => setHovered(() => false)}>
<motion.li className={`relative flex-grow min-w-[16rem] h-64 cursor-pointer text-gray-200 ${props.className ?? ""}`} onHoverStart={() => setHovered(() => true)} onHoverEnd={() => setHovered(() => false)}>
<GlowEffect visible={props.selected || hovered} />
<div className="absolute top-0 left-0 w-full h-full rounded-lg overflow-hidden blur-none bg-black shadow-sm shadow-black">
<div ref={ref} className="contents">
Expand Down

0 comments on commit 90cb0d5

Please sign in to comment.