JavaScript posts

All posts on Assortment tagged with JavaScript

View all tags
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 2021 Assortment.
Created and maintained by Luke Whitehouse.