瀏覽代碼

Fix line color

main
Steve Ruiz 3 年之前
父節點
當前提交
59e351c779
共有 1 個檔案被更改,包括 7 行新增1 行删除
  1. 7
    1
      packages/tldraw/src/components/Primitives/icons/LineIcon.tsx

+ 7
- 1
packages/tldraw/src/components/Primitives/icons/LineIcon.tsx 查看文件

2
 
2
 
3
 export function LineIcon() {
3
 export function LineIcon() {
4
   return (
4
   return (
5
-    <svg width="15" height="15" viewBox="0 0 15 15" fill="black" xmlns="http://www.w3.org/2000/svg">
5
+    <svg
6
+      width="15"
7
+      height="15"
8
+      viewBox="0 0 15 15"
9
+      fill="currentColor"
10
+      xmlns="http://www.w3.org/2000/svg"
11
+    >
6
       <path d="M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L11.1464 3.14645C11.3417 2.95118 11.6583 2.95118 11.8536 3.14645C12.0488 3.34171 12.0488 3.65829 11.8536 3.85355L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z" />
12
       <path d="M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L11.1464 3.14645C11.3417 2.95118 11.6583 2.95118 11.8536 3.14645C12.0488 3.34171 12.0488 3.65829 11.8536 3.85355L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z" />
7
     </svg>
13
     </svg>
8
   )
14
   )

Loading…
取消
儲存