You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

954 lines
22 KiB

2 years ago
  1. /** @type {import('tailwindcss').Config} */
  2. module.exports = {
  3. content: [],
  4. presets: [],
  5. darkMode: 'media', // or 'class'
  6. theme: {
  7. screens: {
  8. sm: '640px',
  9. md: '768px',
  10. lg: '1024px',
  11. xl: '1280px',
  12. '2xl': '1536px',
  13. },
  14. colors: ({ colors }) => ({
  15. inherit: colors.inherit,
  16. current: colors.current,
  17. transparent: colors.transparent,
  18. black: colors.black,
  19. white: colors.white,
  20. slate: colors.slate,
  21. gray: colors.gray,
  22. zinc: colors.zinc,
  23. neutral: colors.neutral,
  24. stone: colors.stone,
  25. red: colors.red,
  26. orange: colors.orange,
  27. amber: colors.amber,
  28. yellow: colors.yellow,
  29. lime: colors.lime,
  30. green: colors.green,
  31. emerald: colors.emerald,
  32. teal: colors.teal,
  33. cyan: colors.cyan,
  34. sky: colors.sky,
  35. blue: colors.blue,
  36. indigo: colors.indigo,
  37. violet: colors.violet,
  38. purple: colors.purple,
  39. fuchsia: colors.fuchsia,
  40. pink: colors.pink,
  41. rose: colors.rose,
  42. }),
  43. columns: {
  44. auto: 'auto',
  45. 1: '1',
  46. 2: '2',
  47. 3: '3',
  48. 4: '4',
  49. 5: '5',
  50. 6: '6',
  51. 7: '7',
  52. 8: '8',
  53. 9: '9',
  54. 10: '10',
  55. 11: '11',
  56. 12: '12',
  57. '3xs': '16rem',
  58. '2xs': '18rem',
  59. xs: '20rem',
  60. sm: '24rem',
  61. md: '28rem',
  62. lg: '32rem',
  63. xl: '36rem',
  64. '2xl': '42rem',
  65. '3xl': '48rem',
  66. '4xl': '56rem',
  67. '5xl': '64rem',
  68. '6xl': '72rem',
  69. '7xl': '80rem',
  70. },
  71. spacing: {
  72. px: '1px',
  73. 0: '0px',
  74. 0.5: '0.125rem',
  75. 1: '0.25rem',
  76. 1.5: '0.375rem',
  77. 2: '0.5rem',
  78. 2.5: '0.625rem',
  79. 3: '0.75rem',
  80. 3.5: '0.875rem',
  81. 4: '1rem',
  82. 5: '1.25rem',
  83. 6: '1.5rem',
  84. 7: '1.75rem',
  85. 8: '2rem',
  86. 9: '2.25rem',
  87. 10: '2.5rem',
  88. 11: '2.75rem',
  89. 12: '3rem',
  90. 14: '3.5rem',
  91. 16: '4rem',
  92. 20: '5rem',
  93. 24: '6rem',
  94. 28: '7rem',
  95. 32: '8rem',
  96. 36: '9rem',
  97. 40: '10rem',
  98. 44: '11rem',
  99. 48: '12rem',
  100. 52: '13rem',
  101. 56: '14rem',
  102. 60: '15rem',
  103. 64: '16rem',
  104. 72: '18rem',
  105. 80: '20rem',
  106. 96: '24rem',
  107. },
  108. animation: {
  109. none: 'none',
  110. spin: 'spin 1s linear infinite',
  111. ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',
  112. pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
  113. bounce: 'bounce 1s infinite',
  114. },
  115. aspectRatio: {
  116. auto: 'auto',
  117. square: '1 / 1',
  118. video: '16 / 9',
  119. },
  120. backdropBlur: ({ theme }) => theme('blur'),
  121. backdropBrightness: ({ theme }) => theme('brightness'),
  122. backdropContrast: ({ theme }) => theme('contrast'),
  123. backdropGrayscale: ({ theme }) => theme('grayscale'),
  124. backdropHueRotate: ({ theme }) => theme('hueRotate'),
  125. backdropInvert: ({ theme }) => theme('invert'),
  126. backdropOpacity: ({ theme }) => theme('opacity'),
  127. backdropSaturate: ({ theme }) => theme('saturate'),
  128. backdropSepia: ({ theme }) => theme('sepia'),
  129. backgroundColor: ({ theme }) => theme('colors'),
  130. backgroundImage: {
  131. none: 'none',
  132. 'gradient-to-t': 'linear-gradient(to top, var(--tw-gradient-stops))',
  133. 'gradient-to-tr': 'linear-gradient(to top right, var(--tw-gradient-stops))',
  134. 'gradient-to-r': 'linear-gradient(to right, var(--tw-gradient-stops))',
  135. 'gradient-to-br': 'linear-gradient(to bottom right, var(--tw-gradient-stops))',
  136. 'gradient-to-b': 'linear-gradient(to bottom, var(--tw-gradient-stops))',
  137. 'gradient-to-bl': 'linear-gradient(to bottom left, var(--tw-gradient-stops))',
  138. 'gradient-to-l': 'linear-gradient(to left, var(--tw-gradient-stops))',
  139. 'gradient-to-tl': 'linear-gradient(to top left, var(--tw-gradient-stops))',
  140. },
  141. backgroundOpacity: ({ theme }) => theme('opacity'),
  142. backgroundPosition: {
  143. bottom: 'bottom',
  144. center: 'center',
  145. left: 'left',
  146. 'left-bottom': 'left bottom',
  147. 'left-top': 'left top',
  148. right: 'right',
  149. 'right-bottom': 'right bottom',
  150. 'right-top': 'right top',
  151. top: 'top',
  152. },
  153. backgroundSize: {
  154. auto: 'auto',
  155. cover: 'cover',
  156. contain: 'contain',
  157. },
  158. blur: {
  159. 0: '0',
  160. none: '0',
  161. sm: '4px',
  162. DEFAULT: '8px',
  163. md: '12px',
  164. lg: '16px',
  165. xl: '24px',
  166. '2xl': '40px',
  167. '3xl': '64px',
  168. },
  169. brightness: {
  170. 0: '0',
  171. 50: '.5',
  172. 75: '.75',
  173. 90: '.9',
  174. 95: '.95',
  175. 100: '1',
  176. 105: '1.05',
  177. 110: '1.1',
  178. 125: '1.25',
  179. 150: '1.5',
  180. 200: '2',
  181. },
  182. borderColor: ({ theme }) => ({
  183. ...theme('colors'),
  184. DEFAULT: theme('colors.gray.200', 'currentColor'),
  185. }),
  186. borderOpacity: ({ theme }) => theme('opacity'),
  187. borderRadius: {
  188. none: '0px',
  189. sm: '0.125rem',
  190. DEFAULT: '0.25rem',
  191. md: '0.375rem',
  192. lg: '0.5rem',
  193. xl: '0.75rem',
  194. '2xl': '1rem',
  195. '3xl': '1.5rem',
  196. full: '9999px',
  197. },
  198. borderSpacing: ({ theme }) => ({
  199. ...theme('spacing'),
  200. }),
  201. borderWidth: {
  202. DEFAULT: '1px',
  203. 0: '0px',
  204. 2: '2px',
  205. 4: '4px',
  206. 8: '8px',
  207. },
  208. boxShadow: {
  209. sm: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
  210. DEFAULT: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)',
  211. md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
  212. lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)',
  213. xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)',
  214. '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)',
  215. inner: 'inset 0 2px 4px 0 rgb(0 0 0 / 0.05)',
  216. none: 'none',
  217. },
  218. boxShadowColor: ({ theme }) => theme('colors'),
  219. caretColor: ({ theme }) => theme('colors'),
  220. accentColor: ({ theme }) => ({
  221. ...theme('colors'),
  222. auto: 'auto',
  223. }),
  224. contrast: {
  225. 0: '0',
  226. 50: '.5',
  227. 75: '.75',
  228. 100: '1',
  229. 125: '1.25',
  230. 150: '1.5',
  231. 200: '2',
  232. },
  233. container: {},
  234. content: {
  235. none: 'none',
  236. },
  237. cursor: {
  238. auto: 'auto',
  239. default: 'default',
  240. pointer: 'pointer',
  241. wait: 'wait',
  242. text: 'text',
  243. move: 'move',
  244. help: 'help',
  245. 'not-allowed': 'not-allowed',
  246. none: 'none',
  247. 'context-menu': 'context-menu',
  248. progress: 'progress',
  249. cell: 'cell',
  250. crosshair: 'crosshair',
  251. 'vertical-text': 'vertical-text',
  252. alias: 'alias',
  253. copy: 'copy',
  254. 'no-drop': 'no-drop',
  255. grab: 'grab',
  256. grabbing: 'grabbing',
  257. 'all-scroll': 'all-scroll',
  258. 'col-resize': 'col-resize',
  259. 'row-resize': 'row-resize',
  260. 'n-resize': 'n-resize',
  261. 'e-resize': 'e-resize',
  262. 's-resize': 's-resize',
  263. 'w-resize': 'w-resize',
  264. 'ne-resize': 'ne-resize',
  265. 'nw-resize': 'nw-resize',
  266. 'se-resize': 'se-resize',
  267. 'sw-resize': 'sw-resize',
  268. 'ew-resize': 'ew-resize',
  269. 'ns-resize': 'ns-resize',
  270. 'nesw-resize': 'nesw-resize',
  271. 'nwse-resize': 'nwse-resize',
  272. 'zoom-in': 'zoom-in',
  273. 'zoom-out': 'zoom-out',
  274. },
  275. divideColor: ({ theme }) => theme('borderColor'),
  276. divideOpacity: ({ theme }) => theme('borderOpacity'),
  277. divideWidth: ({ theme }) => theme('borderWidth'),
  278. dropShadow: {
  279. sm: '0 1px 1px rgb(0 0 0 / 0.05)',
  280. DEFAULT: ['0 1px 2px rgb(0 0 0 / 0.1)', '0 1px 1px rgb(0 0 0 / 0.06)'],
  281. md: ['0 4px 3px rgb(0 0 0 / 0.07)', '0 2px 2px rgb(0 0 0 / 0.06)'],
  282. lg: ['0 10px 8px rgb(0 0 0 / 0.04)', '0 4px 3px rgb(0 0 0 / 0.1)'],
  283. xl: ['0 20px 13px rgb(0 0 0 / 0.03)', '0 8px 5px rgb(0 0 0 / 0.08)'],
  284. '2xl': '0 25px 25px rgb(0 0 0 / 0.15)',
  285. none: '0 0 #0000',
  286. },
  287. fill: ({ theme }) => theme('colors'),
  288. grayscale: {
  289. 0: '0',
  290. DEFAULT: '100%',
  291. },
  292. hueRotate: {
  293. 0: '0deg',
  294. 15: '15deg',
  295. 30: '30deg',
  296. 60: '60deg',
  297. 90: '90deg',
  298. 180: '180deg',
  299. },
  300. invert: {
  301. 0: '0',
  302. DEFAULT: '100%',
  303. },
  304. flex: {
  305. 1: '1 1 0%',
  306. auto: '1 1 auto',
  307. initial: '0 1 auto',
  308. none: 'none',
  309. },
  310. flexBasis: ({ theme }) => ({
  311. auto: 'auto',
  312. ...theme('spacing'),
  313. '1/2': '50%',
  314. '1/3': '33.333333%',
  315. '2/3': '66.666667%',
  316. '1/4': '25%',
  317. '2/4': '50%',
  318. '3/4': '75%',
  319. '1/5': '20%',
  320. '2/5': '40%',
  321. '3/5': '60%',
  322. '4/5': '80%',
  323. '1/6': '16.666667%',
  324. '2/6': '33.333333%',
  325. '3/6': '50%',
  326. '4/6': '66.666667%',
  327. '5/6': '83.333333%',
  328. '1/12': '8.333333%',
  329. '2/12': '16.666667%',
  330. '3/12': '25%',
  331. '4/12': '33.333333%',
  332. '5/12': '41.666667%',
  333. '6/12': '50%',
  334. '7/12': '58.333333%',
  335. '8/12': '66.666667%',
  336. '9/12': '75%',
  337. '10/12': '83.333333%',
  338. '11/12': '91.666667%',
  339. full: '100%',
  340. }),
  341. flexGrow: {
  342. 0: '0',
  343. DEFAULT: '1',
  344. },
  345. flexShrink: {
  346. 0: '0',
  347. DEFAULT: '1',
  348. },
  349. fontFamily: {
  350. sans: [
  351. 'ui-sans-serif',
  352. 'system-ui',
  353. '-apple-system',
  354. 'BlinkMacSystemFont',
  355. '"Segoe UI"',
  356. 'Roboto',
  357. '"Helvetica Neue"',
  358. 'Arial',
  359. '"Noto Sans"',
  360. 'sans-serif',
  361. '"Apple Color Emoji"',
  362. '"Segoe UI Emoji"',
  363. '"Segoe UI Symbol"',
  364. '"Noto Color Emoji"',
  365. ],
  366. serif: ['ui-serif', 'Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
  367. mono: [
  368. 'ui-monospace',
  369. 'SFMono-Regular',
  370. 'Menlo',
  371. 'Monaco',
  372. 'Consolas',
  373. '"Liberation Mono"',
  374. '"Courier New"',
  375. 'monospace',
  376. ],
  377. },
  378. fontSize: {
  379. xs: ['0.75rem', { lineHeight: '1rem' }],
  380. sm: ['0.875rem', { lineHeight: '1.25rem' }],
  381. base: ['1rem', { lineHeight: '1.5rem' }],
  382. lg: ['1.125rem', { lineHeight: '1.75rem' }],
  383. xl: ['1.25rem', { lineHeight: '1.75rem' }],
  384. '2xl': ['1.5rem', { lineHeight: '2rem' }],
  385. '3xl': ['1.875rem', { lineHeight: '2.25rem' }],
  386. '4xl': ['2.25rem', { lineHeight: '2.5rem' }],
  387. '5xl': ['3rem', { lineHeight: '1' }],
  388. '6xl': ['3.75rem', { lineHeight: '1' }],
  389. '7xl': ['4.5rem', { lineHeight: '1' }],
  390. '8xl': ['6rem', { lineHeight: '1' }],
  391. '9xl': ['8rem', { lineHeight: '1' }],
  392. },
  393. fontWeight: {
  394. thin: '100',
  395. extralight: '200',
  396. light: '300',
  397. normal: '400',
  398. medium: '500',
  399. semibold: '600',
  400. bold: '700',
  401. extrabold: '800',
  402. black: '900',
  403. },
  404. gap: ({ theme }) => theme('spacing'),
  405. gradientColorStops: ({ theme }) => theme('colors'),
  406. gridAutoColumns: {
  407. auto: 'auto',
  408. min: 'min-content',
  409. max: 'max-content',
  410. fr: 'minmax(0, 1fr)',
  411. },
  412. gridAutoRows: {
  413. auto: 'auto',
  414. min: 'min-content',
  415. max: 'max-content',
  416. fr: 'minmax(0, 1fr)',
  417. },
  418. gridColumn: {
  419. auto: 'auto',
  420. 'span-1': 'span 1 / span 1',
  421. 'span-2': 'span 2 / span 2',
  422. 'span-3': 'span 3 / span 3',
  423. 'span-4': 'span 4 / span 4',
  424. 'span-5': 'span 5 / span 5',
  425. 'span-6': 'span 6 / span 6',
  426. 'span-7': 'span 7 / span 7',
  427. 'span-8': 'span 8 / span 8',
  428. 'span-9': 'span 9 / span 9',
  429. 'span-10': 'span 10 / span 10',
  430. 'span-11': 'span 11 / span 11',
  431. 'span-12': 'span 12 / span 12',
  432. 'span-full': '1 / -1',
  433. },
  434. gridColumnEnd: {
  435. auto: 'auto',
  436. 1: '1',
  437. 2: '2',
  438. 3: '3',
  439. 4: '4',
  440. 5: '5',
  441. 6: '6',
  442. 7: '7',
  443. 8: '8',
  444. 9: '9',
  445. 10: '10',
  446. 11: '11',
  447. 12: '12',
  448. 13: '13',
  449. },
  450. gridColumnStart: {
  451. auto: 'auto',
  452. 1: '1',
  453. 2: '2',
  454. 3: '3',
  455. 4: '4',
  456. 5: '5',
  457. 6: '6',
  458. 7: '7',
  459. 8: '8',
  460. 9: '9',
  461. 10: '10',
  462. 11: '11',
  463. 12: '12',
  464. 13: '13',
  465. },
  466. gridRow: {
  467. auto: 'auto',
  468. 'span-1': 'span 1 / span 1',
  469. 'span-2': 'span 2 / span 2',
  470. 'span-3': 'span 3 / span 3',
  471. 'span-4': 'span 4 / span 4',
  472. 'span-5': 'span 5 / span 5',
  473. 'span-6': 'span 6 / span 6',
  474. 'span-full': '1 / -1',
  475. },
  476. gridRowStart: {
  477. auto: 'auto',
  478. 1: '1',
  479. 2: '2',
  480. 3: '3',
  481. 4: '4',
  482. 5: '5',
  483. 6: '6',
  484. 7: '7',
  485. },
  486. gridRowEnd: {
  487. auto: 'auto',
  488. 1: '1',
  489. 2: '2',
  490. 3: '3',
  491. 4: '4',
  492. 5: '5',
  493. 6: '6',
  494. 7: '7',
  495. },
  496. gridTemplateColumns: {
  497. none: 'none',
  498. 1: 'repeat(1, minmax(0, 1fr))',
  499. 2: 'repeat(2, minmax(0, 1fr))',
  500. 3: 'repeat(3, minmax(0, 1fr))',
  501. 4: 'repeat(4, minmax(0, 1fr))',
  502. 5: 'repeat(5, minmax(0, 1fr))',
  503. 6: 'repeat(6, minmax(0, 1fr))',
  504. 7: 'repeat(7, minmax(0, 1fr))',
  505. 8: 'repeat(8, minmax(0, 1fr))',
  506. 9: 'repeat(9, minmax(0, 1fr))',
  507. 10: 'repeat(10, minmax(0, 1fr))',
  508. 11: 'repeat(11, minmax(0, 1fr))',
  509. 12: 'repeat(12, minmax(0, 1fr))',
  510. },
  511. gridTemplateRows: {
  512. none: 'none',
  513. 1: 'repeat(1, minmax(0, 1fr))',
  514. 2: 'repeat(2, minmax(0, 1fr))',
  515. 3: 'repeat(3, minmax(0, 1fr))',
  516. 4: 'repeat(4, minmax(0, 1fr))',
  517. 5: 'repeat(5, minmax(0, 1fr))',
  518. 6: 'repeat(6, minmax(0, 1fr))',
  519. },
  520. height: ({ theme }) => ({
  521. auto: 'auto',
  522. ...theme('spacing'),
  523. '1/2': '50%',
  524. '1/3': '33.333333%',
  525. '2/3': '66.666667%',
  526. '1/4': '25%',
  527. '2/4': '50%',
  528. '3/4': '75%',
  529. '1/5': '20%',
  530. '2/5': '40%',
  531. '3/5': '60%',
  532. '4/5': '80%',
  533. '1/6': '16.666667%',
  534. '2/6': '33.333333%',
  535. '3/6': '50%',
  536. '4/6': '66.666667%',
  537. '5/6': '83.333333%',
  538. full: '100%',
  539. screen: '100vh',
  540. min: 'min-content',
  541. max: 'max-content',
  542. fit: 'fit-content',
  543. }),
  544. inset: ({ theme }) => ({
  545. auto: 'auto',
  546. ...theme('spacing'),
  547. '1/2': '50%',
  548. '1/3': '33.333333%',
  549. '2/3': '66.666667%',
  550. '1/4': '25%',
  551. '2/4': '50%',
  552. '3/4': '75%',
  553. full: '100%',
  554. }),
  555. keyframes: {
  556. spin: {
  557. to: {
  558. transform: 'rotate(360deg)',
  559. },
  560. },
  561. ping: {
  562. '75%, 100%': {
  563. transform: 'scale(2)',
  564. opacity: '0',
  565. },
  566. },
  567. pulse: {
  568. '50%': {
  569. opacity: '.5',
  570. },
  571. },
  572. bounce: {
  573. '0%, 100%': {
  574. transform: 'translateY(-25%)',
  575. animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
  576. },
  577. '50%': {
  578. transform: 'none',
  579. animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
  580. },
  581. },
  582. },
  583. letterSpacing: {
  584. tighter: '-0.05em',
  585. tight: '-0.025em',
  586. normal: '0em',
  587. wide: '0.025em',
  588. wider: '0.05em',
  589. widest: '0.1em',
  590. },
  591. lineHeight: {
  592. none: '1',
  593. tight: '1.25',
  594. snug: '1.375',
  595. normal: '1.5',
  596. relaxed: '1.625',
  597. loose: '2',
  598. 3: '.75rem',
  599. 4: '1rem',
  600. 5: '1.25rem',
  601. 6: '1.5rem',
  602. 7: '1.75rem',
  603. 8: '2rem',
  604. 9: '2.25rem',
  605. 10: '2.5rem',
  606. },
  607. listStyleType: {
  608. none: 'none',
  609. disc: 'disc',
  610. decimal: 'decimal',
  611. },
  612. margin: ({ theme }) => ({
  613. auto: 'auto',
  614. ...theme('spacing'),
  615. }),
  616. maxHeight: ({ theme }) => ({
  617. ...theme('spacing'),
  618. full: '100%',
  619. screen: '100vh',
  620. min: 'min-content',
  621. max: 'max-content',
  622. fit: 'fit-content',
  623. }),
  624. maxWidth: ({ theme, breakpoints }) => ({
  625. none: 'none',
  626. 0: '0rem',
  627. xs: '20rem',
  628. sm: '24rem',
  629. md: '28rem',
  630. lg: '32rem',
  631. xl: '36rem',
  632. '2xl': '42rem',
  633. '3xl': '48rem',
  634. '4xl': '56rem',
  635. '5xl': '64rem',
  636. '6xl': '72rem',
  637. '7xl': '80rem',
  638. full: '100%',
  639. min: 'min-content',
  640. max: 'max-content',
  641. fit: 'fit-content',
  642. prose: '65ch',
  643. ...breakpoints(theme('screens')),
  644. }),
  645. minHeight: {
  646. 0: '0px',
  647. full: '100%',
  648. screen: '100vh',
  649. min: 'min-content',
  650. max: 'max-content',
  651. fit: 'fit-content',
  652. },
  653. minWidth: {
  654. 0: '0px',
  655. full: '100%',
  656. min: 'min-content',
  657. max: 'max-content',
  658. fit: 'fit-content',
  659. },
  660. objectPosition: {
  661. bottom: 'bottom',
  662. center: 'center',
  663. left: 'left',
  664. 'left-bottom': 'left bottom',
  665. 'left-top': 'left top',
  666. right: 'right',
  667. 'right-bottom': 'right bottom',
  668. 'right-top': 'right top',
  669. top: 'top',
  670. },
  671. opacity: {
  672. 0: '0',
  673. 5: '0.05',
  674. 10: '0.1',
  675. 20: '0.2',
  676. 25: '0.25',
  677. 30: '0.3',
  678. 40: '0.4',
  679. 50: '0.5',
  680. 60: '0.6',
  681. 70: '0.7',
  682. 75: '0.75',
  683. 80: '0.8',
  684. 90: '0.9',
  685. 95: '0.95',
  686. 100: '1',
  687. },
  688. order: {
  689. first: '-9999',
  690. last: '9999',
  691. none: '0',
  692. 1: '1',
  693. 2: '2',
  694. 3: '3',
  695. 4: '4',
  696. 5: '5',
  697. 6: '6',
  698. 7: '7',
  699. 8: '8',
  700. 9: '9',
  701. 10: '10',
  702. 11: '11',
  703. 12: '12',
  704. },
  705. padding: ({ theme }) => theme('spacing'),
  706. placeholderColor: ({ theme }) => theme('colors'),
  707. placeholderOpacity: ({ theme }) => theme('opacity'),
  708. outlineColor: ({ theme }) => theme('colors'),
  709. outlineOffset: {
  710. 0: '0px',
  711. 1: '1px',
  712. 2: '2px',
  713. 4: '4px',
  714. 8: '8px',
  715. },
  716. outlineWidth: {
  717. 0: '0px',
  718. 1: '1px',
  719. 2: '2px',
  720. 4: '4px',
  721. 8: '8px',
  722. },
  723. ringColor: ({ theme }) => ({
  724. DEFAULT: theme(`colors.blue.500`, '#3b82f6'),
  725. ...theme('colors'),
  726. }),
  727. ringOffsetColor: ({ theme }) => theme('colors'),
  728. ringOffsetWidth: {
  729. 0: '0px',
  730. 1: '1px',
  731. 2: '2px',
  732. 4: '4px',
  733. 8: '8px',
  734. },
  735. ringOpacity: ({ theme }) => ({
  736. DEFAULT: '0.5',
  737. ...theme('opacity'),
  738. }),
  739. ringWidth: {
  740. DEFAULT: '3px',
  741. 0: '0px',
  742. 1: '1px',
  743. 2: '2px',
  744. 4: '4px',
  745. 8: '8px',
  746. },
  747. rotate: {
  748. 0: '0deg',
  749. 1: '1deg',
  750. 2: '2deg',
  751. 3: '3deg',
  752. 6: '6deg',
  753. 12: '12deg',
  754. 45: '45deg',
  755. 90: '90deg',
  756. 180: '180deg',
  757. },
  758. saturate: {
  759. 0: '0',
  760. 50: '.5',
  761. 100: '1',
  762. 150: '1.5',
  763. 200: '2',
  764. },
  765. scale: {
  766. 0: '0',
  767. 50: '.5',
  768. 75: '.75',
  769. 90: '.9',
  770. 95: '.95',
  771. 100: '1',
  772. 105: '1.05',
  773. 110: '1.1',
  774. 125: '1.25',
  775. 150: '1.5',
  776. },
  777. scrollMargin: ({ theme }) => ({
  778. ...theme('spacing'),
  779. }),
  780. scrollPadding: ({ theme }) => theme('spacing'),
  781. sepia: {
  782. 0: '0',
  783. DEFAULT: '100%',
  784. },
  785. skew: {
  786. 0: '0deg',
  787. 1: '1deg',
  788. 2: '2deg',
  789. 3: '3deg',
  790. 6: '6deg',
  791. 12: '12deg',
  792. },
  793. space: ({ theme }) => ({
  794. ...theme('spacing'),
  795. }),
  796. stroke: ({ theme }) => theme('colors'),
  797. strokeWidth: {
  798. 0: '0',
  799. 1: '1',
  800. 2: '2',
  801. },
  802. textColor: ({ theme }) => theme('colors'),
  803. textDecorationColor: ({ theme }) => theme('colors'),
  804. textDecorationThickness: {
  805. auto: 'auto',
  806. 'from-font': 'from-font',
  807. 0: '0px',
  808. 1: '1px',
  809. 2: '2px',
  810. 4: '4px',
  811. 8: '8px',
  812. },
  813. textUnderlineOffset: {
  814. auto: 'auto',
  815. 0: '0px',
  816. 1: '1px',
  817. 2: '2px',
  818. 4: '4px',
  819. 8: '8px',
  820. },
  821. textIndent: ({ theme }) => ({
  822. ...theme('spacing'),
  823. }),
  824. textOpacity: ({ theme }) => theme('opacity'),
  825. transformOrigin: {
  826. center: 'center',
  827. top: 'top',
  828. 'top-right': 'top right',
  829. right: 'right',
  830. 'bottom-right': 'bottom right',
  831. bottom: 'bottom',
  832. 'bottom-left': 'bottom left',
  833. left: 'left',
  834. 'top-left': 'top left',
  835. },
  836. transitionDelay: {
  837. 75: '75ms',
  838. 100: '100ms',
  839. 150: '150ms',
  840. 200: '200ms',
  841. 300: '300ms',
  842. 500: '500ms',
  843. 700: '700ms',
  844. 1000: '1000ms',
  845. },
  846. transitionDuration: {
  847. DEFAULT: '150ms',
  848. 75: '75ms',
  849. 100: '100ms',
  850. 150: '150ms',
  851. 200: '200ms',
  852. 300: '300ms',
  853. 500: '500ms',
  854. 700: '700ms',
  855. 1000: '1000ms',
  856. },
  857. transitionProperty: {
  858. none: 'none',
  859. all: 'all',
  860. DEFAULT:
  861. 'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
  862. colors: 'color, background-color, border-color, text-decoration-color, fill, stroke',
  863. opacity: 'opacity',
  864. shadow: 'box-shadow',
  865. transform: 'transform',
  866. },
  867. transitionTimingFunction: {
  868. DEFAULT: 'cubic-bezier(0.4, 0, 0.2, 1)',
  869. linear: 'linear',
  870. in: 'cubic-bezier(0.4, 0, 1, 1)',
  871. out: 'cubic-bezier(0, 0, 0.2, 1)',
  872. 'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
  873. },
  874. translate: ({ theme }) => ({
  875. ...theme('spacing'),
  876. '1/2': '50%',
  877. '1/3': '33.333333%',
  878. '2/3': '66.666667%',
  879. '1/4': '25%',
  880. '2/4': '50%',
  881. '3/4': '75%',
  882. full: '100%',
  883. }),
  884. width: ({ theme }) => ({
  885. auto: 'auto',
  886. ...theme('spacing'),
  887. '1/2': '50%',
  888. '1/3': '33.333333%',
  889. '2/3': '66.666667%',
  890. '1/4': '25%',
  891. '2/4': '50%',
  892. '3/4': '75%',
  893. '1/5': '20%',
  894. '2/5': '40%',
  895. '3/5': '60%',
  896. '4/5': '80%',
  897. '1/6': '16.666667%',
  898. '2/6': '33.333333%',
  899. '3/6': '50%',
  900. '4/6': '66.666667%',
  901. '5/6': '83.333333%',
  902. '1/12': '8.333333%',
  903. '2/12': '16.666667%',
  904. '3/12': '25%',
  905. '4/12': '33.333333%',
  906. '5/12': '41.666667%',
  907. '6/12': '50%',
  908. '7/12': '58.333333%',
  909. '8/12': '66.666667%',
  910. '9/12': '75%',
  911. '10/12': '83.333333%',
  912. '11/12': '91.666667%',
  913. full: '100%',
  914. screen: '100vw',
  915. min: 'min-content',
  916. max: 'max-content',
  917. fit: 'fit-content',
  918. }),
  919. willChange: {
  920. auto: 'auto',
  921. scroll: 'scroll-position',
  922. contents: 'contents',
  923. transform: 'transform',
  924. },
  925. zIndex: {
  926. auto: 'auto',
  927. 0: '0',
  928. 10: '10',
  929. 20: '20',
  930. 30: '30',
  931. 40: '40',
  932. 50: '50',
  933. },
  934. },
  935. variantOrder: [
  936. 'first',
  937. 'last',
  938. 'odd',
  939. 'even',
  940. 'visited',
  941. 'checked',
  942. 'empty',
  943. 'read-only',
  944. 'group-hover',
  945. 'group-focus',
  946. 'focus-within',
  947. 'hover',
  948. 'focus',
  949. 'focus-visible',
  950. 'active',
  951. 'disabled',
  952. ],
  953. plugins: [],
  954. }