A year ago

 • 

View on Twitter

Why color contrast is so hard

💡Have you ever wondered why the WCAG colour contrast ratio doesn't always seem to work?💡 Well it actually has to do with how we calculate colour contrast and is super interesting. Hold on to your butts, this is a 🧵

Continue reading

8 days ago

 • 

View on Twitter

Barcode error checking

Why can't you just draw a few black lines on a barcode and spoof the scanner? Well, the last digit in a barcode is actually there to do some clever error checking.

Continue reading

15 days ago

 • 

View on Twitter

QR codes

Ever wondered how a QR code works? No, me neither but it's low-key fascinating. (Warning, there is some extremely nerdy shit here.👇 )

Continue reading

22 days ago

 • 

View on Twitter

React and the DOM

Whenever I hit a problem with React its because I don't have a solid understanding of how it really works. Here's a brief explainer:

Continue reading

2 months ago

 • 

View on Twitter

SVG Viewbox

SVG viewbox is surprisingly unintuitive but if you visualise it like this it starts to make sense:

Continue reading

3 months ago

 • 

View on Twitter

How SVGs work

Niche tweet, but have you ever been messing around with an icon and wondered how SVG path data works? It's actually quite simple.

Continue reading

7 months ago

 • 

View on Twitter

How big is 1px?

How big is 1px? Short answer: Almost never the size of a device pixel. Long answer: It depends how far away it is👇

Continue reading

8 months ago

 • 

View on Twitter

Color is a lie.

Color in digital images is almost always completely made up. This will take a bit of explaining so hear me out. 👇

Continue reading

8 months ago

 • 

View on Twitter

Perceptually uniform colour spaces.

Gradients are the best way to explain perceptually uniform color spaces

Continue reading

8 months ago

 • 

View on Twitter

Spacer Components

Why do people use Spacer components? Personally, I prefer using Auto Layout wrappers and controlling spacing with gaps but there might be a use case I'm overlooking? Made some pros and cons below 👇

Continue reading