This week’s (I say as if these have been consistent) font rec is a limited-time free good on Creative Market. Forbidden Isle is a great 70s style tiki number and available free for three more days so get it fast.
Download at Creative Market.
This week’s (I say as if these have been consistent) font rec is a limited-time free good on Creative Market. Forbidden Isle is a great 70s style tiki number and available free for three more days so get it fast.
Download at Creative Market.
I wanted to get this out earlier but at least it’s (barely) pre-Thanksgiving.
Mistletoe is a mutli-colored font to brighten up the holiday season. It contains hand drawn, thick serif lettering with a leaf and berry pattern inside. It’s an all caps font and better for display situations than long blocks of text.
Color fonts are supported in Illustrator CC 2018 and Photoshop CC 2017 plus Firefox and Microsoft Edge on the web. This package also includes a single color fallback variation. For more information on the technical side of color fonts, checkout colorfonts.wtf.
This is my first color font and the first font I’ve created with the Glyphs app so if you have any technical issues — even if you’re using the free personal version — please let me know so I can get them fixed. Also, I’ve been trying to figure out if additional palettes would be overkill or a welcome feature so feel free to share that or any other feedback.
Download it here.
Later this week I’ll be releasing my first attempt at a color font so it seems like a good time to look at some of the awesome examples that are already out there.
If you need a quick overview of color fonts - how they work, where you can use them, etc. - colorfonts.wtf and Adobe Typekit have helpful primers. Unfortunately, support on the web (Firefox and Microsoft Edge only) isn’t great just yet but these fonts are still worth checking out now.
Bungee by David Jonathan Ross
Not only is this font great, this page is a great example of horizontal scroll page design.
Color Tube by Ivan Filipov
Playbox by Matt Lyon
Olcino by Igor Petrovic
Memphis by Anugraha Design
Bouquet by bloomxxvi
All the reasons you might not need to use a modal!...
This page lured me in with the complaining about modals but the best part is really the awesome 8-bit design.
I’m still using the Swig templating engine for my Node/Express apps and recently decided to streamline my asset caching process. I wanted a simple way to insert hashed assets into my templates but everything that Google came up with seemed a little too complicated. So I wrote a quick custom Swig tag to read from an asset manifest (in my case public/assets.json
generated by the Webpack Manifest Plugin):
let assets = require('../../public/assets.json');
module.exports = function (swig) {
swig.setTag('asset', _parse, _compile, false, true);
};
let _parse = function (str, line, parser) {
parser.on('*', function (token) {
let match = token.match.match(/^["'](.*?)["']$/);
let assetPath = match ? match[1] : null;
if (assetPath) {
let asset = assets[assetPath] || assetPath;
this.out.push(asset);
}
});
return true;
};
let _compile = function (compiler, args) {
if (!args || !args[0]) {
throw new Error('The asset tag expects a filename as a string');
}
let assetPath = args[0].startsWith('/') ? args[0] : '/' + args[0];
return `_output +="${assetPath}";`;
};
I keep this file in an app/helpers
directory and in app.js
my views are set up with the lines:
require('./app/helpers/assets')(swig);
app.engine('html', swig.renderFile);
app.set('view engine', 'html');
After that stylesheets or JavaScript can be added to any template using the unhashed name like so:
<script src="{% asset 'main.js' %}"></script>
<link rel="stylesheet" href="{% asset 'main.css' %}" />
Haven’t done one of these in a while but I was recently looking up pirate fonts (for work) and came across Black Sam’s Gold by Redruth’s Basement Software.
It has a great backstory (based on a real pirate map from a real pirate shipwreck) and the set includes three distinct fonts. The dingbat map icons are my favorite and pictured above but an actual alphabet is also available.
Download at Font Space.
I don’t recommend a lot of cursive fonts (not sure why, I don’t have anything against them) but Konstytucja Polska cleaned by Tomasz Skowroński is pretty great.
Download at dafont.
My fonts were just added to the new archive Font Planet and they were nice enough to single out Hellmuth so I’m gonna get back to free font Friday with a couple great selections from there.
La Tequila by Leonard Posavec.
Download at Font Planet.
Hansief by Kautsar Rahadi.
Download at Font Planet.
I love this SVG optimizer and use it all the time so it seems like the least I could do is write a post about how great it is. The interface is really simple and intuitive. It’s easy to change your optimization settings. Plus, I think every work SVG I’ve run through has come out at least 50% smaller.
Scrolling to an element on a page has always been easy with jQuery. It's a bit tricky in vanilla JavaScript — but definitely doable....
On the very off chance that my office can phase out jQuery before scroll-behavior gains wider support, I’ve been looking around for a Vanilla JS smooth scroll solution. This is a pretty good example + explainer using requestAnimationFrame.