您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

indicator.tsx 496B

123456789101112131415161718192021
  1. import styled from "styles"
  2. const Indicator = styled("path", {
  3. fill: "none",
  4. stroke: "transparent",
  5. strokeWidth: "max(1, calc(2 / var(--camera-zoom)))",
  6. pointerEvents: "none",
  7. strokeLineCap: "round",
  8. strokeLinejoin: "round",
  9. })
  10. const HoverIndicator = styled("path", {
  11. fill: "none",
  12. stroke: "transparent",
  13. strokeWidth: "max(1, calc(8 / var(--camera-zoom)))",
  14. pointerEvents: "all",
  15. strokeLinecap: "round",
  16. strokeLinejoin: "round",
  17. })
  18. export { Indicator, HoverIndicator }