Making the Patterns Day website

I had a lot of fun making the website for Patterns Day.

If you’re interested in the tech stack, here’s what I used:

  1. HTML
  2. CSS

Actually, technically it’s all HTML because the styles are inside a style element rather than a separate style sheet, but you know what I mean. Also, there is technically some JavaScript but all it does is register a service worker that takes care of caching and going offline.

I didn’t use any build tools. There was no pipeline. There is no node_modules folder filling up my hard drive. Nothing was automated. The website was hand-crafted the long hard stupid way.

I started with the content. I wrote out the words and marked them up with the most appropriate HTML elements.

A screenshot of an unstyled web page for Patterns Day.

Time to layer on the presentation.

For the design, I turned to Michelle for help. I gave her a brief, describing the vibe of the conference, and asked her to come up with an appropriate visual language.

Crucially, I asked her not to design a website. Instead I asked her to think about other places where this design language might be used: a poster, social media, anything but a website.

Partly I was doing this for my own benefit. If you give me a pixel-perfect design for a web page and tell me to code it up, either I won’t do it or I won’t enjoy it. I just don’t get any motivation out of that kind of direct one-to-one translation.

But give me guardrails, give me constraints, give me boundary conditions, and off I go!

Michelle was very gracious in dealing with such a finicky client as myself (“Can you try this other direction?”, “Hmm… I think I preferred the first one after all!”) She delivered a colour palette, a type scale, typeface choices, and some wonderful tiling patterns …it is Patterns Day after all!

With just a few extra lines of CSS, the basic typography was in place.

A screenshot of the web page for Patterns Day with web fonts applied.

I started layering on the colours. Even though this was a one-page site, I still made liberal use of custom properties in the CSS. It just feels good to be able to update one value and see the results, well …cascade.

A screenshot of the web page for Patterns Day with colours added.

I had a lot of fun with the tiling background images. SVG was the perfect format for these. And because the tiles were so small in file size, I just inlined them straight into the CSS.

By this point, I felt like I was truly designing in the browser. Adjusting spacing, playing around with layout, and all that squishy stuff. Some of the best results came from happy accidents—the way that certain elements behaved at certain screen sizes would lead me into little experiments that yielded interesting results.

I’m not sure it’s possible to engineer that kind of serendipity in Figma. Figma was the perfect tool for exploring ideas around the visual vocabulary, and for handing over design decisions around colour, typography, and texture. But when it comes to how the content is going to behave on the World Wide Web, nothing beats a browser for fidelity.

A screenshot of the web page for Patterns Day with some changes applied.

By this point I was really sweating the details, like getting the logo just right and adjusting the type scale for different screen sizes. Needless to say, Utopia was a godsend for that.

I was also checking back in with Michelle to get her take on design decisions I was making.

I could’ve kept tinkering but the diminishing returns were a sign that it was time to put this out into the world.

A screenshot of the web page for Patterns Day with the logo in place.

It felt really good to work on a web page like this. It felt like I was getting my hands into the soil of the web. I don’t think it’s an accident that the result turned out to be very performant.

Getting hands-on like this stops me from getting rusty. And honestly, working with CSS these days is a joy. There’s such power to be had from using var() in combination with functions like calc() and clamp(). Layout is a breeze with flexbox and grid. Browser differences are practically non-existent. We’ve never had it so good.

Here’s something I noticed about my relationship to CSS; my brain has finally made the switch to logical properties. Now if I’m looking at some CSS and I see left, right, top, or bottom, it looks like a bug to me. Those directional properties feel loaded with assumptions whereas logical properties feel much more like working with the grain of the web.

Responses

Charlie Park

@adactio And yet *another* benefit of not using a build step that obscures all of the CSS class names and SVG files … one can say ”now did he *intend* to use the carpet from The Shining for the venue background? probably? let’s view source! and … there we go!” (Please no talks on *The Sliding Elevator Doors of CSS*)

5 Shares

# Shared by Chriztian Steinmeier on Tuesday, October 10th, 2023 at 1:42pm

# Shared by shaunrashid on Tuesday, October 10th, 2023 at 2:36pm

# Shared by James Bell on Tuesday, October 10th, 2023 at 3:10pm

# Shared by Fynn Becker on Tuesday, October 10th, 2023 at 5:07pm

# Shared by Rupert 'fildon' McKay on Tuesday, October 10th, 2023 at 7:24pm

7 Likes

# Liked by Amster on Tuesday, October 10th, 2023 at 1:42pm

# Liked by shaunrashid on Tuesday, October 10th, 2023 at 2:36pm

# Liked by Fynn Becker on Tuesday, October 10th, 2023 at 5:07pm

# Liked by Rupert 'fildon' McKay on Tuesday, October 10th, 2023 at 7:24pm

# Liked by Adam Perfect on Tuesday, October 10th, 2023 at 7:54pm

# Liked by Krijn Hoetmer on Tuesday, October 10th, 2023 at 10:46pm

# Liked by Joface on Wednesday, October 11th, 2023 at 6:59pm

Related posts

The schedule for Patterns Day

Just look at that line-up!

Announcing Patterns Day: June 30th

A one-day event in Brighton dedicated to design systems, pattern libraries, and style guides.

Progressing the web

Don’t let the name distract you—progressive web apps are for everyone.

Web App install API

It’s kind of ridiculous that this functionality doesn’t exist yet.

Browser support

Here’s Clearleft’s approach to browser support. You can use it too (it’s CC-licensed).

Related links

Patterns Day 2017: Paul Lloyd on Vimeo

Paul pulls no punches in this rousing talk from Patterns Day.

The transcript is on his site.

Tagged with

Patterns Day 2017: Alice Bartlett on Vimeo

At Patterns Day, Alice shared what she has learned from shepherding the Origami project within the Financial Times.

Tagged with

Patterns Day 2017: Rachel Andrew on Vimeo

Rachel’s fantastic talk from Patterns Day. There’s a lot of love for Fractal specifically, but there are also some great points about keeping a pattern library in sync with a live site, and treating individual components as reduced test-cases.

Tagged with

Patterns Day 2017: Sareh Heidari on Vimeo

Time for another video from Patterns Day. Here’s Sareh Heidari walking us through Grandstand, the CSS framework at the BBC.

Tagged with

Patterns Day 2017: Laura Elizabeth on Vimeo

The videos are coming! The videos are coming!

Here’s the first one: Laura Elizabeth opening the show at Patterns Day.

Tagged with

Previously on this day

3 years ago I wrote Changing Situation

We’re all making risk assessments.

9 years ago I wrote AMPed up

First impressions of Google’s RSS killer …no wait, they already killed RSS.

13 years ago I wrote Building

Going to Belfast.

17 years ago I wrote Irritation

Read it in the voice of the comic book guy from The Simpsons.

17 years ago I wrote Community service

Reporting on some vibrant communities in Spain, in Brighton and on the Web.

19 years ago I wrote OddzBallz

Internet entrepreneurship isn’t dead. After you’ve registered for d.Construct, I suggest you use your remaining PayPal balance over at OddzBallz.

19 years ago I wrote d.Construct

If you’re anywhere within travelling distance of the south coast of England, be sure to keep your diary free for November 11th. On that date, Brighton will play host to Europe’s first Web 2.0 conference: d.Construct 2005.

21 years ago I wrote Speechless

Words fail me:

21 years ago I wrote Don't fear the Terminal

This is going to be yet another entry of pure OS X geekery so if that’s not your cup of nerd tea then look away now.

22 years ago I wrote Googlefight

Ha!

23 years ago I wrote Searching for the Biological Roots of Consciousness

Apple have posted up an article about a fellow named Christof Koch.

23 years ago I wrote New gallery

Two days ago we had very, very windy weather here in Brighton. It whipped the sea up into an impressive cauldron of loud, crashing waves.

23 years ago I wrote Bert and Osama.

You know those posters of Osama Bin Laden that protesters in Bangladesh are waving? Well, the collage of pictures of Bin Laden are culled from many sources including the internet.

23 years ago I wrote American oriole wings its way across Atlantic to Baltimore, Ireland

I remember reading through the Encycolepdia Brittanica as a kid in Ireland and reading that the world’s biggest aquarium was in Baltimore.