-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(icon): update to use material icons outline (#2160)
* Remove local Material Icons font file. * Add import of the outlined material symbols file. Closes CCP-6042
- Loading branch information
1 parent
42d50ad
commit 927f712
Showing
3 changed files
with
1 addition
and
46 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,7 @@ | ||
$mat-font-url: 'styles/font/' !default; | ||
|
||
@mixin covalent-material-icons() { | ||
@font-face { | ||
font-family: 'Material Icons'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url($mat-font-url + 'MaterialIcons-Regular-v48.woff2') format('woff2'); | ||
} | ||
|
||
.material-icons { | ||
/* stylelint-disable-next-line font-family-no-missing-generic-family-keyword */ | ||
font-family: 'Material Icons'; | ||
font-weight: normal; | ||
font-style: normal; | ||
font-size: 24px; /* Preferred icon size */ | ||
display: inline-block; | ||
width: 1em; | ||
height: 1em; | ||
line-height: 1; | ||
text-transform: none; | ||
letter-spacing: normal; | ||
word-wrap: normal; | ||
white-space: nowrap; | ||
direction: ltr; | ||
|
||
/* Support for all WebKit browsers. */ | ||
-webkit-font-smoothing: antialiased; | ||
|
||
/* Support for Safari and Chrome. */ | ||
text-rendering: optimizeLegibility; | ||
|
||
/* Support for Firefox. */ | ||
-moz-osx-font-smoothing: grayscale; | ||
|
||
/* Support for IE. */ | ||
font-feature-settings: 'liga'; | ||
} | ||
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200&display=block'); | ||
|
||
// Ensure our size prevails over material | ||
mat-icon.material-icons { | ||
|