From a1ff740589b4da803a56b2639390ae20e1978848 Mon Sep 17 00:00:00 2001 From: Pawan Kumar Date: Wed, 10 Apr 2024 09:58:38 +0530 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20new(icons):=20cleaned=20up=20icon?= =?UTF-8?q?=20files.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/assets/icons/src/scss/sui-icons.scss | 24 +++++++++---------- .../icons/stories/IconsPack.stories.tsx | 1 - 2 files changed, 12 insertions(+), 13 deletions(-) diff --git a/packages/assets/icons/src/scss/sui-icons.scss b/packages/assets/icons/src/scss/sui-icons.scss index 174f730ab..7e13b809c 100644 --- a/packages/assets/icons/src/scss/sui-icons.scss +++ b/packages/assets/icons/src/scss/sui-icons.scss @@ -1,19 +1,19 @@ -@use './variables' as *; +@use "./variables" as *; -@font-face { - font-family: '#{$font-family}'; - src: - url('#{$font-path}/#{$font-family}.ttf?#{$font-code}') format('truetype'), - url('#{$font-path}/#{$font-family}.woff?#{$font-code}') format('woff'), - url('#{$font-path}/#{$font-family}.svg?#{$font-code}##{$font-family}') format('svg'); - font-weight: normal; - font-style: normal; - font-display: block; -} +// @font-face { +// font-family: '#{$font-family}'; +// src: +// url('#{$font-path}/#{$font-family}.ttf?#{$font-code}') format('truetype'), +// url('#{$font-path}/#{$font-family}.woff?#{$font-code}') format('woff'), +// url('#{$font-path}/#{$font-family}.svg?#{$font-code}##{$font-family}') format('svg'); +// font-weight: normal; +// font-style: normal; +// font-display: block; +// } .suicons { /* use !important to prevent issues with browser extensions that change fonts */ - font-family: '#{$font-family}' !important; + // font-family: "#{$font-family}" !important; speak: never; font-style: normal; font-weight: normal; diff --git a/packages/assets/icons/stories/IconsPack.stories.tsx b/packages/assets/icons/stories/IconsPack.stories.tsx index 3bb742997..2a28a3fb3 100644 --- a/packages/assets/icons/stories/IconsPack.stories.tsx +++ b/packages/assets/icons/stories/IconsPack.stories.tsx @@ -7,7 +7,6 @@ import docs from "./IconsPack.mdx" import Icons, { IconsNamesType } from "@wpmudev/sui-icons" // Import required styles. -import "../dist/css/sui-icons.css" import "./styles/icons-pack.scss" import { capitalizeText } from "@wpmudev/sui-utils"