File: mixins.go

package info (click to toggle)
golang-github-wellington-go-libsass 0.9.2%2Bgit20181130.4ef5b9d-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,128 kB
  • sloc: cpp: 28,607; ansic: 839; makefile: 44
file content (10 lines) | stat: -rw-r--r-- 246 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
package libsass

// Mixins registers the default list of supported mixins
func init() {
	RegisterHeader(`@mixin sprite-dimensions($map, $name) {
  $file: sprite-file($map, $name);
  height: image-height($file);
  width: image-width($file);
}`)
}