Skip to content

Commit

Permalink
feat: add icon IcondDocument
Browse files Browse the repository at this point in the history
  • Loading branch information
yhabib committed Dec 9, 2024
1 parent ff6d3b0 commit 6776003
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export { default as IconCollapseAll } from "./icons/IconCollapseAll.svelte";
export { default as IconCopy } from "./icons/IconCopy.svelte";
export { default as IconDarkMode } from "./icons/IconDarkMode.svelte";
export { default as IconDissolving } from "./icons/IconDissolving.svelte";
export { default as IconDocument } from "./icons/IconDocument.svelte";
export { default as IconDots } from "./icons/IconDots.svelte";
export { default as IconDown } from "./icons/IconDown.svelte";
export { default as IconEast } from "./icons/IconEast.svelte";
Expand Down
27 changes: 27 additions & 0 deletions src/lib/icons/IconDocument.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!-- source: DFINITY foundation -->
<script lang="ts">
import { DEFAULT_ICON_SIZE } from "$lib/constants/constants";
export let size = `${DEFAULT_ICON_SIZE}px`;
</script>

<svg
height={size}
width={size}
viewBox="0 0 20 20"
fill="none"
stroke="currentColor"
xmlns="http://www.w3.org/2000/svg"
data-tid="document"
><path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
d="M11.666 1.666H5a1.667 1.667 0 0 0-1.667 1.667v13.333A1.667 1.667 0 0 0 5 18.333h10a1.667 1.667 0 0 0 1.666-1.667v-10l-5-5Z"
/><path
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1.5"
d="M11.667 1.666v5h5M13.334 10.834H6.667M13.334 14.166H6.667M8.334 7.5H6.667"
/></svg
>

0 comments on commit 6776003

Please sign in to comment.