Skip to content

Instantly share code, notes, and snippets.

@matthew-andrews
Created January 22, 2014 18:09
Show Gist options
  • Save matthew-andrews/8564033 to your computer and use it in GitHub Desktop.
Save matthew-andrews/8564033 to your computer and use it in GitHub Desktop.
Generated by SassMeister.com.
// ----
// Sass (v3.3.0.rc.2)
// Compass (v1.0.0.alpha.17)
// ----
@mixin o-hello-world($val: blue) {
background-color: $val;
}
@function o-fizz-buzz($some-number, $another-number) {
@return $some-number + $another-number;
}
@mixin oHelloWorld($val: blue) {
@warn "oHelloWorld is deprecated, please use o-hello-world";
@include o-hello-world($val);
}
@function oFizzBuzz($some-number, $another-number) {
@warn "oFizzBuzz is deprecated, please use o-fizz-buzz";
@return o-fizz-buzz($some-number, $another-number);
}
.camel-1 {
@include oHelloWorld;
width: oFizzBuzz(1, 2)em;
}
.hyphen-1 {
@include o-hello-world;
width: o-fizz-buzz(1, 2)em;
}
.camel-2 {
@include oHelloWorld(orange);
}
.hyphen-2 {
@include o-hello-world(orange);
}
.camel-1 {
background-color: blue;
width: 3 em;
}
.hyphen-1 {
background-color: blue;
width: 3 em;
}
.camel-2 {
background-color: orange;
}
.hyphen-2 {
background-color: orange;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment