For me Mixin is your sass custom functions.

[code]

@mixin colored_box($in_val){

@extend .box

background-color: $in_val

border-color: border_color($color)

}

[/code]