defaultConfig.stub.js 22 KB

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