@@ -589,8 +589,20 @@ export const TAILWIND_CONFIG: Record<string, FamilyConfig> = {
589589 keywords : [ [ 'normal' , 'normal-nums' ] ] ,
590590 props : { v : { prop : 'font-variant-numeric' , defaultValue : 'normal' } }
591591 } ,
592- textColor : { prefix : 'text' , mode : 'direct' , valueKind : 'color' , props : { v : 'color' } } ,
593- textAlign : { prefix : 'text' , mode : 'direct' , valueKind : 'keyword' , props : { v : 'text-align' } } ,
592+ textColor : {
593+ prefix : 'text' ,
594+ mode : 'direct' ,
595+ valueKind : 'color' ,
596+ keywords : [ 'transparent' , [ 'currentcolor' , 'current' ] , [ 'currentColor' , 'current' ] , 'inherit' ] ,
597+ props : { v : 'color' }
598+ } ,
599+ textAlign : {
600+ prefix : 'text' ,
601+ mode : 'direct' ,
602+ valueKind : 'keyword' ,
603+ keywords : [ 'left' , 'center' , 'right' , 'justify' , 'start' , 'end' , 'match-parent' ] ,
604+ props : { v : 'text-align' }
605+ } ,
594606 lineHeight : {
595607 prefix : 'leading' ,
596608 mode : 'direct' ,
@@ -647,6 +659,7 @@ export const TAILWIND_CONFIG: Record<string, FamilyConfig> = {
647659 prefix : 'decoration' ,
648660 mode : 'direct' ,
649661 valueKind : 'color' ,
662+ keywords : [ 'transparent' , [ 'currentcolor' , 'current' ] , [ 'currentColor' , 'current' ] , 'inherit' ] ,
650663 props : { v : 'text-decoration-color' }
651664 } ,
652665 textDecorationStyle : {
@@ -677,6 +690,7 @@ export const TAILWIND_CONFIG: Record<string, FamilyConfig> = {
677690 prefix : 'bg' ,
678691 mode : 'direct' ,
679692 valueKind : 'color' ,
693+ keywords : [ 'transparent' , [ 'currentcolor' , 'current' ] , [ 'currentColor' , 'current' ] , 'inherit' ] ,
680694 props : { v : 'background-color' }
681695 } ,
682696 backgroundImage : {
@@ -719,8 +733,20 @@ export const TAILWIND_CONFIG: Record<string, FamilyConfig> = {
719733 keywords : [ 'no-repeat' , 'repeat' , 'repeat-x' , 'repeat-y' ] ,
720734 props : { v : 'background-repeat' }
721735 } ,
722- fill : { prefix : 'fill-' , mode : 'direct' , valueKind : 'color' , props : { v : 'fill' } } ,
723- stroke : { prefix : 'stroke-' , mode : 'direct' , valueKind : 'color' , props : { v : 'stroke' } } ,
736+ fill : {
737+ prefix : 'fill-' ,
738+ mode : 'direct' ,
739+ valueKind : 'color' ,
740+ keywords : [ 'transparent' , [ 'currentcolor' , 'current' ] , [ 'currentColor' , 'current' ] , 'inherit' ] ,
741+ props : { v : 'fill' }
742+ } ,
743+ stroke : {
744+ prefix : 'stroke-' ,
745+ mode : 'direct' ,
746+ valueKind : 'color' ,
747+ keywords : [ 'transparent' , [ 'currentcolor' , 'current' ] , [ 'currentColor' , 'current' ] , 'inherit' ] ,
748+ props : { v : 'stroke' }
749+ } ,
724750 strokeWidth : {
725751 prefix : 'stroke-' ,
726752 mode : 'direct' ,
@@ -742,6 +768,7 @@ export const TAILWIND_CONFIG: Record<string, FamilyConfig> = {
742768 prefix : 'border-' ,
743769 mode : 'side' ,
744770 valueKind : 'color' ,
771+ keywords : [ 'transparent' , [ 'currentcolor' , 'current' ] , [ 'currentColor' , 'current' ] , 'inherit' ] ,
745772 props : {
746773 t : 'border-top-color' ,
747774 r : 'border-right-color' ,
0 commit comments