tailwind.config.js 22 KB

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