@@ -24,7 +24,7 @@ View the full documentation at https://tailwindcss.com.
24
24
|
25
25
*/
26
26
27
- // var defaultConfig = require('tailwindcss').defaultConfig ()
27
+ // var defaultConfig = require('tailwindcss/defaultConfig') ()
28
28
29
29
30
30
/*
@@ -157,10 +157,10 @@ module.exports = {
157
157
158
158
/*
159
159
|-----------------------------------------------------------------------------
160
- | Screens https://tailwindcss.com/ /docs/responsive-design
160
+ | Screens https://tailwindcss.com/docs/responsive-design
161
161
|-----------------------------------------------------------------------------
162
162
|
163
- | Screens in Tailwind are essentially CSS media queries. They define the
163
+ | Screens in Tailwind are translated to CSS media queries. They define the
164
164
| responsive breakpoints for your project. By default Tailwind takes a
165
165
| "mobile first" approach, where each screen size represents a minimum
166
166
| viewport width. Feel free to have as few or as many screens as you
@@ -170,6 +170,8 @@ module.exports = {
170
170
| useful in certain situations. Be sure to see the full responsive
171
171
| documentation for a complete list of options.
172
172
|
173
+ | Class name: .{screen}:{utility}
174
+ |
173
175
*/
174
176
175
177
screens : {
@@ -210,6 +212,7 @@ module.exports = {
210
212
'Fira Sans' ,
211
213
'Droid Sans' ,
212
214
'Helvetica Neue' ,
215
+ 'sans-serif' ,
213
216
] ,
214
217
'serif' : [
215
218
'Constantia' ,
@@ -263,8 +266,6 @@ module.exports = {
263
266
'3xl' : '1.875rem' , // 30px
264
267
'4xl' : '2.25rem' , // 36px
265
268
'5xl' : '3rem' , // 48px
266
- '6xl' : '4rem' , // 64px
267
- '7xl' : '5.25rem' , // 84px
268
269
} ,
269
270
270
271
@@ -373,7 +374,7 @@ module.exports = {
373
374
|
374
375
| Here is where you define your border widths. Take note that border
375
376
| widths require a special "default" value set as well. This is the
376
- | width that will be used when you do not specify a border color .
377
+ | width that will be used when you do not specify a border width .
377
378
|
378
379
| Class name: .border{-side?}{-width?}
379
380
|
@@ -413,20 +414,23 @@ module.exports = {
413
414
| Border radius https://tailwindcss.com/docs/border-radius
414
415
|-----------------------------------------------------------------------------
415
416
|
416
- | Here is where you define your border radius values. Take note that
417
- | a default radius is required. This is the value used for the
418
- | non-suffixed version of this utility (.rounded).
417
+ | Here is where you define your border radius values. If a `default` radius
418
+ | is provided, it will be made available as the non-suffixed `.rounded`
419
+ | utility.
420
+ |
421
+ | If your scale includes a `0` value to reset already rounded corners, it's
422
+ | a good idea to put it first so other values are able to override it.
419
423
|
420
- | Class name: .rounded-{radius ?}
424
+ | Class name: .rounded{-side?}{-size ?}
421
425
|
422
426
*/
423
427
424
428
borderRadius : {
425
- default : '.25rem ' ,
429
+ 'none' : '0 ' ,
426
430
'sm' : '.125rem' ,
431
+ default : '.25rem' ,
427
432
'lg' : '.5rem' ,
428
433
'full' : '9999px' ,
429
- 'none' : '0' ,
430
434
} ,
431
435
432
436
@@ -619,7 +623,7 @@ module.exports = {
619
623
| common use-cases like "1px". You can, of course, modify these
620
624
| values as needed.
621
625
|
622
- | Class name: .p{- side?}-{size}
626
+ | Class name: .p{side?}-{size}
623
627
|
624
628
*/
625
629
@@ -646,11 +650,12 @@ module.exports = {
646
650
| common use-cases like "1px". You can, of course, modify these
647
651
| values as needed.
648
652
|
649
- | Class name: .m{- side?}-{size}
653
+ | Class name: .m{side?}-{size}
650
654
|
651
655
*/
652
656
653
657
margin : {
658
+ 'auto' : 'auto' ,
654
659
'px' : '1px' ,
655
660
'0' : '0' ,
656
661
'1' : '0.25rem' ,
@@ -673,7 +678,7 @@ module.exports = {
673
678
| generally get used together. You can, of course, modify these
674
679
| values as needed.
675
680
|
676
- | Class name: .-m{- side?}-{size}
681
+ | Class name: .-m{side?}-{size}
677
682
|
678
683
*/
679
684
@@ -698,8 +703,8 @@ module.exports = {
698
703
| the defaults we provide, it's possible to apply multiple shadows
699
704
| per utility using comma separation.
700
705
|
701
- | Take note that a default shadow is required. This is the value used
702
- | for the non- suffixed version of this utility ( .shadow) .
706
+ | If a ` default` shadow is provided, it will be made available as the non-
707
+ | suffixed ` .shadow` utility .
703
708
|
704
709
| Class name: .shadow-{size?}
705
710
|
@@ -728,13 +733,13 @@ module.exports = {
728
733
*/
729
734
730
735
zIndex : {
736
+ 'auto' : 'auto' ,
731
737
'0' : 0 ,
732
738
'10' : 10 ,
733
739
'20' : 20 ,
734
740
'30' : 30 ,
735
741
'40' : 40 ,
736
742
'50' : 50 ,
737
- 'auto' : 'auto' ,
738
743
} ,
739
744
740
745
@@ -762,17 +767,17 @@ module.exports = {
762
767
763
768
/*
764
769
|-----------------------------------------------------------------------------
765
- | Packages
770
+ | Options https://tailwindcss.com/docs/configuration#options
766
771
|-----------------------------------------------------------------------------
767
772
|
768
- | Here is where you can define the configuration for any Tailwind packages
769
- | you're using. These can be utility packs, component bundles, or even
770
- | complete themes. You'll want to reference each package's
771
- | documentation for a list of settings available for it.
773
+ | Here is where you can set your Tailwind configuration options. For more
774
+ | details about these options, visit the configuration options documentation.
772
775
|
773
776
*/
774
777
775
- packages : {
778
+ options : {
779
+ prefix : '' ,
780
+ important : false ,
776
781
} ,
777
782
778
783
}
0 commit comments