Skip to content

Commit

Permalink
feat(icons): add heating icon template (#1323)
Browse files Browse the repository at this point in the history
- Introduced a new `heating` icon template in `icons_templates.ts`.
- Updated icon export list to include the `heating` icon.
  • Loading branch information
tabiodun authored Jan 31, 2025
1 parent 41bbb8f commit 942a854
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/icons/icons_templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,40 @@ const food = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3
</g>{{multiple}}
</svg>`;

const heating = `<svg width="55" height="58" viewBox="0 0 35 38" fill="none" xmlns="http://www.w3.org/2000/svg">
<g filter="url(#filter0_d_12762_6738)">
<mask id="path-1-outside-1_12762_6738" maskUnits="userSpaceOnUse" x="2" y="0" width="31" height="34" fill="{{fillColor}}">
<rect fill="{{strokeColor}}" x="2" width="31" height="34"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M31.5772 16.1421L17.435 2L3.29289 16.1421C2.90237 16.5327 2.90237 17.1658 3.29289 17.5563C3.68342 17.9469 4.31658 17.9469 4.70711 17.5563L4.99948 17.264V31.4138C4.99948 31.9661 5.4472 32.4138 5.99948 32.4138H28.9995C29.5518 32.4138 29.9995 31.966 29.9995 31.4138V17.3929L30.1629 17.5563C30.5535 17.9469 31.1866 17.9469 31.5772 17.5563C31.9677 17.1658 31.9677 16.5327 31.5772 16.1421Z"/>
</mask>
<path fill-rule="evenodd" clip-rule="evenodd" d="M31.5772 16.1421L17.435 2L3.29289 16.1421C2.90237 16.5327 2.90237 17.1658 3.29289 17.5563C3.68342 17.9469 4.31658 17.9469 4.70711 17.5563L4.99948 17.264V31.4138C4.99948 31.9661 5.4472 32.4138 5.99948 32.4138H28.9995C29.5518 32.4138 29.9995 31.966 29.9995 31.4138V17.3929L30.1629 17.5563C30.5535 17.9469 31.1866 17.9469 31.5772 17.5563C31.9677 17.1658 31.9677 16.5327 31.5772 16.1421Z" fill="{{fillColor}}"/>
<path d="M17.435 2L18.1421 1.29289L17.435 0.585786L16.7279 1.29289L17.435 2ZM31.5772 16.1421L30.8701 16.8492L30.8701 16.8492L31.5772 16.1421ZM3.29289 16.1421L4 16.8492L4 16.8492L3.29289 16.1421ZM3.29289 17.5563L4 16.8492L4 16.8492L3.29289 17.5563ZM4.70711 17.5563L4 16.8492L4 16.8492L4.70711 17.5563ZM4.99948 17.264H5.99948V14.8498L4.29238 16.5569L4.99948 17.264ZM29.9995 17.3929L30.7066 16.6858L28.9995 14.9787V17.3929H29.9995ZM31.5772 17.5563L30.8701 16.8492L30.8701 16.8492L31.5772 17.5563ZM16.7279 2.70711L30.8701 16.8492L32.2843 15.435L18.1421 1.29289L16.7279 2.70711ZM4 16.8492L18.1421 2.70711L16.7279 1.29289L2.58579 15.435L4 16.8492ZM4 16.8492L4 16.8492L2.58579 15.435C1.80474 16.2161 1.80474 17.4824 2.58579 18.2635L4 16.8492ZM4 16.8492L4 16.8492L2.58579 18.2635C3.36684 19.0445 4.63317 19.0445 5.41421 18.2635L4 16.8492ZM4.29238 16.5569L4 16.8492L5.41421 18.2635L5.70659 17.9711L4.29238 16.5569ZM5.99948 31.4138V17.264H3.99948V31.4138H5.99948ZM5.99948 31.4138H5.99948H3.99948C3.99948 32.5183 4.89491 33.4138 5.99948 33.4138V31.4138ZM28.9995 31.4138H5.99948V33.4138H28.9995V31.4138ZM28.9995 31.4138V31.4138V33.4138C30.1041 33.4138 30.9995 32.5183 30.9995 31.4138H28.9995ZM28.9995 17.3929V31.4138H30.9995V17.3929H28.9995ZM30.8701 16.8492L30.7066 16.6858L29.2924 18.1L29.4558 18.2635L30.8701 16.8492ZM30.8701 16.8492L30.8701 16.8492L29.4558 18.2635C30.2369 19.0445 31.5032 19.0445 32.2843 18.2635L30.8701 16.8492ZM30.8701 16.8492L30.8701 16.8492L32.2843 18.2635C33.0653 17.4824 33.0653 16.2161 32.2843 15.435L30.8701 16.8492Z" fill="{{strokeColor}}" mask="url(#path-1-outside-1_12762_6738)"/>
</g>
<rect x="12" y="19.4141" width="2" height="10" rx="1" fill="{{strokeColor}}"/>
<rect x="15" y="19.4141" width="2" height="10" rx="1" fill="{{strokeColor}}"/>
<rect x="18" y="19.4141" width="2" height="10" rx="1" fill="{{strokeColor}}"/>
<rect x="21" y="19.4141" width="2" height="10" rx="1" fill="{{strokeColor}}"/>
<path d="M21.0005 13.4141C22.6005 11.8141 20.3338 10.4141 19.0005 9.91406C19.6671 10.3236 20.7004 11.5969 19.5 13.4141C18.2996 15.2312 20.0002 17.1712 21.0005 17.9141C20.3338 17.0807 19.4005 15.0141 21.0005 13.4141Z" fill="{{strokeColor}}"/>
<path d="M17.9497 13.4141C19.5497 11.8141 17.283 10.4141 15.9497 9.91406C16.6164 10.3236 17.6496 11.5969 16.4492 13.4141C15.2488 15.2312 16.9494 17.1712 17.9497 17.9141C17.283 17.0807 16.3497 15.0141 17.9497 13.4141Z" fill="{{strokeColor}}"/>
<path d="M14.9497 13.4141C16.5497 11.8141 14.283 10.4141 12.9497 9.91406C13.6164 10.3236 14.6496 11.5969 13.4492 13.4141C12.2488 15.2312 13.9494 17.1712 14.9497 17.9141C14.283 17.0807 13.3497 15.0141 14.9497 13.4141Z" fill="{{strokeColor}}"/>
<defs>
<filter id="filter0_d_12762_6738" x="0" y="0.585938" width="34.8691" height="36.8281" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
<feFlood flood-opacity="0" result="BackgroundImageFix"/>
<feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"/>
<feOffset dy="2"/>
<feGaussianBlur stdDeviation="1"/>
<feComposite in2="hardAlpha" operator="out"/>
<feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"/>
<feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_12762_6738"/>
<feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_12762_6738" result="shape"/>
</filter>
</defs>
<g transform="translate(-2, 0) scale(0.75)">
{{multiple}}
</g>
</svg>
`;

const important = `<svg width="50" height="50" viewBox="0 0 50 50" fill="{{fillColor}}" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M25 0.962891L48.8481 44.5001H1.13354L25 0.962891ZM27.0207 35.4821H23.0207V39.4821H27.0207V35.4821ZM27.0207 16.4821H23.0207V21.3313L24.1724 32.4821H25.8849L27.0207 21.3317V16.4821Z" stroke="{{strokeColor}}"/>
{{multiple}}
Expand Down Expand Up @@ -1026,6 +1060,7 @@ const templates: Record<string, string> = {
favorite,
fence,
fire,
heating,
important,
food,
landslide,
Expand Down

0 comments on commit 942a854

Please sign in to comment.