tailwindcss 0.0.0-oxide.6bf5e56 → 0.0.0-oxide.956419c

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,108 +4,10 @@ module.exports = {
4
4
  presets: [],
5
5
  darkMode: 'media', // or 'class'
6
6
  theme: {
7
- screens: {
8
- sm: '640px',
9
- md: '768px',
10
- lg: '1024px',
11
- xl: '1280px',
12
- '2xl': '1536px',
13
- },
14
- supports: {},
15
- colors: ({ colors }) => ({
16
- inherit: colors.inherit,
17
- current: colors.current,
18
- transparent: colors.transparent,
19
- black: colors.black,
20
- white: colors.white,
21
- slate: colors.slate,
22
- gray: colors.gray,
23
- zinc: colors.zinc,
24
- neutral: colors.neutral,
25
- stone: colors.stone,
26
- red: colors.red,
27
- orange: colors.orange,
28
- amber: colors.amber,
29
- yellow: colors.yellow,
30
- lime: colors.lime,
31
- green: colors.green,
32
- emerald: colors.emerald,
33
- teal: colors.teal,
34
- cyan: colors.cyan,
35
- sky: colors.sky,
36
- blue: colors.blue,
37
- indigo: colors.indigo,
38
- violet: colors.violet,
39
- purple: colors.purple,
40
- fuchsia: colors.fuchsia,
41
- pink: colors.pink,
42
- rose: colors.rose,
43
- }),
44
- columns: {
7
+ accentColor: ({ theme }) => ({
8
+ ...theme('colors'),
45
9
  auto: 'auto',
46
- 1: '1',
47
- 2: '2',
48
- 3: '3',
49
- 4: '4',
50
- 5: '5',
51
- 6: '6',
52
- 7: '7',
53
- 8: '8',
54
- 9: '9',
55
- 10: '10',
56
- 11: '11',
57
- 12: '12',
58
- '3xs': '16rem',
59
- '2xs': '18rem',
60
- xs: '20rem',
61
- sm: '24rem',
62
- md: '28rem',
63
- lg: '32rem',
64
- xl: '36rem',
65
- '2xl': '42rem',
66
- '3xl': '48rem',
67
- '4xl': '56rem',
68
- '5xl': '64rem',
69
- '6xl': '72rem',
70
- '7xl': '80rem',
71
- },
72
- spacing: {
73
- px: '1px',
74
- 0: '0px',
75
- 0.5: '0.125rem',
76
- 1: '0.25rem',
77
- 1.5: '0.375rem',
78
- 2: '0.5rem',
79
- 2.5: '0.625rem',
80
- 3: '0.75rem',
81
- 3.5: '0.875rem',
82
- 4: '1rem',
83
- 5: '1.25rem',
84
- 6: '1.5rem',
85
- 7: '1.75rem',
86
- 8: '2rem',
87
- 9: '2.25rem',
88
- 10: '2.5rem',
89
- 11: '2.75rem',
90
- 12: '3rem',
91
- 14: '3.5rem',
92
- 16: '4rem',
93
- 20: '5rem',
94
- 24: '6rem',
95
- 28: '7rem',
96
- 32: '8rem',
97
- 36: '9rem',
98
- 40: '10rem',
99
- 44: '11rem',
100
- 48: '12rem',
101
- 52: '13rem',
102
- 56: '14rem',
103
- 60: '15rem',
104
- 64: '16rem',
105
- 72: '18rem',
106
- 80: '20rem',
107
- 96: '24rem',
108
- },
10
+ }),
109
11
  animation: {
110
12
  none: 'none',
111
13
  spin: 'spin 1s linear infinite',
@@ -177,19 +79,6 @@ module.exports = {
177
79
  '2xl': '40px',
178
80
  '3xl': '64px',
179
81
  },
180
- brightness: {
181
- 0: '0',
182
- 50: '.5',
183
- 75: '.75',
184
- 90: '.9',
185
- 95: '.95',
186
- 100: '1',
187
- 105: '1.05',
188
- 110: '1.1',
189
- 125: '1.25',
190
- 150: '1.5',
191
- 200: '2',
192
- },
193
82
  borderColor: ({ theme }) => ({
194
83
  ...theme('colors'),
195
84
  DEFAULT: theme('colors.gray.200', 'currentColor'),
@@ -227,24 +116,90 @@ module.exports = {
227
116
  none: 'none',
228
117
  },
229
118
  boxShadowColor: ({ theme }) => theme('colors'),
230
- caretColor: ({ theme }) => theme('colors'),
231
- accentColor: ({ theme }) => ({
232
- ...theme('colors'),
233
- auto: 'auto',
234
- }),
235
- contrast: {
119
+ brightness: {
236
120
  0: '0',
237
121
  50: '.5',
238
122
  75: '.75',
123
+ 90: '.9',
124
+ 95: '.95',
239
125
  100: '1',
126
+ 105: '1.05',
127
+ 110: '1.1',
240
128
  125: '1.25',
241
129
  150: '1.5',
242
130
  200: '2',
243
131
  },
132
+ caretColor: ({ theme }) => theme('colors'),
133
+ colors: ({ colors }) => ({
134
+ inherit: colors.inherit,
135
+ current: colors.current,
136
+ transparent: colors.transparent,
137
+ black: colors.black,
138
+ white: colors.white,
139
+ slate: colors.slate,
140
+ gray: colors.gray,
141
+ zinc: colors.zinc,
142
+ neutral: colors.neutral,
143
+ stone: colors.stone,
144
+ red: colors.red,
145
+ orange: colors.orange,
146
+ amber: colors.amber,
147
+ yellow: colors.yellow,
148
+ lime: colors.lime,
149
+ green: colors.green,
150
+ emerald: colors.emerald,
151
+ teal: colors.teal,
152
+ cyan: colors.cyan,
153
+ sky: colors.sky,
154
+ blue: colors.blue,
155
+ indigo: colors.indigo,
156
+ violet: colors.violet,
157
+ purple: colors.purple,
158
+ fuchsia: colors.fuchsia,
159
+ pink: colors.pink,
160
+ rose: colors.rose,
161
+ }),
162
+ columns: {
163
+ auto: 'auto',
164
+ 1: '1',
165
+ 2: '2',
166
+ 3: '3',
167
+ 4: '4',
168
+ 5: '5',
169
+ 6: '6',
170
+ 7: '7',
171
+ 8: '8',
172
+ 9: '9',
173
+ 10: '10',
174
+ 11: '11',
175
+ 12: '12',
176
+ '3xs': '16rem',
177
+ '2xs': '18rem',
178
+ xs: '20rem',
179
+ sm: '24rem',
180
+ md: '28rem',
181
+ lg: '32rem',
182
+ xl: '36rem',
183
+ '2xl': '42rem',
184
+ '3xl': '48rem',
185
+ '4xl': '56rem',
186
+ '5xl': '64rem',
187
+ '6xl': '72rem',
188
+ '7xl': '80rem',
189
+ },
244
190
  container: {},
245
191
  content: {
246
192
  none: 'none',
247
193
  },
194
+ contrast: {
195
+ 0: '0',
196
+ 50: '.5',
197
+ 75: '.75',
198
+ 100: '1',
199
+ 125: '1.25',
200
+ 150: '1.5',
201
+ 200: '2',
202
+ },
248
203
  cursor: {
249
204
  auto: 'auto',
250
205
  default: 'default',
@@ -299,22 +254,6 @@ module.exports = {
299
254
  none: 'none',
300
255
  ...theme('colors'),
301
256
  }),
302
- grayscale: {
303
- 0: '0',
304
- DEFAULT: '100%',
305
- },
306
- hueRotate: {
307
- 0: '0deg',
308
- 15: '15deg',
309
- 30: '30deg',
310
- 60: '60deg',
311
- 90: '90deg',
312
- 180: '180deg',
313
- },
314
- invert: {
315
- 0: '0',
316
- DEFAULT: '100%',
317
- },
318
257
  flex: {
319
258
  1: '1 1 0%',
320
259
  auto: '1 1 auto',
@@ -417,6 +356,10 @@ module.exports = {
417
356
  },
418
357
  gap: ({ theme }) => theme('spacing'),
419
358
  gradientColorStops: ({ theme }) => theme('colors'),
359
+ grayscale: {
360
+ 0: '0',
361
+ DEFAULT: '100%',
362
+ },
420
363
  gridAutoColumns: {
421
364
  auto: 'auto',
422
365
  min: 'min-content',
@@ -487,7 +430,7 @@ module.exports = {
487
430
  'span-6': 'span 6 / span 6',
488
431
  'span-full': '1 / -1',
489
432
  },
490
- gridRowStart: {
433
+ gridRowEnd: {
491
434
  auto: 'auto',
492
435
  1: '1',
493
436
  2: '2',
@@ -497,7 +440,7 @@ module.exports = {
497
440
  6: '6',
498
441
  7: '7',
499
442
  },
500
- gridRowEnd: {
443
+ gridRowStart: {
501
444
  auto: 'auto',
502
445
  1: '1',
503
446
  2: '2',
@@ -555,6 +498,14 @@ module.exports = {
555
498
  max: 'max-content',
556
499
  fit: 'fit-content',
557
500
  }),
501
+ hueRotate: {
502
+ 0: '0deg',
503
+ 15: '15deg',
504
+ 30: '30deg',
505
+ 60: '60deg',
506
+ 90: '90deg',
507
+ 180: '180deg',
508
+ },
558
509
  inset: ({ theme }) => ({
559
510
  auto: 'auto',
560
511
  ...theme('spacing'),
@@ -566,6 +517,10 @@ module.exports = {
566
517
  '3/4': '75%',
567
518
  full: '100%',
568
519
  }),
520
+ invert: {
521
+ 0: '0',
522
+ DEFAULT: '100%',
523
+ },
569
524
  keyframes: {
570
525
  spin: {
571
526
  to: {
@@ -716,9 +671,6 @@ module.exports = {
716
671
  11: '11',
717
672
  12: '12',
718
673
  },
719
- padding: ({ theme }) => theme('spacing'),
720
- placeholderColor: ({ theme }) => theme('colors'),
721
- placeholderOpacity: ({ theme }) => theme('opacity'),
722
674
  outlineColor: ({ theme }) => theme('colors'),
723
675
  outlineOffset: {
724
676
  0: '0px',
@@ -734,6 +686,9 @@ module.exports = {
734
686
  4: '4px',
735
687
  8: '8px',
736
688
  },
689
+ padding: ({ theme }) => theme('spacing'),
690
+ placeholderColor: ({ theme }) => theme('colors'),
691
+ placeholderOpacity: ({ theme }) => theme('opacity'),
737
692
  ringColor: ({ theme }) => ({
738
693
  DEFAULT: theme('colors.blue.500', '#3b82f6'),
739
694
  ...theme('colors'),
@@ -788,6 +743,13 @@ module.exports = {
788
743
  125: '1.25',
789
744
  150: '1.5',
790
745
  },
746
+ screens: {
747
+ sm: '640px',
748
+ md: '768px',
749
+ lg: '1024px',
750
+ xl: '1280px',
751
+ '2xl': '1536px',
752
+ },
791
753
  scrollMargin: ({ theme }) => ({
792
754
  ...theme('spacing'),
793
755
  }),
@@ -807,6 +769,43 @@ module.exports = {
807
769
  space: ({ theme }) => ({
808
770
  ...theme('spacing'),
809
771
  }),
772
+ spacing: {
773
+ px: '1px',
774
+ 0: '0px',
775
+ 0.5: '0.125rem',
776
+ 1: '0.25rem',
777
+ 1.5: '0.375rem',
778
+ 2: '0.5rem',
779
+ 2.5: '0.625rem',
780
+ 3: '0.75rem',
781
+ 3.5: '0.875rem',
782
+ 4: '1rem',
783
+ 5: '1.25rem',
784
+ 6: '1.5rem',
785
+ 7: '1.75rem',
786
+ 8: '2rem',
787
+ 9: '2.25rem',
788
+ 10: '2.5rem',
789
+ 11: '2.75rem',
790
+ 12: '3rem',
791
+ 14: '3.5rem',
792
+ 16: '4rem',
793
+ 20: '5rem',
794
+ 24: '6rem',
795
+ 28: '7rem',
796
+ 32: '8rem',
797
+ 36: '9rem',
798
+ 40: '10rem',
799
+ 44: '11rem',
800
+ 48: '12rem',
801
+ 52: '13rem',
802
+ 56: '14rem',
803
+ 60: '15rem',
804
+ 64: '16rem',
805
+ 72: '18rem',
806
+ 80: '20rem',
807
+ 96: '24rem',
808
+ },
810
809
  stroke: ({ theme }) => ({
811
810
  none: 'none',
812
811
  ...theme('colors'),
@@ -816,6 +815,7 @@ module.exports = {
816
815
  1: '1',
817
816
  2: '2',
818
817
  },
818
+ supports: {},
819
819
  textColor: ({ theme }) => theme('colors'),
820
820
  textDecorationColor: ({ theme }) => theme('colors'),
821
821
  textDecorationThickness: {
@@ -827,6 +827,10 @@ module.exports = {
827
827
  4: '4px',
828
828
  8: '8px',
829
829
  },
830
+ textIndent: ({ theme }) => ({
831
+ ...theme('spacing'),
832
+ }),
833
+ textOpacity: ({ theme }) => theme('opacity'),
830
834
  textUnderlineOffset: {
831
835
  auto: 'auto',
832
836
  0: '0px',
@@ -835,10 +839,6 @@ module.exports = {
835
839
  4: '4px',
836
840
  8: '8px',
837
841
  },
838
- textIndent: ({ theme }) => ({
839
- ...theme('spacing'),
840
- }),
841
- textOpacity: ({ theme }) => theme('opacity'),
842
842
  transformOrigin: {
843
843
  center: 'center',
844
844
  top: 'top',
@@ -1,74 +1,6 @@
1
1
  import { Config } from '../../types'
2
2
  type CSSDeclarationList = Record<string, string>
3
3
  export type DefaultTheme = Config['theme'] & {
4
- screens: Record<'sm' | 'md' | 'lg' | 'xl' | '2xl', string>
5
- columns: Record<
6
- | '1'
7
- | '2'
8
- | '3'
9
- | '4'
10
- | '5'
11
- | '6'
12
- | '7'
13
- | '8'
14
- | '9'
15
- | '10'
16
- | '11'
17
- | '12'
18
- | 'auto'
19
- | '3xs'
20
- | '2xs'
21
- | 'xs'
22
- | 'sm'
23
- | 'md'
24
- | 'lg'
25
- | 'xl'
26
- | '2xl'
27
- | '3xl'
28
- | '4xl'
29
- | '5xl'
30
- | '6xl'
31
- | '7xl',
32
- string
33
- >
34
- spacing: Record<
35
- | '0'
36
- | '1'
37
- | '2'
38
- | '3'
39
- | '4'
40
- | '5'
41
- | '6'
42
- | '7'
43
- | '8'
44
- | '9'
45
- | '10'
46
- | '11'
47
- | '12'
48
- | '14'
49
- | '16'
50
- | '20'
51
- | '24'
52
- | '28'
53
- | '32'
54
- | '36'
55
- | '40'
56
- | '44'
57
- | '48'
58
- | '52'
59
- | '56'
60
- | '60'
61
- | '64'
62
- | '72'
63
- | '80'
64
- | '96'
65
- | 'px'
66
- | '0.5'
67
- | '1.5'
68
- | '2.5'
69
- | '3.5',
70
- string
71
- >
72
4
  animation: Record<'none' | 'spin' | 'ping' | 'pulse' | 'bounce', string>
73
5
  aria: Record<
74
6
  | 'checked'
@@ -108,18 +40,47 @@ export type DefaultTheme = Config['theme'] & {
108
40
  >
109
41
  backgroundSize: Record<'auto' | 'cover' | 'contain', string>
110
42
  blur: Record<'0' | 'none' | 'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | '3xl', string>
111
- brightness: Record<
112
- '0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150' | '200',
113
- string
114
- >
115
43
  borderRadius: Record<
116
44
  'none' | 'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | '3xl' | 'full',
117
45
  string
118
46
  >
119
47
  borderWidth: Record<'0' | '2' | '4' | '8' | 'DEFAULT', string>
120
48
  boxShadow: Record<'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | 'inner' | 'none', string>
121
- contrast: Record<'0' | '50' | '75' | '100' | '125' | '150' | '200', string>
49
+ brightness: Record<
50
+ '0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150' | '200',
51
+ string
52
+ >
53
+ columns: Record<
54
+ | '1'
55
+ | '2'
56
+ | '3'
57
+ | '4'
58
+ | '5'
59
+ | '6'
60
+ | '7'
61
+ | '8'
62
+ | '9'
63
+ | '10'
64
+ | '11'
65
+ | '12'
66
+ | 'auto'
67
+ | '3xs'
68
+ | '2xs'
69
+ | 'xs'
70
+ | 'sm'
71
+ | 'md'
72
+ | 'lg'
73
+ | 'xl'
74
+ | '2xl'
75
+ | '3xl'
76
+ | '4xl'
77
+ | '5xl'
78
+ | '6xl'
79
+ | '7xl',
80
+ string
81
+ >
122
82
  content: Record<'none', string>
83
+ contrast: Record<'0' | '50' | '75' | '100' | '125' | '150' | '200', string>
123
84
  cursor: Record<
124
85
  | 'auto'
125
86
  | 'default'
@@ -160,9 +121,6 @@ export type DefaultTheme = Config['theme'] & {
160
121
  string
161
122
  >
162
123
  dropShadow: Record<'sm' | 'DEFAULT' | 'md' | 'lg' | 'xl' | '2xl' | 'none', string | string[]>
163
- grayscale: Record<'0' | 'DEFAULT', string>
164
- hueRotate: Record<'0' | '15' | '30' | '60' | '90' | '180', string>
165
- invert: Record<'0' | 'DEFAULT', string>
166
124
  flex: Record<'1' | 'auto' | 'initial' | 'none', string>
167
125
  flexGrow: Record<'0' | 'DEFAULT', string>
168
126
  flexShrink: Record<'0' | 'DEFAULT', string>
@@ -195,6 +153,7 @@ export type DefaultTheme = Config['theme'] & {
195
153
  | 'black',
196
154
  string
197
155
  >
156
+ grayscale: Record<'0' | 'DEFAULT', string>
198
157
  gridAutoColumns: Record<'auto' | 'min' | 'max' | 'fr', string>
199
158
  gridAutoRows: Record<'auto' | 'min' | 'max' | 'fr', string>
200
159
  gridColumn: Record<
@@ -226,13 +185,15 @@ export type DefaultTheme = Config['theme'] & {
226
185
  'auto' | 'span-1' | 'span-2' | 'span-3' | 'span-4' | 'span-5' | 'span-6' | 'span-full',
227
186
  string
228
187
  >
229
- gridRowStart: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
230
188
  gridRowEnd: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
189
+ gridRowStart: Record<'1' | '2' | '3' | '4' | '5' | '6' | '7' | 'auto', string>
231
190
  gridTemplateColumns: Record<
232
191
  '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | 'none',
233
192
  string
234
193
  >
235
194
  gridTemplateRows: Record<'1' | '2' | '3' | '4' | '5' | '6' | 'none', string>
195
+ hueRotate: Record<'0' | '15' | '30' | '60' | '90' | '180', string>
196
+ invert: Record<'0' | 'DEFAULT', string>
236
197
  keyframes: Record<'spin' | 'ping' | 'pulse' | 'bounce', Record<string, CSSDeclarationList>>
237
198
  letterSpacing: Record<'tighter' | 'tight' | 'normal' | 'wide' | 'wider' | 'widest', string>
238
199
  lineHeight: Record<
@@ -310,8 +271,47 @@ export type DefaultTheme = Config['theme'] & {
310
271
  rotate: Record<'0' | '1' | '2' | '3' | '6' | '12' | '45' | '90' | '180', string>
311
272
  saturate: Record<'0' | '50' | '100' | '150' | '200', string>
312
273
  scale: Record<'0' | '50' | '75' | '90' | '95' | '100' | '105' | '110' | '125' | '150', string>
274
+ screens: Record<'sm' | 'md' | 'lg' | 'xl' | '2xl', string>
313
275
  sepia: Record<'0' | 'DEFAULT', string>
314
276
  skew: Record<'0' | '1' | '2' | '3' | '6' | '12', string>
277
+ spacing: Record<
278
+ | '0'
279
+ | '1'
280
+ | '2'
281
+ | '3'
282
+ | '4'
283
+ | '5'
284
+ | '6'
285
+ | '7'
286
+ | '8'
287
+ | '9'
288
+ | '10'
289
+ | '11'
290
+ | '12'
291
+ | '14'
292
+ | '16'
293
+ | '20'
294
+ | '24'
295
+ | '28'
296
+ | '32'
297
+ | '36'
298
+ | '40'
299
+ | '44'
300
+ | '48'
301
+ | '52'
302
+ | '56'
303
+ | '60'
304
+ | '64'
305
+ | '72'
306
+ | '80'
307
+ | '96'
308
+ | 'px'
309
+ | '0.5'
310
+ | '1.5'
311
+ | '2.5'
312
+ | '3.5',
313
+ string
314
+ >
315
315
  strokeWidth: Record<'0' | '1' | '2', string>
316
316
  textDecorationThickness: Record<'0' | '1' | '2' | '4' | '8' | 'auto' | 'from-font', string>
317
317
  textUnderlineOffset: Record<'0' | '1' | '2' | '4' | '8' | 'auto', string>