Richard Hallows

Lead UX Engineer

Highlighted projects

Screenshot of the Stylelint home page

Built the most-used CSS linter

I co-created and have led its development for over a decade.

Developers and AI agents use it to write error-free, modern CSS and apply design tokens consistently.

It is downloaded over 50 million times a month and used worldwide by companies like Google and Microsoft.

Screenshot of the gift selection page of the Freddie's Flowers website

Delivered a design system for the UK's best flower service

I created the design system for , voted the UK's best flower subscription service by the Telegraph.

Built from the ground up with modern CSS, it is fast, accessible and maintainable.

Screenshot of the home page of The Standard website

Improved the experience of London's most-read newspaper

I consulted on design system. It uses fluid type to make reading comfortable for 1.4 million daily users.

I brought the design and engineering teams together, cutting costs and speeding up delivery.

Screenshot of the home page of Thrift+

Doubled the conversion rate of Thrift+'s e-commerce platform

I co-created the design system for , a well-established preloved clothing platform.

Researching and using e-commerce best practices, the redesign doubled the sales conversion rate.

Screenshot of the getting started page of the Barnardo's Design System

Built a design system for the UK's largest children's charity

I built Barnardo's first design system. It contained principles and guidance for creating accessible digital products.

I researched and included established UX patterns and components for making large content websites easy to use.

About me

I'm an expert in CSS and I design systems for fast, easy-to-use, accessible web apps and websites. I specialise in bringing design and engineering teams together to help them deliver better products.

I care deeply about user experience, and so I make tools that ensure the work of AI agents is consistent and of the highest quality.

I have an eye for detail from working at creative agencies on award-winning projects, including Google's Inside Abbey Road (Webby) and Kaiser Chiefs' The Future Is Medieval (D&AD Yellow Pencil).

Let's talk

Need help with your product or design system? I'm available for consultancy work and lead UX engineering roles.

hire@richardhallows.com

Digital garden

Drawings by OPENBYHAND

The following is my digital garden. It outlines how I use the browser to write less code or nothing at all.

I mostly design in the browser, starting with the toughest conditions:

Then I responsibly enhance the design to minimise the impact on:

I accept the lack of control I have on the web.

I put my work in front of users early and often by:

I practise inclusive design to meet permanent, temporary or situational needs, and I use established patterns that are familiar to users.

I use AI agents to help me test and refine a design, and I make the decisions.

When working in design tools like Elyx and Figma, I use features that match the web:

Writing content

To ensure everyone understands me, I:

I aim for a reading age of about 9. For technical and professional content, I aim for 12. I check the reading age of content using Hemingway.

Writing code

I respect that:

I write modern CSS. The AI agents I work with follow the rules I've outlined at:

I also use:

Browser's default styles

I layer accessibility improvements onto the browser's default styles.

@layer defaults {
  /**
   * Improve the browser's default focus visible styles
   */
  :focus-visible {
    box-shadow: 0 0 0 1px white;
    outline: 2px solid black;
    outline-offset: 2px;
  }
}

Cascade and inheritance

I only override styles between cascade layers to minimise side effects. I use scoping, the inheritance of properties and custom properties to encapsulate styling and provide flexibility.

@layer components {
  /**
   * The child component dictates a styling API by
   * declaring what's inherited.
   *
   * By setting padding-inline, we signal it's unchangeable.
   */
  @scope (child-component) {
    :scope {
      background-color: var(--child-background-color, white);
      padding-inline: 1rem;
    }
  }

  /**
   * The parent component can change the child component's
   * background and text color via inheritance as:
   *
   * - background-color is defined as a custom property
   * - color inherits by default when not defined
   */
  @scope (parent-component) {
    :scope {
      --child-background-color: black;
      color: white;
    }
  }
}

Parents lay out children

I create reusable components that look inwards so that their parent can lay them out.

I embrace the browser's default of Flow Layout. Then I responsibly enhance it with layout modules like Grid, Flex and Multicol. I use intrinsic sizing where appropriate.

/**
 * The parent component controls the size, position
 * and spacing between child components.
 */
parent-component {
  display: block grid;
  gap: 1rem;
  grid:
    "img . content" auto
    "nav nav nav" 2rem
    / max-content repeat(2, 1fr);
}

Ensuring consistency and quality

I use tools to ensure the code and designs are consistent, whether I or an AI agent made them.

I use Stylelint to enforce specific units:

{
  "declaration-property-unit-allowed-list": {
    "/^font/": ["em", "vi", "cqi"],
    "letter-spacing": ["em", "rem"],
    "line-height": ["ex"]
  }
}

And design tokens for colours, lengths and font sizes:

{
  "declaration-property-custom-property-allowed-list": {
    "font-size": ["/^--font-size-/"],
    "/^(margin|padding|gap)/": ["/^--length-/"]
  },
  "value-type-custom-property-required-list": [
    ["color", "length"],
    { "ignoreValues": ["0", "currentcolor", "transparent"] }
  ]
}

And numeric scales with my stylelint-scales plugin:

{
  "scales/font-weights": [400, 500, 650, 700]
}

I use GitHub Flow for workflow and version control, and GitHub Actions for continuous integration and delivery.

I adhere to Page Experience signals, including the Core Web Vitals.

I test with PageSpeed Insights, where this site scores 100 in all four categories, and:

Like how I work? Let's talk