mirror of
https://github.com/pheralb/svgl.git
synced 2025-12-29 08:01:36 +08:00
fix!: Toggle use color minimalist
This commit is contained in:
@@ -6,6 +6,7 @@ import CustomLink from "@/common/link";
|
||||
|
||||
const SVGCard = (props: SVGCardProps) => {
|
||||
const bg = useColorModeValue("bg.light", "bg.dark");
|
||||
const color = useColorModeValue("rgb(0,0,0, .1)", "rgb(255,255,255, .1)");
|
||||
return (
|
||||
<Tap>
|
||||
<CustomLink href={`/svg/${props.id}`}>
|
||||
@@ -17,8 +18,7 @@ const SVGCard = (props: SVGCardProps) => {
|
||||
borderWidth="1px"
|
||||
mb="2"
|
||||
_hover={{
|
||||
/* shadow: "md", */
|
||||
border:"1px solid rgb(0,0,0, .1)",
|
||||
border:`1px solid ${color}`,
|
||||
transform: "scale(0.98)",
|
||||
}}
|
||||
transition="all 0.2s" >
|
||||
|
||||
Reference in New Issue
Block a user