/ Code

Apple WWDC'16 Code Style Stencil for OmniGraffle

I like to write code using dark themes with vivid color accents. Recently I got inspired by Apple WWDC'16 conference web page style. Many have used similar code styles for motivating quotes for programmers (for example The Practical Dev on Twitter).

I decided to build a new stencil after a great success of my latest OmniGraffle stencil Colored Hierarchical Queueing Petri Nets @ Graffletopia (irony alert, 1 fav, 9 downloads so far). The Apple WWDC'16 Code Style Stencil allows you to create beautiful code snippets! I show some examples in the attached pictures. I uploaded it to Graffletopia, so I will link it once it is accepted. In the meantime you can download it here:

Download Apple WWDC'16 Code Style Stencil @ErrorBlog
Download Apple WWDC'16 Code Style Stencil @Graffletopia

The inspiration was the original Apple css stylesheet. I added some gray for comments and parentheses. The font is Myriad Set Pro.

.color-orange { color: #d28e5d;}
.color-red { color: #dc3c3c;}
.color-fuchsia { color: #b73999;}
.color-purple { color: #8485ce;}
.color-forest-green { color: #64878f;}
.color-mint-green { color: #95c76f;}
.color-green { color: #52bd58;}
.color-blue-green { color: #00aba5;}
.color-blue { color: #4670d8;}
.color-comment { color: #9ca2af;}
.bg-dark { background-color: #20222B; }

Apple WWDC16 Code Style: Perl example

Piotr

Piotr

IT specialist with 7 years of experience in research at four European universities and in private sector. I believe that good quality is always worth to invest few € and some free time.

Read More