Move daily emails into the blog page

This commit is contained in:
Oliver Davies 2025-08-21 00:28:10 +01:00
parent be69398931
commit 1b8441608f
828 changed files with 9 additions and 196 deletions

View file

@ -0,0 +1,32 @@
---
title: gray or grey, and center or centre?
date: 2024-02-15
permalink: daily/2024/02/15/gray-or-grey--and-center-or-centre
snippet: |
I'm wondering whether I should still rename gray to gray when using Tailwind CSS...
tags:
- css
- tailwind-css
---
[I previously wrote][0] about how to change `gray` to `grey` in Tailwind CSS.
So, instead of writing `bg-gray-200`, I could write `bg-grey-200`.
This would be the correct spelling, as I live in the UK.
But I recently realised that I don't change `text-center` or `items-center` when 'centre' would also be the correct spelling.
So, what value is there to renaming `gray`?
It adds inconsistency as it mixes US and UK English in this project and inconsistencies between different projects.
It doesn't match the CSS colour name.
And, if I'm working with others on a project, they also need to be aware of this as it's different from the default configuration and could cause some confusion and affect productivity.
Keeping it the default value would make it easier to work on, collaborate on and maintain.
Maybe, I'll leave it as `gray` in the future.
[0]: {{site.url}}/blog/renaming-gray-grey-tailwind-css