16 Jan '14, 10am

I just discovered Sass transparentize(color) function… what a dumb!

# File '/Users/jbolton/Projects/sass-site/.sass/lib/sass/script/functions.rb', line 286 def self.signature(method_name, arg_arity, kwarg_arity) return unless @signatures[method_name] @signatures[method_name].each do |signature| return signature if signature.args.size == arg_arity + kwarg_arity next unless signature.args.size < arg_arity + kwarg_arity # We have enough args. # Now we need to figure out which args are varargs # and if the signature allows them. t_arg_arity, t_kwarg_arity = arg_arity, kwarg_arity if signature.args.size > t_arg_arity # we transfer some kwargs arity to args arity # if it does not have enough args -- assuming the names will work out. t_kwarg_arity -= (signature.args.size - t_arg_arity) t_arg_arity = signature.args.size end if ( t_arg_arity == signature.args.size || t_arg_arity > signature.args.size && signature.var_args ) && (t_kwarg_arity == 0 |...

Full article: http://sass-lang.com/documentation/Sass/Script/Functions....

Tweets

@kmuncie @scottkellum You need "btnGradient($bt...

sass-lang.com 15 Jan '14, 7pm

Whether an error in the Sass code should cause Sass to provide a detailed description within the generated CSS file. If se...

@LeaVerou sorry for not including that the firs...

sass-lang.com 13 Jan '14, 1am

# File '/Users/jbolton/Projects/sass-site/.sass/lib/sass/script/functions.rb', line 286 def self.signature(method_name, ar...

There isn’t many things that I hate in Sass, th...

sass-lang.com 07 Jan '14, 10pm

# File '/Users/jbolton/Projects/sass-site/.sass/lib/sass/script/functions.rb', line 286 def self.signature(method_name, ar...

:O baru ngeh parent-selector not allowed..

sass-lang.com 13 Jan '14, 11am

It is now possible to define a custom importer that can be used to find imports using different import semantics than the ...

In praise of the Dumb Home

In praise of the Dumb Home

treehugger.com 15 Jan '14, 6pm

It's all so wonderful, the smart home where all of our appliances talk to each other and turn on and off automatically. Bo...

@pepelsbey Вадим, ты про эти классы? @Tab10id

sass-lang.com 09 Jan '14, 12am

Whether an error in the Sass code should cause Sass to provide a detailed description within the generated CSS file. If se...

Dumb cuts and dumber riders: The green take on the new federal budget

Dumb cuts and dumber riders: The green take on ...

grist.org 16 Jan '14, 7am

In this highly polarized Congress, it counts as a major achievement merely to pass a bill that funds the government’s acti...