This is just a technology testing project based on Create React App and TailwindCSS
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

893 rindas
22KB

  1. module.exports = {
  2. future: {
  3. removeDeprecatedGapUtilities: true,
  4. purgeLayersByDefault: true,
  5. },
  6. purge: [
  7. './src/**/*.jsx',
  8. ],
  9. target: 'relaxed',
  10. prefix: '',
  11. important: false,
  12. separator: ':',
  13. theme: {
  14. screens: {
  15. sm: '640px',
  16. md: '768px',
  17. lg: '1024px',
  18. xl: '1280px',
  19. },
  20. colors: {
  21. transparent: 'transparent',
  22. current: 'currentColor',
  23. primary: {
  24. 100: "#e2e2f4",
  25. 200: "#c4c5e8",
  26. 300: "#a7a9dd",
  27. 400: "#898cd1",
  28. 500: "#6c6fc6",
  29. 600: "#4f52ba",
  30. 700: "#3f42a2",
  31. 800: "#333684",
  32. 900: "#282b67",
  33. },
  34. secondary: {
  35. 100: "#eceaac",
  36. 200: "#e5e28b",
  37. 300: "#ddd969",
  38. 400: "#d5d148",
  39. 500: "#c8c22d",
  40. 600: "#a6a226",
  41. 700: "#85821e",
  42. 800: "#646117",
  43. 900: "#43410f",
  44. },
  45. black: '#000',
  46. white: '#fff',
  47. gray: {
  48. 100: '#f7fafc',
  49. 200: '#edf2f7',
  50. 300: '#e2e8f0',
  51. 400: '#cbd5e0',
  52. 500: '#a0aec0',
  53. 600: '#718096',
  54. 700: '#4a5568',
  55. 800: '#2d3748',
  56. 900: '#1a202c',
  57. },
  58. red: {
  59. 100: '#fff5f5',
  60. 200: '#fed7d7',
  61. 300: '#feb2b2',
  62. 400: '#fc8181',
  63. 500: '#f56565',
  64. 600: '#e53e3e',
  65. 700: '#c53030',
  66. 800: '#9b2c2c',
  67. 900: '#742a2a',
  68. },
  69. orange: {
  70. 100: '#fffaf0',
  71. 200: '#feebc8',
  72. 300: '#fbd38d',
  73. 400: '#f6ad55',
  74. 500: '#ed8936',
  75. 600: '#dd6b20',
  76. 700: '#c05621',
  77. 800: '#9c4221',
  78. 900: '#7b341e',
  79. },
  80. yellow: {
  81. 100: '#fffff0',
  82. 200: '#fefcbf',
  83. 300: '#faf089',
  84. 400: '#f6e05e',
  85. 500: '#ecc94b',
  86. 600: '#d69e2e',
  87. 700: '#b7791f',
  88. 800: '#975a16',
  89. 900: '#744210',
  90. },
  91. green: {
  92. 100: '#f0fff4',
  93. 200: '#c6f6d5',
  94. 300: '#9ae6b4',
  95. 400: '#68d391',
  96. 500: '#48bb78',
  97. 600: '#38a169',
  98. 700: '#2f855a',
  99. 800: '#276749',
  100. 900: '#22543d',
  101. },
  102. teal: {
  103. 100: '#e6fffa',
  104. 200: '#b2f5ea',
  105. 300: '#81e6d9',
  106. 400: '#4fd1c5',
  107. 500: '#38b2ac',
  108. 600: '#319795',
  109. 700: '#2c7a7b',
  110. 800: '#285e61',
  111. 900: '#234e52',
  112. },
  113. blue: {
  114. 100: '#ebf8ff',
  115. 200: '#bee3f8',
  116. 300: '#90cdf4',
  117. 400: '#63b3ed',
  118. 500: '#4299e1',
  119. 600: '#3182ce',
  120. 700: '#2b6cb0',
  121. 800: '#2c5282',
  122. 900: '#2a4365',
  123. },
  124. indigo: {
  125. 100: '#ebf4ff',
  126. 200: '#c3dafe',
  127. 300: '#a3bffa',
  128. 400: '#7f9cf5',
  129. 500: '#667eea',
  130. 600: '#5a67d8',
  131. 700: '#4c51bf',
  132. 800: '#434190',
  133. 900: '#3c366b',
  134. },
  135. purple: {
  136. 100: '#faf5ff',
  137. 200: '#e9d8fd',
  138. 300: '#d6bcfa',
  139. 400: '#b794f4',
  140. 500: '#9f7aea',
  141. 600: '#805ad5',
  142. 700: '#6b46c1',
  143. 800: '#553c9a',
  144. 900: '#44337a',
  145. },
  146. pink: {
  147. 100: '#fff5f7',
  148. 200: '#fed7e2',
  149. 300: '#fbb6ce',
  150. 400: '#f687b3',
  151. 500: '#ed64a6',
  152. 600: '#d53f8c',
  153. 700: '#b83280',
  154. 800: '#97266d',
  155. 900: '#702459',
  156. },
  157. },
  158. spacing: {
  159. px: '1px',
  160. '0': '0',
  161. '1': '0.25rem',
  162. '2': '0.5rem',
  163. '3': '0.75rem',
  164. '4': '1rem',
  165. '5': '1.25rem',
  166. '6': '1.5rem',
  167. '8': '2rem',
  168. '10': '2.5rem',
  169. '12': '3rem',
  170. '16': '4rem',
  171. '20': '5rem',
  172. '24': '6rem',
  173. '32': '8rem',
  174. '40': '10rem',
  175. '48': '12rem',
  176. '56': '14rem',
  177. '64': '16rem',
  178. },
  179. backgroundColor: theme => theme('colors'),
  180. backgroundImage: {
  181. none: 'none',
  182. 'gradient-to-t': 'linear-gradient(to top, var(--gradient-color-stops))',
  183. 'gradient-to-tr': 'linear-gradient(to top right, var(--gradient-color-stops))',
  184. 'gradient-to-r': 'linear-gradient(to right, var(--gradient-color-stops))',
  185. 'gradient-to-br': 'linear-gradient(to bottom right, var(--gradient-color-stops))',
  186. 'gradient-to-b': 'linear-gradient(to bottom, var(--gradient-color-stops))',
  187. 'gradient-to-bl': 'linear-gradient(to bottom left, var(--gradient-color-stops))',
  188. 'gradient-to-l': 'linear-gradient(to left, var(--gradient-color-stops))',
  189. 'gradient-to-tl': 'linear-gradient(to top left, var(--gradient-color-stops))',
  190. },
  191. gradientColorStops: theme => theme('colors'),
  192. backgroundOpacity: theme => theme('opacity'),
  193. backgroundPosition: {
  194. bottom: 'bottom',
  195. center: 'center',
  196. left: 'left',
  197. 'left-bottom': 'left bottom',
  198. 'left-top': 'left top',
  199. right: 'right',
  200. 'right-bottom': 'right bottom',
  201. 'right-top': 'right top',
  202. top: 'top',
  203. },
  204. backgroundSize: {
  205. auto: 'auto',
  206. cover: 'cover',
  207. contain: 'contain',
  208. },
  209. borderColor: theme => ({
  210. ...theme('colors'),
  211. default: theme('colors.gray.300', 'currentColor'),
  212. }),
  213. borderOpacity: theme => theme('opacity'),
  214. borderRadius: {
  215. none: '0',
  216. sm: '0.125rem',
  217. default: '0.25rem',
  218. md: '0.375rem',
  219. lg: '0.5rem',
  220. full: '9999px',
  221. },
  222. borderWidth: {
  223. default: '1px',
  224. '0': '0',
  225. '2': '2px',
  226. '4': '4px',
  227. '8': '8px',
  228. },
  229. boxShadow: {
  230. xs: '0 0 0 1px rgba(0, 0, 0, 0.05)',
  231. sm: '0 1px 2px 0 rgba(0, 0, 0, 0.05)',
  232. default: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)',
  233. md: '0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)',
  234. lg: '0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)',
  235. xl: '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)',
  236. '2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)',
  237. inner: 'inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)',
  238. outline: '0 0 0 3px #33368480',
  239. none: 'none',
  240. },
  241. container: {},
  242. cursor: {
  243. auto: 'auto',
  244. default: 'default',
  245. pointer: 'pointer',
  246. wait: 'wait',
  247. text: 'text',
  248. move: 'move',
  249. 'not-allowed': 'not-allowed',
  250. },
  251. divideColor: theme => theme('borderColor'),
  252. divideOpacity: theme => theme('borderOpacity'),
  253. divideWidth: theme => theme('borderWidth'),
  254. fill: {
  255. current: 'currentColor',
  256. },
  257. flex: {
  258. '1': '1 1 0%',
  259. auto: '1 1 auto',
  260. initial: '0 1 auto',
  261. none: 'none',
  262. },
  263. flexGrow: {
  264. '0': '0',
  265. default: '1',
  266. },
  267. flexShrink: {
  268. '0': '0',
  269. default: '1',
  270. },
  271. fontFamily: {
  272. gilroy: ['"Gilroy"'],
  273. sans: [
  274. 'system-ui',
  275. '-apple-system',
  276. 'BlinkMacSystemFont',
  277. '"Segoe UI"',
  278. 'Roboto',
  279. '"Helvetica Neue"',
  280. 'Arial',
  281. '"Noto Sans"',
  282. 'sans-serif',
  283. '"Apple Color Emoji"',
  284. '"Segoe UI Emoji"',
  285. '"Segoe UI Symbol"',
  286. '"Noto Color Emoji"',
  287. ],
  288. serif: ['Georgia', 'Cambria', '"Times New Roman"', 'Times', 'serif'],
  289. mono: ['Menlo', 'Monaco', 'Consolas', '"Liberation Mono"', '"Courier New"', 'monospace'],
  290. },
  291. fontSize: {
  292. xs: '0.75rem',
  293. sm: '0.875rem',
  294. base: '1rem',
  295. lg: '1.125rem',
  296. xl: '1.25rem',
  297. '2xl': '1.5rem',
  298. '3xl': '1.875rem',
  299. '4xl': '2.25rem',
  300. '5xl': '3rem',
  301. '6xl': '4rem',
  302. },
  303. fontWeight: {
  304. hairline: '100',
  305. thin: '200',
  306. light: '300',
  307. normal: '400',
  308. medium: '500',
  309. semibold: '600',
  310. bold: '700',
  311. extrabold: '800',
  312. black: '900',
  313. },
  314. height: theme => ({
  315. auto: 'auto',
  316. ...theme('spacing'),
  317. full: '100%',
  318. screen: '100vh',
  319. }),
  320. inset: {
  321. '0': '0',
  322. auto: 'auto',
  323. },
  324. letterSpacing: {
  325. tighter: '-0.05em',
  326. tight: '-0.025em',
  327. normal: '0',
  328. wide: '0.025em',
  329. wider: '0.05em',
  330. widest: '0.1em',
  331. },
  332. lineHeight: {
  333. none: '1',
  334. tight: '1.25',
  335. snug: '1.375',
  336. normal: '1.5',
  337. relaxed: '1.625',
  338. loose: '2',
  339. '3': '.75rem',
  340. '4': '1rem',
  341. '5': '1.25rem',
  342. '6': '1.5rem',
  343. '7': '1.75rem',
  344. '8': '2rem',
  345. '9': '2.25rem',
  346. '10': '2.5rem',
  347. },
  348. listStyleType: {
  349. none: 'none',
  350. disc: 'disc',
  351. decimal: 'decimal',
  352. },
  353. margin: (theme, { negative }) => ({
  354. auto: 'auto',
  355. ...theme('spacing'),
  356. ...negative(theme('spacing')),
  357. }),
  358. maxHeight: {
  359. full: '100%',
  360. screen: '100vh',
  361. 'screen-25': '25vh',
  362. 'screen-50': '50vh',
  363. 'screen-75': '75vh',
  364. },
  365. maxWidth: (theme, { breakpoints }) => ({
  366. none: 'none',
  367. xs: '20rem',
  368. sm: '24rem',
  369. md: '28rem',
  370. lg: '32rem',
  371. xl: '36rem',
  372. '2xl': '42rem',
  373. '3xl': '48rem',
  374. '4xl': '56rem',
  375. '5xl': '64rem',
  376. '6xl': '72rem',
  377. full: '100%',
  378. ...breakpoints(theme('screens')),
  379. }),
  380. minHeight: {
  381. '0': '0',
  382. full: '100%',
  383. screen: '100vh',
  384. },
  385. minWidth: {
  386. '0': '0',
  387. full: '100%',
  388. },
  389. objectPosition: {
  390. bottom: 'bottom',
  391. center: 'center',
  392. left: 'left',
  393. 'left-bottom': 'left bottom',
  394. 'left-top': 'left top',
  395. right: 'right',
  396. 'right-bottom': 'right bottom',
  397. 'right-top': 'right top',
  398. top: 'top',
  399. },
  400. opacity: {
  401. '0': '0',
  402. '25': '0.25',
  403. '50': '0.5',
  404. '75': '0.75',
  405. '100': '1',
  406. },
  407. order: {
  408. first: '-9999',
  409. last: '9999',
  410. none: '0',
  411. '1': '1',
  412. '2': '2',
  413. '3': '3',
  414. '4': '4',
  415. '5': '5',
  416. '6': '6',
  417. '7': '7',
  418. '8': '8',
  419. '9': '9',
  420. '10': '10',
  421. '11': '11',
  422. '12': '12',
  423. },
  424. padding: theme => theme('spacing'),
  425. placeholderColor: theme => theme('colors'),
  426. placeholderOpacity: theme => theme('opacity'),
  427. space: (theme, { negative }) => ({
  428. ...theme('spacing'),
  429. ...negative(theme('spacing')),
  430. }),
  431. stroke: {
  432. current: 'currentColor',
  433. },
  434. strokeWidth: {
  435. '0': '0',
  436. '1': '1',
  437. '2': '2',
  438. },
  439. textColor: theme => theme('colors'),
  440. textOpacity: theme => theme('opacity'),
  441. width: theme => ({
  442. auto: 'auto',
  443. ...theme('spacing'),
  444. '1/2': '50%',
  445. '1/3': '33.333333%',
  446. '2/3': '66.666667%',
  447. '1/4': '25%',
  448. '2/4': '50%',
  449. '3/4': '75%',
  450. '1/5': '20%',
  451. '2/5': '40%',
  452. '3/5': '60%',
  453. '4/5': '80%',
  454. '1/6': '16.666667%',
  455. '2/6': '33.333333%',
  456. '3/6': '50%',
  457. '4/6': '66.666667%',
  458. '5/6': '83.333333%',
  459. '1/12': '8.333333%',
  460. '2/12': '16.666667%',
  461. '3/12': '25%',
  462. '4/12': '33.333333%',
  463. '5/12': '41.666667%',
  464. '6/12': '50%',
  465. '7/12': '58.333333%',
  466. '8/12': '66.666667%',
  467. '9/12': '75%',
  468. '10/12': '83.333333%',
  469. '11/12': '91.666667%',
  470. full: '100%',
  471. screen: '100vw',
  472. }),
  473. zIndex: {
  474. auto: 'auto',
  475. '0': '0',
  476. '10': '10',
  477. '20': '20',
  478. '30': '30',
  479. '40': '40',
  480. '50': '50',
  481. },
  482. gap: theme => theme('spacing'),
  483. gridTemplateColumns: {
  484. none: 'none',
  485. '1': 'repeat(1, minmax(0, 1fr))',
  486. '2': 'repeat(2, minmax(0, 1fr))',
  487. '3': 'repeat(3, minmax(0, 1fr))',
  488. '4': 'repeat(4, minmax(0, 1fr))',
  489. '5': 'repeat(5, minmax(0, 1fr))',
  490. '6': 'repeat(6, minmax(0, 1fr))',
  491. '7': 'repeat(7, minmax(0, 1fr))',
  492. '8': 'repeat(8, minmax(0, 1fr))',
  493. '9': 'repeat(9, minmax(0, 1fr))',
  494. '10': 'repeat(10, minmax(0, 1fr))',
  495. '11': 'repeat(11, minmax(0, 1fr))',
  496. '12': 'repeat(12, minmax(0, 1fr))',
  497. },
  498. gridColumn: {
  499. auto: 'auto',
  500. 'span-1': 'span 1 / span 1',
  501. 'span-2': 'span 2 / span 2',
  502. 'span-3': 'span 3 / span 3',
  503. 'span-4': 'span 4 / span 4',
  504. 'span-5': 'span 5 / span 5',
  505. 'span-6': 'span 6 / span 6',
  506. 'span-7': 'span 7 / span 7',
  507. 'span-8': 'span 8 / span 8',
  508. 'span-9': 'span 9 / span 9',
  509. 'span-10': 'span 10 / span 10',
  510. 'span-11': 'span 11 / span 11',
  511. 'span-12': 'span 12 / span 12',
  512. },
  513. gridColumnStart: {
  514. auto: 'auto',
  515. '1': '1',
  516. '2': '2',
  517. '3': '3',
  518. '4': '4',
  519. '5': '5',
  520. '6': '6',
  521. '7': '7',
  522. '8': '8',
  523. '9': '9',
  524. '10': '10',
  525. '11': '11',
  526. '12': '12',
  527. '13': '13',
  528. },
  529. gridColumnEnd: {
  530. auto: 'auto',
  531. '1': '1',
  532. '2': '2',
  533. '3': '3',
  534. '4': '4',
  535. '5': '5',
  536. '6': '6',
  537. '7': '7',
  538. '8': '8',
  539. '9': '9',
  540. '10': '10',
  541. '11': '11',
  542. '12': '12',
  543. '13': '13',
  544. },
  545. gridTemplateRows: {
  546. none: 'none',
  547. '1': 'repeat(1, minmax(0, 1fr))',
  548. '2': 'repeat(2, minmax(0, 1fr))',
  549. '3': 'repeat(3, minmax(0, 1fr))',
  550. '4': 'repeat(4, minmax(0, 1fr))',
  551. '5': 'repeat(5, minmax(0, 1fr))',
  552. '6': 'repeat(6, minmax(0, 1fr))',
  553. },
  554. gridRow: {
  555. auto: 'auto',
  556. 'span-1': 'span 1 / span 1',
  557. 'span-2': 'span 2 / span 2',
  558. 'span-3': 'span 3 / span 3',
  559. 'span-4': 'span 4 / span 4',
  560. 'span-5': 'span 5 / span 5',
  561. 'span-6': 'span 6 / span 6',
  562. },
  563. gridRowStart: {
  564. auto: 'auto',
  565. '1': '1',
  566. '2': '2',
  567. '3': '3',
  568. '4': '4',
  569. '5': '5',
  570. '6': '6',
  571. '7': '7',
  572. },
  573. gridRowEnd: {
  574. auto: 'auto',
  575. '1': '1',
  576. '2': '2',
  577. '3': '3',
  578. '4': '4',
  579. '5': '5',
  580. '6': '6',
  581. '7': '7',
  582. },
  583. transformOrigin: {
  584. center: 'center',
  585. top: 'top',
  586. 'top-right': 'top right',
  587. right: 'right',
  588. 'bottom-right': 'bottom right',
  589. bottom: 'bottom',
  590. 'bottom-left': 'bottom left',
  591. left: 'left',
  592. 'top-left': 'top left',
  593. },
  594. scale: {
  595. '0': '0',
  596. '50': '.5',
  597. '75': '.75',
  598. '90': '.9',
  599. '95': '.95',
  600. '100': '1',
  601. '105': '1.05',
  602. '110': '1.1',
  603. '125': '1.25',
  604. '150': '1.5',
  605. },
  606. rotate: {
  607. '-180': '-180deg',
  608. '-90': '-90deg',
  609. '-45': '-45deg',
  610. '0': '0',
  611. '45': '45deg',
  612. '90': '90deg',
  613. '180': '180deg',
  614. },
  615. translate: (theme, { negative }) => ({
  616. ...theme('spacing'),
  617. ...negative(theme('spacing')),
  618. '-full': '-100%',
  619. '-1/2': '-50%',
  620. '1/2': '50%',
  621. full: '100%',
  622. }),
  623. skew: {
  624. '-12': '-12deg',
  625. '-6': '-6deg',
  626. '-3': '-3deg',
  627. '0': '0',
  628. '3': '3deg',
  629. '6': '6deg',
  630. '12': '12deg',
  631. },
  632. transitionProperty: {
  633. none: 'none',
  634. all: 'all',
  635. default: 'background-color, border-color, color, fill, stroke, opacity, box-shadow, transform',
  636. colors: 'background-color, border-color, color, fill, stroke',
  637. opacity: 'opacity',
  638. shadow: 'box-shadow',
  639. transform: 'transform',
  640. },
  641. transitionTimingFunction: {
  642. linear: 'linear',
  643. in: 'cubic-bezier(0.4, 0, 1, 1)',
  644. out: 'cubic-bezier(0, 0, 0.2, 1)',
  645. 'in-out': 'cubic-bezier(0.4, 0, 0.2, 1)',
  646. },
  647. transitionDuration: {
  648. '75': '75ms',
  649. '100': '100ms',
  650. '150': '150ms',
  651. '200': '200ms',
  652. '300': '300ms',
  653. '500': '500ms',
  654. '700': '700ms',
  655. '1000': '1000ms',
  656. },
  657. transitionDelay: {
  658. '75': '75ms',
  659. '100': '100ms',
  660. '150': '150ms',
  661. '200': '200ms',
  662. '300': '300ms',
  663. '500': '500ms',
  664. '700': '700ms',
  665. '1000': '1000ms',
  666. },
  667. animation: {
  668. none: 'none',
  669. spin: 'spin 1s linear infinite',
  670. ping: 'ping 1s cubic-bezier(0, 0, 0.2, 1) infinite',
  671. pulse: 'pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite',
  672. bounce: 'bounce 1s infinite',
  673. },
  674. keyframes: {
  675. spin: {
  676. to: { transform: 'rotate(360deg)' },
  677. },
  678. ping: {
  679. '75%, 100%': { transform: 'scale(2)', opacity: '0' },
  680. },
  681. pulse: {
  682. '50%': { opacity: '.5' },
  683. },
  684. bounce: {
  685. '0%, 100%': {
  686. transform: 'translateY(-25%)',
  687. animationTimingFunction: 'cubic-bezier(0.8,0,1,1)',
  688. },
  689. '50%': {
  690. transform: 'none',
  691. animationTimingFunction: 'cubic-bezier(0,0,0.2,1)',
  692. },
  693. },
  694. },
  695. customForms: theme => ({
  696. default: {
  697. input: {
  698. borderRadius: theme('borderRadius.lg'),
  699. borderWidth: theme('borderWidth.2'),
  700. backgroundColor: theme('colors.white'),
  701. '&:focus': {
  702. backgroundColor: theme('colors.secondary.100'),
  703. boxShadow: theme('boxShadow.outline'),
  704. outline: 'none',
  705. borderColor: theme('colors.transparent'),
  706. },
  707. '&:active': {
  708. backgroundColor: theme('colors.secondary.100'),
  709. }
  710. },
  711. textarea: {
  712. borderRadius: theme('borderRadius.lg'),
  713. borderWidth: theme('borderWidth.2'),
  714. backgroundColor: theme('colors.white'),
  715. '&:focus': {
  716. backgroundColor: theme('colors.secondary.100'),
  717. boxShadow: theme('boxShadow.outline'),
  718. outline: 'none',
  719. borderColor: theme('colors.transparent'),
  720. },
  721. '&:active': {
  722. backgroundColor: theme('colors.secondary.100'),
  723. }
  724. },
  725. select: {
  726. borderWidth: theme('borderWidth.2'),
  727. borderRadius: theme('borderRadius.lg'),
  728. '&:focus': {
  729. boxShadow: theme('boxShadow.outline'),
  730. backgroundColor: theme('colors.secondary.100'),
  731. outline: 'none',
  732. borderColor: theme('colors.transparent'),
  733. },
  734. '&:active': {
  735. backgroundColor: theme('colors.secondary.100'),
  736. }
  737. },
  738. checkbox: {
  739. borderWidth: theme('borderWidth.2'),
  740. width: theme('spacing.6'),
  741. height: theme('spacing.6'),
  742. '&:focus': {
  743. boxShadow: theme('boxShadow.outline'),
  744. outline: 'none',
  745. borderColor: theme('colors.transparent'),
  746. },
  747. },
  748. radio: {
  749. iconColor: theme('colors.primary.800'),
  750. '&:focus': {
  751. boxShadow: theme('boxShadow.outline'),
  752. outline: 'none',
  753. borderColor: theme('colors.transparent'),
  754. },
  755. },
  756. },
  757. }),
  758. filter: { // defaults to {}
  759. 'none': 'none',
  760. 'grayscale': 'grayscale(1)',
  761. 'invert': 'invert(1)',
  762. 'sepia': 'sepia(1)',
  763. },
  764. backdropFilter: { // defaults to {}
  765. 'none': 'none',
  766. 'blur': 'blur(20px)',
  767. },
  768. },
  769. variants: {
  770. accessibility: ['responsive', 'focus'],
  771. alignContent: ['responsive'],
  772. alignItems: ['responsive'],
  773. alignSelf: ['responsive'],
  774. appearance: ['responsive'],
  775. backgroundAttachment: ['responsive'],
  776. backgroundClip: ['responsive'],
  777. backgroundColor: ['responsive', 'hover', 'focus', 'active', 'disabled'],
  778. backgroundImage: ['responsive'],
  779. gradientColorStops: ['responsive', 'hover', 'focus'],
  780. backgroundOpacity: ['responsive', 'hover', 'focus'],
  781. backgroundPosition: ['responsive'],
  782. backgroundRepeat: ['responsive'],
  783. backgroundSize: ['responsive'],
  784. borderCollapse: ['responsive'],
  785. borderColor: ['responsive', 'hover', 'focus'],
  786. borderOpacity: ['responsive', 'hover', 'focus'],
  787. borderRadius: ['responsive'],
  788. borderStyle: ['responsive'],
  789. borderWidth: ['responsive'],
  790. boxShadow: ['responsive', 'hover', 'focus', 'active', 'disabled'],
  791. boxSizing: ['responsive'],
  792. container: ['responsive'],
  793. cursor: ['responsive', 'disabled'],
  794. display: ['responsive'],
  795. divideColor: ['responsive'],
  796. divideOpacity: ['responsive'],
  797. divideStyle: ['responsive'],
  798. divideWidth: ['responsive'],
  799. fill: ['responsive'],
  800. flex: ['responsive'],
  801. flexDirection: ['responsive'],
  802. flexGrow: ['responsive'],
  803. flexShrink: ['responsive'],
  804. flexWrap: ['responsive'],
  805. float: ['responsive'],
  806. clear: ['responsive'],
  807. fontFamily: ['responsive'],
  808. fontSize: ['responsive'],
  809. fontSmoothing: ['responsive'],
  810. fontVariantNumeric: ['responsive'],
  811. fontStyle: ['responsive'],
  812. fontWeight: ['responsive', 'hover', 'focus'],
  813. height: ['responsive'],
  814. inset: ['responsive'],
  815. justifyContent: ['responsive'],
  816. justifyItems: ['responsive'],
  817. justifySelf: ['responsive'],
  818. letterSpacing: ['responsive'],
  819. lineHeight: ['responsive'],
  820. listStylePosition: ['responsive'],
  821. listStyleType: ['responsive'],
  822. margin: ['responsive'],
  823. maxHeight: ['responsive'],
  824. maxWidth: ['responsive'],
  825. minHeight: ['responsive'],
  826. minWidth: ['responsive'],
  827. objectFit: ['responsive'],
  828. objectPosition: ['responsive'],
  829. opacity: ['responsive', 'hover', 'focus', 'disabled'],
  830. order: ['responsive'],
  831. outline: ['responsive', 'focus'],
  832. overflow: ['responsive'],
  833. overscrollBehavior: ['responsive'],
  834. padding: ['responsive'],
  835. placeContent: ['responsive'],
  836. placeItems: ['responsive'],
  837. placeSelf: ['responsive'],
  838. placeholderColor: ['responsive', 'focus'],
  839. placeholderOpacity: ['responsive', 'focus'],
  840. pointerEvents: ['responsive'],
  841. position: ['responsive'],
  842. resize: ['responsive'],
  843. space: ['responsive'],
  844. stroke: ['responsive'],
  845. strokeWidth: ['responsive'],
  846. tableLayout: ['responsive'],
  847. textAlign: ['responsive'],
  848. textColor: ['responsive', 'hover', 'focus'],
  849. textOpacity: ['responsive', 'hover', 'focus'],
  850. textDecoration: ['responsive', 'hover', 'focus'],
  851. textTransform: ['responsive'],
  852. userSelect: ['responsive'],
  853. verticalAlign: ['responsive'],
  854. visibility: ['responsive'],
  855. whitespace: ['responsive'],
  856. width: ['responsive'],
  857. wordBreak: ['responsive'],
  858. zIndex: ['responsive'],
  859. gap: ['responsive'],
  860. gridAutoFlow: ['responsive'],
  861. gridTemplateColumns: ['responsive'],
  862. gridColumn: ['responsive'],
  863. gridColumnStart: ['responsive'],
  864. gridColumnEnd: ['responsive'],
  865. gridTemplateRows: ['responsive'],
  866. gridRow: ['responsive'],
  867. gridRowStart: ['responsive'],
  868. gridRowEnd: ['responsive'],
  869. transform: ['responsive'],
  870. transformOrigin: ['responsive'],
  871. scale: ['responsive', 'hover', 'focus'],
  872. rotate: ['responsive', 'hover', 'focus'],
  873. translate: ['responsive', 'hover', 'focus', 'active', 'disabled'],
  874. skew: ['responsive', 'hover', 'focus'],
  875. transitionProperty: ['responsive'],
  876. transitionTimingFunction: ['responsive'],
  877. transitionDuration: ['responsive'],
  878. transitionDelay: ['responsive'],
  879. animation: ['responsive'],
  880. filter: ['responsive'], // defaults to ['responsive']
  881. backdropFilter: ['responsive'], // defaults to ['responsive']
  882. },
  883. corePlugins: {},
  884. plugins: [
  885. require('@tailwindcss/custom-forms'),
  886. require('tailwindcss-filters'),
  887. ],
  888. }