Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor, updated readme, colors+style to closer match Sparrow #1

Merged
merged 3 commits into from
May 26, 2013

Conversation

rnystrom
Copy link
Contributor

  • Changed the color preferences for gradients and borders to match Sparrow. Here is the example I used.
  • Shadow opacity and sizes to match Sparrow.
  • Shadow changed to white and radius 0 when active to give a bezel appearance.
  • Refactor toggle code to be more DRY
  • Static init method so it can't be overridden
  • Added -init and -initWithCoder: for more options

Had fun with this! I almost opened Pandora's box to do some drawing for a gradient border. They need to update the API to make this easier instead of having to do EO clipping w/ 2 paths. Didn't feel like going that far this morning.

@ocrickard
Copy link
Owner

This is seriously awesome. Thanks so much Ryan!

ocrickard pushed a commit that referenced this pull request May 26, 2013
Refactor, updated readme, colors+style to closer match Sparrow
@ocrickard ocrickard merged commit 108a006 into ocrickard:master May 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants