Illustrator - graphicsdesk/everything GitHub Wiki

Literally a bunch of random snippets right now.


Keep in mind that CSS animations are possible with ai2html.

http://ai2html.org

https://github.com/voxmedia/viz-app

How to set keyboard shortcut to run script in Illustrator

ai2html-css

@font-face {
    font-family:  Whitney;
    src: url('https://s3.amazonaws.com/spectator-fonts/WhitneyHTF-SemiBold.ttf') format('truetype');
    font-weight: 600;
}

@font-face {
    font-family: Whitney;
    src: url('https://s3.amazonaws.com/spectator-fonts/WhitneyHTF-Medium.ttf') format('truetype');
    font-weight: 500;
}

.ai2html {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    margin-left: auto;
    margin-right: auto;
}

.g-Annotations#Text {
    text-shadow: 1px -1px 0 #fff, 1px 1px 0 #fff, -1px 1px 0 #fff, -1px -1px 0 #fff;
}