Skip to content

Commit 51a9344

Browse files
committed
Add list-disc and list-decimal by default
1 parent 318ae0e commit 51a9344

File tree

3 files changed

+82
-0
lines changed

3 files changed

+82
-0
lines changed

__tests__/fixtures/tailwind-output-important.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,14 @@ samp {
573573
list-style-type: none !important;
574574
}
575575

576+
.list-disc {
577+
list-style-type: disc !important;
578+
}
579+
580+
.list-decimal {
581+
list-style-type: decimal !important;
582+
}
583+
576584
.appearance-none {
577585
appearance: none !important;
578586
}
@@ -6605,6 +6613,14 @@ samp {
66056613
list-style-type: none !important;
66066614
}
66076615

6616+
.sm\:list-disc {
6617+
list-style-type: disc !important;
6618+
}
6619+
6620+
.sm\:list-decimal {
6621+
list-style-type: decimal !important;
6622+
}
6623+
66086624
.sm\:appearance-none {
66096625
appearance: none !important;
66106626
}
@@ -12614,6 +12630,14 @@ samp {
1261412630
list-style-type: none !important;
1261512631
}
1261612632

12633+
.md\:list-disc {
12634+
list-style-type: disc !important;
12635+
}
12636+
12637+
.md\:list-decimal {
12638+
list-style-type: decimal !important;
12639+
}
12640+
1261712641
.md\:appearance-none {
1261812642
appearance: none !important;
1261912643
}
@@ -18623,6 +18647,14 @@ samp {
1862318647
list-style-type: none !important;
1862418648
}
1862518649

18650+
.lg\:list-disc {
18651+
list-style-type: disc !important;
18652+
}
18653+
18654+
.lg\:list-decimal {
18655+
list-style-type: decimal !important;
18656+
}
18657+
1862618658
.lg\:appearance-none {
1862718659
appearance: none !important;
1862818660
}
@@ -24632,6 +24664,14 @@ samp {
2463224664
list-style-type: none !important;
2463324665
}
2463424666

24667+
.xl\:list-disc {
24668+
list-style-type: disc !important;
24669+
}
24670+
24671+
.xl\:list-decimal {
24672+
list-style-type: decimal !important;
24673+
}
24674+
2463524675
.xl\:appearance-none {
2463624676
appearance: none !important;
2463724677
}

__tests__/fixtures/tailwind-output.css

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,14 @@ samp {
573573
list-style-type: none;
574574
}
575575

576+
.list-disc {
577+
list-style-type: disc;
578+
}
579+
580+
.list-decimal {
581+
list-style-type: decimal;
582+
}
583+
576584
.appearance-none {
577585
appearance: none;
578586
}
@@ -6605,6 +6613,14 @@ samp {
66056613
list-style-type: none;
66066614
}
66076615

6616+
.sm\:list-disc {
6617+
list-style-type: disc;
6618+
}
6619+
6620+
.sm\:list-decimal {
6621+
list-style-type: decimal;
6622+
}
6623+
66086624
.sm\:appearance-none {
66096625
appearance: none;
66106626
}
@@ -12614,6 +12630,14 @@ samp {
1261412630
list-style-type: none;
1261512631
}
1261612632

12633+
.md\:list-disc {
12634+
list-style-type: disc;
12635+
}
12636+
12637+
.md\:list-decimal {
12638+
list-style-type: decimal;
12639+
}
12640+
1261712641
.md\:appearance-none {
1261812642
appearance: none;
1261912643
}
@@ -18623,6 +18647,14 @@ samp {
1862318647
list-style-type: none;
1862418648
}
1862518649

18650+
.lg\:list-disc {
18651+
list-style-type: disc;
18652+
}
18653+
18654+
.lg\:list-decimal {
18655+
list-style-type: decimal;
18656+
}
18657+
1862618658
.lg\:appearance-none {
1862718659
appearance: none;
1862818660
}
@@ -24632,6 +24664,14 @@ samp {
2463224664
list-style-type: none;
2463324665
}
2463424666

24667+
.xl\:list-disc {
24668+
list-style-type: disc;
24669+
}
24670+
24671+
.xl\:list-decimal {
24672+
list-style-type: decimal;
24673+
}
24674+
2463524675
.xl\:appearance-none {
2463624676
appearance: none;
2463724677
}

defaultTheme.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,8 @@ module.exports = function() {
331331
},
332332
listStyleType: {
333333
none: 'none',
334+
disc: 'disc',
335+
decimal: 'decimal',
334336
},
335337
}
336338
}

0 commit comments

Comments
 (0)