daylerees / colour-schemes

Colour schemes for a variety of editors created by Dayle Rees.
http://daylerees.github.io
Other
9.32k stars 1.62k forks source link

adding Yuba theme #87

Closed yuriybabenko closed 10 years ago

yuriybabenko commented 10 years ago

Adding the 'Yuba' theme which I've been using for some years. This theme mostly uses colours from the 'Green Chaud' theme for Aptana / Eclipse (by Boris Popoff).

daylerees commented 10 years ago

Could you provide a screenshot here please bud? :)

yuriybabenko commented 10 years ago

Sure. Any particular code snippet you want, or will anything do?

daylerees commented 10 years ago

Anything is fine, thanks man :)

Yuriy Babenko wrote:

Sure. Any particular code snippet you want, or will anything do?

— Reply to this email directly or view it on GitHub https://github.com/daylerees/colour-schemes/pull/87#issuecomment-32972506.

yuriybabenko commented 10 years ago

yuba sublime

I used the same code found in (most) of your existing screenshots.

And here it is, to save the next person some typing:

<?php

/**
 * Get the value at a given offset.
 * 
 * @param   string $key
 * @return  mixed
 */
public function offsetGet($key)
{
  if ( ! array_key_exists($key, $this->bindings))
  {
    throw new \InvalidArgumentException("Type {$key} is not bound.");
  }

  return $this->make($key);
}
daylerees commented 10 years ago

Haha :) It's a snippet from the Laravel container class.

Thanks!

yuriybabenko commented 10 years ago

Cheers!