From 771fe6a112b19a797f94068c4832c3f43a1e95aa Mon Sep 17 00:00:00 2001 From: hypercross Date: Tue, 16 Jun 2026 16:40:05 +0800 Subject: [PATCH] style: add mask properties to icon class --- src/styles.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/styles.css b/src/styles.css index 697b769..3eb6ad4 100644 --- a/src/styles.css +++ b/src/styles.css @@ -13,6 +13,10 @@ icon, pull, pull-2{ background-position: center; background-repeat: no-repeat; position: relative; + mask-image: var(--icon-src); + mask-size: contain; + mask-position: center; + mask-repeat: no-repeat; } icon.big{ width: 2em;