mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
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.
This commit is contained in:
parent
d788657774
commit
f0e2f5bb7a
@ -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
|
||||
|
||||
@ -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`.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user