Skip to content

Commit

Permalink
✨ new(icons): cleaned up icon files.
Browse files Browse the repository at this point in the history
  • Loading branch information
creador-dev committed Apr 10, 2024
1 parent 395b630 commit a1ff740
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
24 changes: 12 additions & 12 deletions packages/assets/icons/src/scss/sui-icons.scss
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
1 change: 0 additions & 1 deletion packages/assets/icons/stories/IconsPack.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit a1ff740

Please sign in to comment.