File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1212- Do not wrap ` color-mix ` in a ` @supports ` rule if one already exists ([ #19450 ] ( https://github.com/tailwindlabs/tailwindcss/pull/19450 ) )
1313- Allow whitespace around ` @source inline() ` argument ([ #19461 ] ( https://github.com/tailwindlabs/tailwindcss/pull/19461 ) )
1414- CLI: Emit comment when source maps are saved to files ([ #19447 ] ( https://github.com/tailwindlabs/tailwindcss/pull/19447 ) )
15+ - Detect utilities when containing capital letters followed by numbers ([ #19465 ] ( https://github.com/tailwindlabs/tailwindcss/pull/19465 ) )
1516
1617### Added
1718
Original file line number Diff line number Diff line change @@ -284,6 +284,7 @@ impl Machine for NamedUtilityMachine<ParsingState> {
284284 | Class :: Dot
285285 | Class :: Number
286286 | Class :: AlphaLower
287+ | Class :: AlphaUpper
287288 ) {
288289 return self . restart ( ) ;
289290 }
@@ -425,6 +426,8 @@ mod tests {
425426 // With number followed by dash or underscore
426427 ( "text-title1-strong" , vec ! [ "text-title1-strong" ] ) ,
427428 ( "text-title1_strong" , vec ! [ "text-title1_strong" ] ) ,
429+ // With capital letter followed by number
430+ ( "text-titleV1-strong" , vec ! [ "text-titleV1-strong" ] ) ,
428431 // With trailing % sign
429432 ( "from-15%" , vec ! [ "from-15%" ] ) ,
430433 // Arbitrary value with bracket notation
You can’t perform that action at this time.
0 commit comments