Skip to content

Commit f0e2f5b

Browse files
authored
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.
1 parent d788657 commit f0e2f5b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/@tailwindcss-upgrade/src/codemods/template/migrate.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ describe.each([['default'], ['with-variant'], ['important'], ['prefix']])('%s',
3737
`
3838

3939
test.each([
40-
// Arbitrary property to named functional utlity
40+
// Arbitrary property to named functional utility
4141
['[color:red]', 'text-red-500'],
4242

4343
// Promote data types to more specific utility if it exists

packages/tailwindcss/src/compat/config/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ type DarkModeStrategy =
5252
// Use the `class` strategy with a custom class instead of `.dark`.
5353
| ['class', string]
5454

55-
// Use the `selector` strategy — same as `class` but uses `:where()` for more predicable behavior
55+
// Use the `selector` strategy — same as `class` but uses `:where()` for more predictable behavior
5656
| 'selector'
5757

5858
// Use the `selector` strategy with a custom selector instead of `.dark`.

0 commit comments

Comments
 (0)