Skip to content

Commit

Permalink
[FIX] fix and update IconFonts configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
dmh committed Apr 20, 2017
1 parent 211ed2e commit a2b977a
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Resources/Public/IconFonts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ You can import `selection.json` back to the IcoMoon app using the **Import Icons
Download preferences:
- Font name: `icons`
- Class Prefix: `icon-`
- CSS selector -> **Use attribute selectors**
- CSS selector -> Use a class: `.icon`


Also, keep in mind *RESERVED ICONS* for felayout_t3kit: `theme_t3kit/felayout_t3kit/dev/styles/main/icons/icons.less`
1 change: 1 addition & 0 deletions Resources/Public/IconFonts/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
-moz-osx-font-smoothing: grayscale;
}


.icon-alarm:before {
content: "\e900";
}
Expand Down
15 changes: 0 additions & 15 deletions felayout_t3kit/dev/styles/main/icons/icons.less
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
// =================================
// === Icons mixin =================
// =================================
.icons {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'icons' !important;
speak: none;
font-style: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
line-height: 1;

/* Better Font Rendering =========== */
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}

.icons() {
/* use !important to prevent issues with browser extensions that change fonts */
font-family: 'icons' !important;
Expand Down
4 changes: 2 additions & 2 deletions felayout_t3kit/grunt/copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ module.exports = {
src: [
'*.js',
'components.css',
'flags/{,*/}*.*',
'flags/{,*/}*.*'
]
},

Expand All @@ -59,7 +59,7 @@ module.exports = {
src: [
'*.js',
'*.css',
'flags/{,*/}*.*',
'flags/{,*/}*.*'
]
}
}

0 comments on commit a2b977a

Please sign in to comment.