For the practical developer

Assortment aims to provide detailed tutorials (and more) for developers of all skill levels within the Web Development Industry. Attempting to cut out the fluff and arm you with the facts.

External Link

Introducing darkmodejs

Utility package for managing Dark Mode on the web, thanks to matchMedia and prefers-color-scheme media queries

JavaScript
Tutorial

Gatsby site search with Lunr.js

Building site search for a static website isn't easy. Here's how you can leverage Lunr.js to create search components that are accessible, fast and extensible.

AccessibilityJavaScript
Article

Assortment moves to JAMstack

With a move towards Gatsby, Emotion and Netlify, things are changing for Assortment. Here’s an overview of the platform's architecture moving forward.

JavaScriptWorkflow
Snippet

Handling long titles with truncation

Examples of how you can use CSS or JavaScript to make working with long strings of text that bit easier.

CSSJavaScript
Follow us on Twitter, Facebook or Github.
© Copyright 2019 Assortment.
Created and maintained by Luke Whitehouse.