Skip to content

Commit

Permalink
New icon IconCheckCircleFill (#540)
Browse files Browse the repository at this point in the history
# Motivation

A new icon is needed to display the neuron’s active rewards state.

# Changes

- New IconCheckCircleFill.

# Screenshots

<img width="178" alt="image"
src="https://github.com/user-attachments/assets/1d356581-a399-43cf-aaea-eabf88f92b4e">
  • Loading branch information
mstrasinskis authored Dec 9, 2024
1 parent 0276379 commit e8aed6d
Show file tree
Hide file tree
Showing 2 changed files with 21 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 @@ -9,6 +9,7 @@ export { default as IconCanistersPage } from "./icons/IconCanistersPage.svelte";
export { default as IconChat } from "./icons/IconChat.svelte";
export { default as IconCheck } from "./icons/IconCheck.svelte";
export { default as IconCheckCircle } from "./icons/IconCheckCircle.svelte";
export { default as IconCheckCircleFill } from "./icons/IconCheckCircleFill.svelte";
export { default as IconClock } from "./icons/IconClock.svelte";
export { default as IconClockNoFill } from "./icons/IconClockNoFill.svelte";
export { default as IconClose } from "./icons/IconClose.svelte";
Expand Down
20 changes: 20 additions & 0 deletions src/lib/icons/IconCheckCircleFill.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!-- source: DFINITY foundation -->
<script lang="ts">
import { DEFAULT_ICON_SIZE } from "$lib/constants/constants";
export let size = DEFAULT_ICON_SIZE;
</script>

<svg
width={size}
height={size}
viewBox="0 0 20 20"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
>
<path
fill-rule="evenodd"
d="M17.5 10a7.5 7.5 0 1 1-15 0 7.5 7.5 0 0 1 15 0Zm-3.545-1.332a.75.75 0 1 0-1.035-1.086l-4.068 3.881L7.081 9.77a.75.75 0 1 0-1.037 1.085l2.29 2.187a.75.75 0 0 0 1.035 0l4.586-4.374Z"
clip-rule="evenodd"
/>
</svg>

0 comments on commit e8aed6d

Please sign in to comment.