chore: add light version for line-copy icon

This commit is contained in:
Rutwik Hiwalkar 2024-04-19 13:12:05 +05:30
parent 8f6f8f5fe3
commit bb61f4e7d0
2 changed files with 6 additions and 1 deletions

View file

@ -346,6 +346,11 @@
<path fill="var(--icon-stroke)" fill-rule="evenodd" d="M6.55 2a1 1 0 0 0-1 1v6.9a1 1 0 0 0 1 1h5.25a1 1 0 0 0 1-1.001V6.126H9.675a1 1 0 0 1-1-1V2.5a.5.5 0 0 0-.5-.5H6.55Zm7.25 4.126v-.653a2 2 0 0 0-.671-1.494l-2.783-2.474A2 2 0 0 0 9.017 1H6.55a2 2 0 0 0-2 1.953.505.505 0 0 0-.05-.003H4a2 2 0 0 0-2 2v7.5a2 2 0 0 0 2 2h5.453a2.057 2.057 0 0 0 2.047-2.048V11.9h.3a2 2 0 0 0 2-2.001V6.126ZM10.5 11.9H6.55a2 2 0 0 1-2-2V3.948a.506.506 0 0 1-.05.002H4a1 1 0 0 0-1 1v7.5a1 1 0 0 0 1 1h5.453c.571 0 1.047-.476 1.047-1.047V11.9Zm1.964-7.174a1 1 0 0 1 .273.4H9.675V2.5c0-.094-.009-.185-.025-.274a1 1 0 0 1 .031.027l2.783 2.473Z" class="Union" clip-rule="evenodd"/>
</g>
</symbol>
<symbol id="es-line-copy-light" fill="none" viewBox="0 0 16 16">
<g class="es-line-copy-light">
<path fill="var(--text-light)" fill-rule="evenodd" d="M6.55 2a1 1 0 0 0-1 1v6.9a1 1 0 0 0 1 1h5.25a1 1 0 0 0 1-1.001V6.126H9.675a1 1 0 0 1-1-1V2.5a.5.5 0 0 0-.5-.5H6.55Zm7.25 4.126v-.653a2 2 0 0 0-.671-1.494l-2.783-2.474A2 2 0 0 0 9.017 1H6.55a2 2 0 0 0-2 1.953.505.505 0 0 0-.05-.003H4a2 2 0 0 0-2 2v7.5a2 2 0 0 0 2 2h5.453a2.057 2.057 0 0 0 2.047-2.048V11.9h.3a2 2 0 0 0 2-2.001V6.126ZM10.5 11.9H6.55a2 2 0 0 1-2-2V3.948a.506.506 0 0 1-.05.002H4a1 1 0 0 0-1 1v7.5a1 1 0 0 0 1 1h5.453c.571 0 1.047-.476 1.047-1.047V11.9Zm1.964-7.174a1 1 0 0 1 .273.4H9.675V2.5c0-.094-.009-.185-.025-.274a1 1 0 0 1 .031.027l2.783 2.473Z" class="Union" clip-rule="evenodd"/>
</g>
</symbol>
<symbol id="es-line-edit" fill="none" viewBox="0 0 16 16">
<g class="es-line-edit">
<path fill="var(--icon-stroke)" fill-rule="evenodd" d="M2.5 4.5a2 2 0 0 1 2-2h4a.5.5 0 0 0 0-1h-4a3 3 0 0 0-3 3v7a3 3 0 0 0 3 3h7a3 3 0 0 0 3-3v-4a.5.5 0 0 0-1 0v4a2 2 0 0 1-2 2h-7a2 2 0 0 1-2-2v-7Zm11.626-1.916a.5.5 0 0 0-.708-.707L6.686 8.61a.5.5 0 0 0 .707.707l6.733-6.733Z" class="Union" clip-rule="evenodd"/>

Before

Width:  |  Height:  |  Size: 198 KiB

After

Width:  |  Height:  |  Size: 198 KiB

View file

@ -163,7 +163,7 @@ frappe.ui.form.ControlInput = class ControlInput extends frappe.ui.form.Control
onmouseout="this.classList.remove('btn-default')"
>
<svg class="es-icon es-line icon-sm" style="" aria-hidden="true">
<use class="" href="#es-line-copy"></use>
<use class="" href="#es-line-copy-light"></use>
</svg>
</button>`
);