Skip to content

Commit

Permalink
fix icon svgs
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Nov 20, 2024
1 parent b1dde61 commit f4c47db
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/styles/icons/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
/**
* This file exports icons needed for Editorjs List plugin, but this icons are still unreleased
* This file exports icons needed for Editorjs List plugin, but this icons are not released yet
* @todo remove this file and use icons from codex-team/icons package, when version with this icons will be released
*/

export const IconNumber = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.2832 15.0703C12.7559 15.0703 12.3398 14.6484 12.3398 14.127C12.3398 13.5996 12.7559 13.1836 13.2832 13.1836C13.8047 13.1836 14.2266 13.5996 14.2266 14.127C14.2266 14.6484 13.8047 15.0703 13.2832 15.0703Z" fill="black"/><path d="M9.58594 15.123C9.06445 15.123 8.70703 14.7715 8.70703 14.2383V8.18555H8.67188L7.43555 9.04688C7.27148 9.16406 7.14844 9.20508 6.9668 9.20508C6.60938 9.20508 6.3457 8.94727 6.3457 8.57227C6.3457 8.30273 6.45117 8.10352 6.72656 7.91016L8.40234 6.75C8.8125 6.46875 9.09375 6.41602 9.45703 6.41602C10.084 6.41602 10.459 6.79688 10.459 7.40625V14.2383C10.459 14.7715 10.1074 15.123 9.58594 15.123Z" fill="black"/></svg>';
export const IconLowerRoman = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.5527 15.0703C12.0254 15.0703 11.6094 14.6484 11.6094 14.127C11.6094 13.5996 12.0254 13.1836 12.5527 13.1836C13.0742 13.1836 13.4961 13.5996 13.4961 14.127C13.4961 14.6484 13.0742 15.0703 12.5527 15.0703Z" fill="black"/><path d="M9.44141 7.93945C8.92578 7.93945 8.52734 7.54688 8.52734 7.05469C8.52734 6.55664 8.92578 6.16992 9.44141 6.16992C9.95703 6.16992 10.3555 6.55664 10.3555 7.05469C10.3555 7.54688 9.95703 7.93945 9.44141 7.93945ZM9.44141 15.123C8.9082 15.123 8.58594 14.7891 8.58594 14.2324V9.48633C8.58594 8.92969 8.9082 8.58984 9.44141 8.58984C9.96875 8.58984 10.2969 8.92969 10.2969 9.48633V14.2324C10.2969 14.7891 9.96875 15.123 9.44141 15.123Z" fill="black"/></svg>';
export const IconUpperRoman = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12.8457 15.0703C12.3184 15.0703 11.9023 14.6484 11.9023 14.127C11.9023 13.5996 12.3184 13.1836 12.8457 13.1836C13.3672 13.1836 13.7891 13.5996 13.7891 14.127C13.7891 14.6484 13.3672 15.0703 12.8457 15.0703Z" fill="black"/><path d="M9.58789 15.1113C9.03125 15.1113 8.70312 14.7715 8.70312 14.1914V7.35352C8.70312 6.76758 9.03125 6.42773 9.58789 6.42773C10.1445 6.42773 10.4727 6.76758 10.4727 7.35352V14.1914C10.4727 14.7715 10.1445 15.1113 9.58789 15.1113Z" fill="black"/></svg>';
export const IconUpperAlpha = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15.9551 15.0703C15.4277 15.0703 15.0117 14.6484 15.0117 14.127C15.0117 13.5996 15.4277 13.1836 15.9551 13.1836C16.4766 13.1836 16.8984 13.5996 16.8984 14.127C16.8984 14.6484 16.4766 15.0703 15.9551 15.0703Z" fill="black"/><path d="M7.26562 15.1113C6.71484 15.1113 6.36914 14.7891 6.36914 14.2793C6.36914 14.1328 6.41016 13.9336 6.48633 13.7168L8.79492 7.42969C9.04102 6.74414 9.45703 6.42773 10.125 6.42773C10.8164 6.42773 11.2266 6.73242 11.4785 7.42383L13.7988 13.7168C13.8809 13.9453 13.9102 14.1035 13.9102 14.2793C13.9102 14.7656 13.541 15.1113 13.0254 15.1113C12.5273 15.1113 12.2637 14.8828 12.1055 14.332L11.6602 12.9961H8.60742L8.16211 14.3145C7.99805 14.877 7.73438 15.1113 7.26562 15.1113ZM8.99414 11.625H11.25L10.1309 8.16211H10.0898L8.99414 11.625Z" fill="black"/></svg>';
export const IconLowerAlpha = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2441 15.0703C13.7168 15.0703 13.3008 14.6484 13.3008 14.127C13.3008 13.5996 13.7168 13.1836 14.2441 13.1836C14.7656 13.1836 15.1875 13.5996 15.1875 14.127C15.1875 14.6484 14.7656 15.0703 14.2441 15.0703Z" fill="black"/><path d="M8.41406 15.0996C7.21875 15.0996 6.31055 14.3262 6.31055 13.1953C6.31055 12.0527 7.18945 11.3906 8.75977 11.2969L10.3418 11.2031V10.7871C10.3418 10.2012 9.93164 9.86133 9.28711 9.86133C8.76562 9.86133 8.44922 10.0312 8.06836 10.5234C7.88086 10.7344 7.66406 10.8398 7.38867 10.8398C6.97266 10.8398 6.67383 10.5703 6.67383 10.1836C6.67383 10.0488 6.70312 9.92578 6.76172 9.79688C7.05469 9.04688 8.0625 8.58398 9.36328 8.58398C10.9746 8.58398 12.0234 9.41602 12.0234 10.6816V14.2617C12.0234 14.8301 11.6777 15.123 11.1914 15.123C10.7285 15.123 10.4062 14.8652 10.3711 14.3613V14.0391H10.3359C9.98438 14.707 9.19922 15.0996 8.41406 15.0996ZM8.97656 13.8633C9.72656 13.8633 10.3418 13.377 10.3418 12.6973V12.2402L9.01758 12.3223C8.37891 12.3691 8.01562 12.6562 8.01562 13.1016C8.01562 13.5703 8.40234 13.8633 8.97656 13.8633Z" fill="black"/></svg>';
export const IconStartWith = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.58594 15.123C7.06445 15.123 6.70703 14.7715 6.70703 14.2383V8.18555H6.67188L5.43555 9.04688C5.27148 9.16406 5.14844 9.20508 4.9668 9.20508C4.60938 9.20508 4.3457 8.94727 4.3457 8.57227C4.3457 8.30273 4.45117 8.10352 4.72656 7.91016L6.40234 6.75C6.8125 6.46875 7.09375 6.41602 7.45703 6.41602C8.08398 6.41602 8.45898 6.79688 8.45898 7.40625V14.2383C8.45898 14.7715 8.10742 15.123 7.58594 15.123Z" fill="black"/><path d="M14 13L16.4167 10.7778M16.4167 10.7778L14 8.5M16.4167 10.7778L11.3156 10.7778" stroke="black" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>';
export const IconNumber = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10 14.2L10 7.4135C10 7.32872 9.90111 7.28241 9.83598 7.33668L7 9.7" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M13.2087 14.2H13.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/></svg>';
export const IconLowerRoman = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.2087 14.2H13.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M10 14.2L10 9.5" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M10 7.01L10 7" stroke="black" stroke-width="1.8" stroke-linecap="round"/></svg>';
export const IconUpperRoman = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.2087 14.2H13.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M10 14.2L10 7.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/></svg>';
export const IconUpperAlpha = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M16.0087 14.2H16" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M7 14.2L7.78865 12M13 14.2L12.1377 12M7.78865 12C7.78865 12 9.68362 7 10 7C10.3065 7 12.1377 12 12.1377 12M7.78865 12L12.1377 12" stroke="black" stroke-width="1.6" stroke-linecap="round"/></svg>';
export const IconLowerAlpha = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M14.2087 14.2H14.2" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M11.5 14.5C11.5 14.5 11 13.281 11 12.5M7 9.5C7 9.5 7.5 8.5 9 8.5C10.5 8.5 11 9.5 11 10.5L11 11.5M11 11.5L11 12.5M11 11.5C11 11.5 7 11 7 13C7 15.3031 11 15 11 12.5" stroke="black" stroke-width="1.6" stroke-linecap="round"/></svg>';
export const IconStartWith = '<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8 14.2L8 7.4135C8 7.32872 7.90111 7.28241 7.83598 7.33668L5 9.7" stroke="black" stroke-width="1.6" stroke-linecap="round"/><path d="M14 13L16.4167 10.7778M16.4167 10.7778L14 8.5M16.4167 10.7778H11.6562" stroke="black" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"/></svg>';

0 comments on commit f4c47db

Please sign in to comment.