Sha256: 07b3cea82d00b9b4ee1907dd391a3f87de6808744ce3b41a017b50b8e4ddc72f
Contents?: true
Size: 559 Bytes
Versions: 1
Compression:
Stored size: 559 Bytes
Contents
@import "fontcustom.scss"; $<%= name %>-font-base-class: ".<%= name %>-font" !default; #{$<%= name %>-font-base-class} { font-family: "<%= name %>"; } $<%= name %>-glyphs: glyph-map("<%= uri %>"); @mixin all-<%= name %>-glyphs { @include fontcustom-font-face($<%= name %>-glyphs); @include glyphs($<%= name %>-glyphs, <%= glyph_names.map{ |g| "'#{g}'" }.join " " %>, $<%= name %>-font-base-class) } @mixin <%= name %>-glyph($glyph-name) { @extend #{$<%= name %>-font-base-class}; &:before { content: glyph($<%= name %>-glyphs, $glyph-name); } }
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
compass-fontcustom-1.3.1 | lib/compass/fontcustom/templates/stylesheet.scss.erb |