From 41ac6ec9eb9394d33ffc5d287b13103137d9d427 Mon Sep 17 00:00:00 2001 From: timotheegoguely Date: Tue, 10 Sep 2024 15:40:05 +0200 Subject: [PATCH] Update icons.css: add --icon-favorite --- src/assets/css/src/3.utilities.icons.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/assets/css/src/3.utilities.icons.css b/src/assets/css/src/3.utilities.icons.css index 1fe1f9b..b07ce3b 100644 --- a/src/assets/css/src/3.utilities.icons.css +++ b/src/assets/css/src/3.utilities.icons.css @@ -14,6 +14,7 @@ --icon-user: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.6625 16.875C5.2203 15.9594 6.00426 15.2027 6.93901 14.6776C7.87376 14.1525 8.92787 13.8767 10 13.8767C11.0721 13.8767 12.1262 14.1525 13.061 14.6776C13.9957 15.2027 14.7797 15.9594 15.3375 16.875M13.125 8.875C13.125 10.6009 11.7259 12 10 12C8.27411 12 6.875 10.6009 6.875 8.875C6.875 7.14911 8.27411 5.75 10 5.75C11.7259 5.75 13.125 7.14911 13.125 8.875ZM18.125 10.75C18.125 15.2373 14.4873 18.875 10 18.875C5.51269 18.875 1.875 15.2373 1.875 10.75C1.875 6.26269 5.51269 2.625 10 2.625C14.4873 2.625 18.125 6.26269 18.125 10.75Z' stroke='currentColor' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"); --icon-logout: url("data:image/svg+xml,%3Csvg width='20' height='21' viewBox='0 0 20 21' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13.125 15.125V17.625C13.125 17.9565 12.9933 18.2745 12.7589 18.5089C12.5245 18.7433 12.2065 18.875 11.875 18.875H3.125C2.79348 18.875 2.47554 18.7433 2.24112 18.5089C2.0067 18.2745 1.875 17.9565 1.875 17.625V3.875C1.875 3.54348 2.0067 3.22554 2.24112 2.99112C2.47554 2.7567 2.79348 2.625 3.125 2.625H11.875C12.2065 2.625 12.5245 2.7567 12.7589 2.99112C12.9933 3.22554 13.125 3.54348 13.125 3.875V6.375M9.375 10.75H18.125M18.125 10.75L15.625 8.25M18.125 10.75L15.625 13.25' stroke='currentColor' stroke-width='1.25' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"); --icon-summary: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.875 6.0625L9.5625 13.75C9.61861 13.8098 9.68638 13.8574 9.76163 13.89C9.83688 13.9226 9.918 13.9394 10 13.9394C10.082 13.9394 10.1631 13.9226 10.2384 13.89C10.3136 13.8574 10.3814 13.8098 10.4375 13.75L18.125 6.0625' stroke='%235E6060' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A"); + --icon-favorite: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 16.8126L3.1 10.5626C-0.649996 6.81262 4.8625 -0.387383 10 5.43762C15.1375 -0.387383 20.625 6.83762 16.9 10.5626L10 16.8126Z' fill='currentColor'/%3E%3C/svg%3E%0A"); } [data-icon] { @@ -50,3 +51,6 @@ [data-icon="logout"] { --icon: var(--icon-logout) } +[data-icon="favorite"] { + --icon: var(--icon-favorite) +}