From d194d4c3e656313421f1cfa1954db8f58eec0fcd Mon Sep 17 00:00:00 2001 From: Abhijeet Abhi Date: Wed, 29 Apr 2026 18:58:39 +0530 Subject: [PATCH] docs: fix various typos in comments and documentation (#19878) Fixes a few minor typos across the codebase (e.g. 'overriden' -> 'overridden', 're-use' -> 'reuse'). --------- Co-authored-by: Robin Malfait --- CHANGELOG.md | 2 +- .../pre_processors/test-fixtures/haml/dst-17051.haml | 10 +++++----- .../pre_processors/test-fixtures/haml/src-17051.haml | 6 +++--- packages/@tailwindcss-postcss/src/index.ts | 2 +- packages/@tailwindcss-vite/src/index.ts | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7f943bc8..b138c05a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,7 +33,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Canonicalization: improve canonicalizations for `tracking-*` utilities by preferring non-negative utilities (e.g. `-tracking-tighter` → `tracking-wider`) ([#19827](https://github.com/tailwindlabs/tailwindcss/pull/19827)) +- Canonicalization: improve canonicalization for `tracking-*` utilities by preferring non-negative utilities (e.g. `-tracking-tighter` → `tracking-wider`) ([#19827](https://github.com/tailwindlabs/tailwindcss/pull/19827)) - Fix crash due to invalid characters in candidate (exceeding valid unicode code point range) ([#19829](https://github.com/tailwindlabs/tailwindcss/pull/19829)) - Ensure query params in imports are considered unique resources when using `@tailwindcss/webpack` ([#19723](https://github.com/tailwindlabs/tailwindcss/pull/19723)) - Canonicalization: collapse arbitrary values into shorthand utilities (e.g. `px-[1.2rem] py-[1.2rem]` → `p-[1.2rem]`) ([#19837](https://github.com/tailwindlabs/tailwindcss/pull/19837)) diff --git a/crates/oxide/src/extractor/pre_processors/test-fixtures/haml/dst-17051.haml b/crates/oxide/src/extractor/pre_processors/test-fixtures/haml/dst-17051.haml index 4a3543379..56a38cbe3 100644 --- a/crates/oxide/src/extractor/pre_processors/test-fixtures/haml/dst-17051.haml +++ b/crates/oxide/src/extractor/pre_processors/test-fixtures/haml/dst-17051.haml @@ -74,8 +74,8 @@ ^^^^^^^^^^ ^^^^^^ libraries, our components are designed to be fast, flexible, and easy to ^^^ ^^^^^^^^^^ ^^^ ^^^^^^^^ ^^ ^^ ^^^ ^^^^ ^^ - use directy in Ruby on Rails! - ^^^ ^^^^^^^ ^^ ^^ + use directly in Ruby on Rails! + ^^^ ^^^^^^^^ ^^ ^^ = doc_example(css: "mt-8 lg:mt-0 lg:basis-3/5 h-44") do ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^ ^^^^ ^^ @@ -101,7 +101,7 @@ %p.mt-2 ^^^^ - Utlize + Utilize = daisy_link("HAML", "https://haml.info/", target: "_blank") ^^^^^^ so your views are simple, concise, and easy to understand. @@ -119,8 +119,8 @@ %p.mt-2 ^^^^ :markdown - **PLUS!** You can utlize filters like _Markdown_, CoffeeScript, - ^^^ ^^^^^^ ^^^^^^^ ^^^^ + **PLUS!** You can utilize filters like _Markdown_, CoffeeScript, + ^^^ ^^^^^^^ ^^^^^^^ ^^^^ Textile, and many more! ^^^ ^^^^ ^^^^^ diff --git a/crates/oxide/src/extractor/pre_processors/test-fixtures/haml/src-17051.haml b/crates/oxide/src/extractor/pre_processors/test-fixtures/haml/src-17051.haml index 38e17b134..8f9b61941 100644 --- a/crates/oxide/src/extractor/pre_processors/test-fixtures/haml/src-17051.haml +++ b/crates/oxide/src/extractor/pre_processors/test-fixtures/haml/src-17051.haml @@ -42,7 +42,7 @@ = daisy_link "DaisyUI", "https://daisyui.com/", target: "_blank" = daisy_link "TailwindCSS", "https://tailwindcss.com/", target: "_blank" libraries, our components are designed to be fast, flexible, and easy to - use directy in Ruby on Rails! + use directly in Ruby on Rails! = doc_example(css: "mt-8 lg:mt-0 lg:basis-3/5 h-44") do .flex.flex-col.sm:flex-row.items-center.gap-4 @@ -58,7 +58,7 @@ Simple, Concise Views %p.mt-2 - Utlize + Utilize = daisy_link("HAML", "https://haml.info/", target: "_blank") so your views are simple, concise, and easy to understand. @@ -69,7 +69,7 @@ %p.mt-2 :markdown - **PLUS!** You can utlize filters like _Markdown_, CoffeeScript, + **PLUS!** You can utilize filters like _Markdown_, CoffeeScript, Textile, and many more! .mt-8.xl:mt-0 diff --git a/packages/@tailwindcss-postcss/src/index.ts b/packages/@tailwindcss-postcss/src/index.ts index 0bc70cb9c..d0706045a 100644 --- a/packages/@tailwindcss-postcss/src/index.ts +++ b/packages/@tailwindcss-postcss/src/index.ts @@ -199,7 +199,7 @@ function tailwindcss(opts: PluginOptions = {}): AcceptedPlugin { if ( rebuildStrategy === 'full' && - // We can re-use the compiler if it was created during the + // We can reuse the compiler if it was created during the // initial build. If it wasn't, we need to create a new one. !isInitialBuild ) { diff --git a/packages/@tailwindcss-vite/src/index.ts b/packages/@tailwindcss-vite/src/index.ts index bf14817f7..1b71e2d14 100644 --- a/packages/@tailwindcss-vite/src/index.ts +++ b/packages/@tailwindcss-vite/src/index.ts @@ -123,7 +123,7 @@ export default function tailwindcss(opts: PluginOptions = {}): Plugin[] { ) => Promise // There are cases where Environment API is available, - // but `createResolver` is still overriden (for example astro v5) + // but `createResolver` is still overridden (for example astro v5) // // Copied as-is from vite, because this function is not a part of public API //