Notes

Tiny scribbles, snippets and other things of note.

Filter by category

All

Managing colors with extensions in Swift

Trying to create simple utility color variables in Swift led me on a journey of boilerplate and gotchas. But in the end, success!

Swift

We're all internet hoarders

Everything I now own fits in just two large pieces of luggage. But on the internet, this is so much more difficult to do.

Misc

Media query templates in styled components

A very neat approach to applying media queries across all your styled components in a project.

CSS
JavaScript

Responsive SVG backgrounds

How to change the SVG viewBox attribute given different screen sizes.

JavaScript