This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add percentage of white to a color | |
@function tint($color, $percent){ | |
@return mix(white, $color, $percent); | |
} | |
// Add percentage of black to a color | |
@function shade($color, $percent){ | |
@return mix(black, $color, $percent); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="//use.typekit.net/XXXXXXX.js"></script> | |
<!-- <script>try{Typekit.load();}catch(e){}</script> --> | |
<script>try{Typekit.load({ classes: false, events: false }); }catch(e){}</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--create a semi-random number using the last second of the send date--> | |
{% capture time_seed %} | |
{{ 'now' | date: "%s" }} | |
{% endcapture %} | |
<!--manupulate using lots of maths--> | |
{% assign random = time_seed | times: 1103515245 | plus: 12345 | divided_by: 65536 | modulo: 32768 | modulo: 10 %} | |
<!--return number--> | |
{{ random }} |