From f0e2f5bb7a653c66417211d6df0bdf00fa7a6284 Mon Sep 17 00:00:00 2001 From: kilavvy <140459108+kilavvy@users.noreply.github.com> Date: Sat, 21 Jun 2025 21:40:11 +0200 Subject: [PATCH] Fix: Correct typo in comment (#18361) This pull request contains a couple of minor documentation fixes. - Corrected a typo from `predicable` to `predictable` in a comment for `DarkModeStrategy`. - Applied minor formatting to a comment in a test file. These changes help improve code clarity and maintainability. --- .../@tailwindcss-upgrade/src/codemods/template/migrate.test.ts | 2 +- packages/tailwindcss/src/compat/config/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@tailwindcss-upgrade/src/codemods/template/migrate.test.ts b/packages/@tailwindcss-upgrade/src/codemods/template/migrate.test.ts index 35de32a09..1d81f9c6b 100644 --- a/packages/@tailwindcss-upgrade/src/codemods/template/migrate.test.ts +++ b/packages/@tailwindcss-upgrade/src/codemods/template/migrate.test.ts @@ -37,7 +37,7 @@ describe.each([['default'], ['with-variant'], ['important'], ['prefix']])('%s', ` test.each([ - // Arbitrary property to named functional utlity + // Arbitrary property to named functional utility ['[color:red]', 'text-red-500'], // Promote data types to more specific utility if it exists diff --git a/packages/tailwindcss/src/compat/config/types.ts b/packages/tailwindcss/src/compat/config/types.ts index dbcb30de3..f70afa2cb 100644 --- a/packages/tailwindcss/src/compat/config/types.ts +++ b/packages/tailwindcss/src/compat/config/types.ts @@ -52,7 +52,7 @@ type DarkModeStrategy = // Use the `class` strategy with a custom class instead of `.dark`. | ['class', string] - // Use the `selector` strategy — same as `class` but uses `:where()` for more predicable behavior + // Use the `selector` strategy — same as `class` but uses `:where()` for more predictable behavior | 'selector' // Use the `selector` strategy with a custom selector instead of `.dark`.