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.

925 satır
27KB

  1. /*
  2. Tailwind - The Utility-First CSS Framework
  3. A project by Adam Wathan (@adamwathan), Jonathan Reinink (@reinink),
  4. David Hemphill (@davidhemphill) and Steve Schoger (@steveschoger).
  5. Welcome to the Tailwind config file. This is where you can customize
  6. Tailwind specifically for your project. Don't be intimidated by the
  7. length of this file. It's really just a big JavaScript object and
  8. we've done our very best to explain each section.
  9. View the full documentation at https://tailwindcss.com.
  10. |-------------------------------------------------------------------------------
  11. | The default config
  12. |-------------------------------------------------------------------------------
  13. |
  14. | This variable contains the default Tailwind config. You don't have
  15. | to use it, but it can sometimes be helpful to have available. For
  16. | example, you may choose to merge your custom configuration
  17. | values with some of the Tailwind defaults.
  18. |
  19. */
  20. // let defaultConfig = require('tailwindcss/defaultConfig')()
  21. /*
  22. |-------------------------------------------------------------------------------
  23. | Colors https://tailwindcss.com/docs/colors
  24. |-------------------------------------------------------------------------------
  25. |
  26. | Here you can specify the colors used in your project. To get you started,
  27. | we've provided a generous palette of great looking colors that are perfect
  28. | for prototyping, but don't hesitate to change them for your project. You
  29. | own these colors, nothing will break if you change everything about them.
  30. |
  31. | We've used literal color names ("red", "blue", etc.) for the default
  32. | palette, but if you'd rather use functional names like "primary" and
  33. | "secondary", or even a numeric scale like "100" and "200", go for it.
  34. |
  35. */
  36. let colors = {
  37. 'transparent': 'transparent',
  38. 'black': '#22292f',
  39. 'grey-darkest': '#3d4852',
  40. 'grey-darker': '#606f7b',
  41. 'grey-dark': '#8795a1',
  42. 'grey': '#b8c2cc',
  43. 'grey-light': '#dae1e7',
  44. 'grey-lighter': '#f1f5f8',
  45. 'grey-lightest': '#f8fafc',
  46. 'white': '#ffffff',
  47. 'red-darkest': '#3b0d0c',
  48. 'red-darker': '#621b18',
  49. 'red-dark': '#cc1f1a',
  50. 'red': '#e3342f',
  51. 'red-light': '#ef5753',
  52. 'red-lighter': '#f9acaa',
  53. 'red-lightest': '#fcebea',
  54. 'orange-darkest': '#462a16',
  55. 'orange-darker': '#613b1f',
  56. 'orange-dark': '#de751f',
  57. 'orange': '#f6993f',
  58. 'orange-light': '#faad63',
  59. 'orange-lighter': '#fcd9b6',
  60. 'orange-lightest': '#fff5eb',
  61. 'yellow-darkest': '#453411',
  62. 'yellow-darker': '#684f1d',
  63. 'yellow-dark': '#f2d024',
  64. 'yellow': '#ffed4a',
  65. 'yellow-light': '#fff382',
  66. 'yellow-lighter': '#fff9c2',
  67. 'yellow-lightest': '#fcfbeb',
  68. 'green-darkest': '#0f2f21',
  69. 'green-darker': '#1a4731',
  70. 'green-dark': '#1f9d55',
  71. 'green': '#38c172',
  72. 'green-light': '#51d88a',
  73. 'green-lighter': '#a2f5bf',
  74. 'green-lightest': '#e3fcec',
  75. 'teal-darkest': '#0d3331',
  76. 'teal-darker': '#20504f',
  77. 'teal-dark': '#38a89d',
  78. 'teal': '#4dc0b5',
  79. 'teal-light': '#64d5ca',
  80. 'teal-lighter': '#a0f0ed',
  81. 'teal-lightest': '#e8fffe',
  82. 'blue-darkest': '#12283a',
  83. 'blue-darker': '#1c3d5a',
  84. 'blue-dark': '#2779bd',
  85. 'blue': '#3490dc',
  86. 'blue-light': '#6cb2eb',
  87. 'blue-lighter': '#bcdefa',
  88. 'blue-lightest': '#eff8ff',
  89. 'indigo-darkest': '#191e38',
  90. 'indigo-darker': '#2f365f',
  91. 'indigo-dark': '#5661b3',
  92. 'indigo': '#6574cd',
  93. 'indigo-light': '#7886d7',
  94. 'indigo-lighter': '#b2b7ff',
  95. 'indigo-lightest': '#e6e8ff',
  96. 'purple-darkest': '#21183c',
  97. 'purple-darker': '#382b5f',
  98. 'purple-dark': '#794acf',
  99. 'purple': '#9561e2',
  100. 'purple-light': '#a779e9',
  101. 'purple-lighter': '#d6bbfc',
  102. 'purple-lightest': '#f3ebff',
  103. 'pink-darkest': '#451225',
  104. 'pink-darker': '#6f213f',
  105. 'pink-dark': '#eb5286',
  106. 'pink': '#f66d9b',
  107. 'pink-light': '#fa7ea8',
  108. 'pink-lighter': '#ffbbca',
  109. 'pink-lightest': '#ffebef'
  110. }
  111. module.exports = {
  112. /*
  113. |-----------------------------------------------------------------------------
  114. | Colors https://tailwindcss.com/docs/colors
  115. |-----------------------------------------------------------------------------
  116. |
  117. | The color palette defined above is also assigned to the "colors" key of
  118. | your Tailwind config. This makes it easy to access them in your CSS
  119. | using Tailwind's config helper. For example:
  120. |
  121. | .error { color: config('colors.red') }
  122. |
  123. */
  124. colors: colors,
  125. /*
  126. |-----------------------------------------------------------------------------
  127. | Screens https://tailwindcss.com/docs/responsive-design
  128. |-----------------------------------------------------------------------------
  129. |
  130. | Screens in Tailwind are translated to CSS media queries. They define the
  131. | responsive breakpoints for your project. By default Tailwind takes a
  132. | "mobile first" approach, where each screen size represents a minimum
  133. | viewport width. Feel free to have as few or as many screens as you
  134. | want, naming them in whatever way you'd prefer for your project.
  135. |
  136. | Tailwind also allows for more complex screen definitions, which can be
  137. | useful in certain situations. Be sure to see the full responsive
  138. | documentation for a complete list of options.
  139. |
  140. | Class name: .{screen}:{utility}
  141. |
  142. */
  143. screens: {
  144. 'sm': '576px',
  145. 'md': '768px',
  146. 'lg': '992px',
  147. 'xl': '1200px'
  148. },
  149. /*
  150. |-----------------------------------------------------------------------------
  151. | Fonts https://tailwindcss.com/docs/fonts
  152. |-----------------------------------------------------------------------------
  153. |
  154. | Here is where you define your project's font stack, or font families.
  155. | Keep in mind that Tailwind doesn't actually load any fonts for you.
  156. | If you're using custom fonts you'll need to import them prior to
  157. | defining them here.
  158. |
  159. | By default we provide a native font stack that works remarkably well on
  160. | any device or OS you're using, since it just uses the default fonts
  161. | provided by the platform.
  162. |
  163. | Class name: .font-{name}
  164. |
  165. */
  166. fonts: {
  167. 'sans': [
  168. 'Inter',
  169. 'system-ui',
  170. 'BlinkMacSystemFont',
  171. '-apple-system',
  172. 'Segoe UI',
  173. 'Roboto',
  174. 'Oxygen',
  175. 'Ubuntu',
  176. 'Cantarell',
  177. 'Fira Sans',
  178. 'Droid Sans',
  179. 'Helvetica Neue',
  180. 'sans-serif'
  181. ],
  182. 'serif': [
  183. 'Playfair Display',
  184. 'Constantia',
  185. 'Lucida Bright',
  186. 'Lucidabright',
  187. 'Lucida Serif',
  188. 'Lucida',
  189. 'DejaVu Serif',
  190. 'Bitstream Vera Serif',
  191. 'Liberation Serif',
  192. 'Georgia',
  193. 'serif'
  194. ],
  195. 'mono': [
  196. 'Menlo',
  197. 'Monaco',
  198. 'Consolas',
  199. 'Liberation Mono',
  200. 'Courier New',
  201. 'monospace'
  202. ]
  203. },
  204. /*
  205. |-----------------------------------------------------------------------------
  206. | Text sizes https://tailwindcss.com/docs/text-sizing
  207. |-----------------------------------------------------------------------------
  208. |
  209. | Here is where you define your text sizes. Name these in whatever way
  210. | makes the most sense to you. We use size names by default, but
  211. | you're welcome to use a numeric scale or even something else
  212. | entirely.
  213. |
  214. | By default Tailwind uses the "rem" unit type for most measurements.
  215. | This allows you to set a root font size which all other sizes are
  216. | then based on. That said, you are free to use whatever units you
  217. | prefer, be it rems, ems, pixels or other.
  218. |
  219. | Class name: .text-{size}
  220. |
  221. */
  222. textSizes: {
  223. 'xs': '.75rem', // 12px
  224. 'sm': '.875rem', // 14px
  225. 'base': '1rem', // 16px
  226. 'lg': '1.125rem', // 18px
  227. 'xl': '1.25rem', // 20px
  228. '2xl': '1.5rem', // 24px
  229. '3xl': '1.875rem', // 30px
  230. '4xl': '2.25rem', // 36px
  231. '5xl': '3rem' // 48px
  232. },
  233. /*
  234. |-----------------------------------------------------------------------------
  235. | Font weights https://tailwindcss.com/docs/font-weight
  236. |-----------------------------------------------------------------------------
  237. |
  238. | Here is where you define your font weights. We've provided a list of
  239. | common font weight names with their respective numeric scale values
  240. | to get you started. It's unlikely that your project will require
  241. | all of these, so we recommend removing those you don't need.
  242. |
  243. | Class name: .font-{weight}
  244. |
  245. */
  246. fontWeights: {
  247. 'hairline': 100,
  248. 'thin': 200,
  249. 'light': 300,
  250. 'normal': 400,
  251. 'medium': 500,
  252. 'semibold': 600,
  253. 'bold': 700,
  254. 'extrabold': 800,
  255. 'black': 900
  256. },
  257. /*
  258. |-----------------------------------------------------------------------------
  259. | Leading (line height) https://tailwindcss.com/docs/line-height
  260. |-----------------------------------------------------------------------------
  261. |
  262. | Here is where you define your line height values, or as we call
  263. | them in Tailwind, leadings.
  264. |
  265. | Class name: .leading-{size}
  266. |
  267. */
  268. leading: {
  269. 'none': 1,
  270. 'tight': 1.25,
  271. 'normal': 1.5,
  272. 'loose': 2
  273. },
  274. /*
  275. |-----------------------------------------------------------------------------
  276. | Tracking (letter spacing) https://tailwindcss.com/docs/letter-spacing
  277. |-----------------------------------------------------------------------------
  278. |
  279. | Here is where you define your letter spacing values, or as we call
  280. | them in Tailwind, tracking.
  281. |
  282. | Class name: .tracking-{size}
  283. |
  284. */
  285. tracking: {
  286. 'tight': '-0.05em',
  287. 'normal': '0',
  288. 'wide': '0.05em'
  289. },
  290. /*
  291. |-----------------------------------------------------------------------------
  292. | Text colors https://tailwindcss.com/docs/text-color
  293. |-----------------------------------------------------------------------------
  294. |
  295. | Here is where you define your text colors. By default these use the
  296. | color palette we defined above, however you're welcome to set these
  297. | independently if that makes sense for your project.
  298. |
  299. | Class name: .text-{color}
  300. |
  301. */
  302. textColors: colors,
  303. /*
  304. |-----------------------------------------------------------------------------
  305. | Background colors https://tailwindcss.com/docs/background-color
  306. |-----------------------------------------------------------------------------
  307. |
  308. | Here is where you define your background colors. By default these use
  309. | the color palette we defined above, however you're welcome to set
  310. | these independently if that makes sense for your project.
  311. |
  312. | Class name: .bg-{color}
  313. |
  314. */
  315. backgroundColors: colors,
  316. /*
  317. |-----------------------------------------------------------------------------
  318. | Background sizes https://tailwindcss.com/docs/background-size
  319. |-----------------------------------------------------------------------------
  320. |
  321. | Here is where you define your background sizes. We provide some common
  322. | values that are useful in most projects, but feel free to add other sizes
  323. | that are specific to your project here as well.
  324. |
  325. | Class name: .bg-{size}
  326. |
  327. */
  328. backgroundSize: {
  329. 'auto': 'auto',
  330. 'cover': 'cover',
  331. 'contain': 'contain'
  332. },
  333. /*
  334. |-----------------------------------------------------------------------------
  335. | Border widths https://tailwindcss.com/docs/border-width
  336. |-----------------------------------------------------------------------------
  337. |
  338. | Here is where you define your border widths. Take note that border
  339. | widths require a special "default" value set as well. This is the
  340. | width that will be used when you do not specify a border width.
  341. |
  342. | Class name: .border{-side?}{-width?}
  343. |
  344. */
  345. borderWidths: {
  346. default: '1px',
  347. '0': '0',
  348. '2': '2px',
  349. '4': '4px',
  350. '8': '8px'
  351. },
  352. /*
  353. |-----------------------------------------------------------------------------
  354. | Border colors https://tailwindcss.com/docs/border-color
  355. |-----------------------------------------------------------------------------
  356. |
  357. | Here is where you define your border colors. By default these use the
  358. | color palette we defined above, however you're welcome to set these
  359. | independently if that makes sense for your project.
  360. |
  361. | Take note that border colors require a special "default" value set
  362. | as well. This is the color that will be used when you do not
  363. | specify a border color.
  364. |
  365. | Class name: .border-{color}
  366. |
  367. */
  368. borderColors: global.Object.assign({ default: colors['grey-light'] }, colors),
  369. /*
  370. |-----------------------------------------------------------------------------
  371. | Border radius https://tailwindcss.com/docs/border-radius
  372. |-----------------------------------------------------------------------------
  373. |
  374. | Here is where you define your border radius values. If a `default` radius
  375. | is provided, it will be made available as the non-suffixed `.rounded`
  376. | utility.
  377. |
  378. | If your scale includes a `0` value to reset already rounded corners, it's
  379. | a good idea to put it first so other values are able to override it.
  380. |
  381. | Class name: .rounded{-side?}{-size?}
  382. |
  383. */
  384. borderRadius: {
  385. 'none': '0',
  386. 'sm': '.125rem',
  387. default: '.25rem',
  388. 'lg': '.5rem',
  389. 'full': '9999px'
  390. },
  391. /*
  392. |-----------------------------------------------------------------------------
  393. | Width https://tailwindcss.com/docs/width
  394. |-----------------------------------------------------------------------------
  395. |
  396. | Here is where you define your width utility sizes. These can be
  397. | percentage based, pixels, rems, or any other units. By default
  398. | we provide a sensible rem based numeric scale, a percentage
  399. | based fraction scale, plus some other common use-cases. You
  400. | can, of course, modify these values as needed.
  401. |
  402. |
  403. | It's also worth mentioning that Tailwind automatically escapes
  404. | invalid CSS class name characters, which allows you to have
  405. | awesome classes like .w-2/3.
  406. |
  407. | Class name: .w-{size}
  408. |
  409. */
  410. width: {
  411. 'auto': 'auto',
  412. 'px': '1px',
  413. '1': '0.25rem',
  414. '2': '0.5rem',
  415. '3': '0.75rem',
  416. '4': '1rem',
  417. '5': '1.25rem',
  418. '6': '1.5rem',
  419. '8': '2rem',
  420. '10': '2.5rem',
  421. '12': '3rem',
  422. '16': '4rem',
  423. '24': '6rem',
  424. '32': '8rem',
  425. '48': '12rem',
  426. '64': '16rem',
  427. '1/2': '50%',
  428. '1/3': '33.33333%',
  429. '2/3': '66.66667%',
  430. '1/4': '25%',
  431. '3/4': '75%',
  432. '1/5': '20%',
  433. '2/5': '40%',
  434. '3/5': '60%',
  435. '4/5': '80%',
  436. '1/6': '16.66667%',
  437. '5/6': '83.33333%',
  438. 'full': '100%',
  439. 'screen': '100vw'
  440. },
  441. /*
  442. |-----------------------------------------------------------------------------
  443. | Height https://tailwindcss.com/docs/height
  444. |-----------------------------------------------------------------------------
  445. |
  446. | Here is where you define your height utility sizes. These can be
  447. | percentage based, pixels, rems, or any other units. By default
  448. | we provide a sensible rem based numeric scale plus some other
  449. | common use-cases. You can, of course, modify these values as
  450. | needed.
  451. |
  452. | Class name: .h-{size}
  453. |
  454. */
  455. height: {
  456. 'auto': 'auto',
  457. 'px': '1px',
  458. '1': '0.25rem',
  459. '2': '0.5rem',
  460. '3': '0.75rem',
  461. '4': '1rem',
  462. '5': '1.25rem',
  463. '6': '1.5rem',
  464. '8': '2rem',
  465. '10': '2.5rem',
  466. '12': '3rem',
  467. '16': '4rem',
  468. '24': '6rem',
  469. '32': '8rem',
  470. '48': '12rem',
  471. '64': '16rem',
  472. 'full': '100%',
  473. 'screen': '100vh'
  474. },
  475. /*
  476. |-----------------------------------------------------------------------------
  477. | Minimum width https://tailwindcss.com/docs/min-width
  478. |-----------------------------------------------------------------------------
  479. |
  480. | Here is where you define your minimum width utility sizes. These can
  481. | be percentage based, pixels, rems, or any other units. We provide a
  482. | couple common use-cases by default. You can, of course, modify
  483. | these values as needed.
  484. |
  485. | Class name: .min-w-{size}
  486. |
  487. */
  488. minWidth: {
  489. '0': '0',
  490. 'full': '100%'
  491. },
  492. /*
  493. |-----------------------------------------------------------------------------
  494. | Minimum height https://tailwindcss.com/docs/min-height
  495. |-----------------------------------------------------------------------------
  496. |
  497. | Here is where you define your minimum height utility sizes. These can
  498. | be percentage based, pixels, rems, or any other units. We provide a
  499. | few common use-cases by default. You can, of course, modify these
  500. | values as needed.
  501. |
  502. | Class name: .min-h-{size}
  503. |
  504. */
  505. minHeight: {
  506. '0': '0',
  507. 'full': '100%',
  508. 'screen': '100vh'
  509. },
  510. /*
  511. |-----------------------------------------------------------------------------
  512. | Maximum width https://tailwindcss.com/docs/max-width
  513. |-----------------------------------------------------------------------------
  514. |
  515. | Here is where you define your maximum width utility sizes. These can
  516. | be percentage based, pixels, rems, or any other units. By default
  517. | we provide a sensible rem based scale and a "full width" size,
  518. | which is basically a reset utility. You can, of course,
  519. | modify these values as needed.
  520. |
  521. | Class name: .max-w-{size}
  522. |
  523. */
  524. maxWidth: {
  525. 'xs': '20rem',
  526. 'sm': '30rem',
  527. 'md': '40rem',
  528. 'lg': '50rem',
  529. 'xl': '60rem',
  530. '2xl': '70rem',
  531. '3xl': '80rem',
  532. '4xl': '90rem',
  533. '5xl': '100rem',
  534. 'full': '100%'
  535. },
  536. /*
  537. |-----------------------------------------------------------------------------
  538. | Maximum height https://tailwindcss.com/docs/max-height
  539. |-----------------------------------------------------------------------------
  540. |
  541. | Here is where you define your maximum height utility sizes. These can
  542. | be percentage based, pixels, rems, or any other units. We provide a
  543. | couple common use-cases by default. You can, of course, modify
  544. | these values as needed.
  545. |
  546. | Class name: .max-h-{size}
  547. |
  548. */
  549. maxHeight: {
  550. 'full': '100%',
  551. 'screen': '100vh'
  552. },
  553. /*
  554. |-----------------------------------------------------------------------------
  555. | Padding https://tailwindcss.com/docs/padding
  556. |-----------------------------------------------------------------------------
  557. |
  558. | Here is where you define your padding utility sizes. These can be
  559. | percentage based, pixels, rems, or any other units. By default we
  560. | provide a sensible rem based numeric scale plus a couple other
  561. | common use-cases like "1px". You can, of course, modify these
  562. | values as needed.
  563. |
  564. | Class name: .p{side?}-{size}
  565. |
  566. */
  567. padding: {
  568. 'px': '1px',
  569. '0': '0',
  570. '1': '0.25rem',
  571. '2': '0.5rem',
  572. '3': '0.75rem',
  573. '4': '1rem',
  574. '5': '1.25rem',
  575. '6': '1.5rem',
  576. '8': '2rem',
  577. '10': '2.5rem',
  578. '12': '3rem',
  579. '16': '4rem',
  580. '20': '5rem',
  581. '24': '6rem',
  582. '32': '8rem'
  583. },
  584. /*
  585. |-----------------------------------------------------------------------------
  586. | Margin https://tailwindcss.com/docs/margin
  587. |-----------------------------------------------------------------------------
  588. |
  589. | Here is where you define your margin utility sizes. These can be
  590. | percentage based, pixels, rems, or any other units. By default we
  591. | provide a sensible rem based numeric scale plus a couple other
  592. | common use-cases like "1px". You can, of course, modify these
  593. | values as needed.
  594. |
  595. | Class name: .m{side?}-{size}
  596. |
  597. */
  598. margin: {
  599. 'auto': 'auto',
  600. 'px': '1px',
  601. '0': '0',
  602. '1': '0.25rem',
  603. '2': '0.5rem',
  604. '3': '0.75rem',
  605. '4': '1rem',
  606. '5': '1.25rem',
  607. '6': '1.5rem',
  608. '8': '2rem',
  609. '10': '2.5rem',
  610. '12': '3rem',
  611. '16': '4rem',
  612. '20': '5rem',
  613. '24': '6rem',
  614. '32': '8rem'
  615. },
  616. /*
  617. |-----------------------------------------------------------------------------
  618. | Negative margin https://tailwindcss.com/docs/negative-margin
  619. |-----------------------------------------------------------------------------
  620. |
  621. | Here is where you define your negative margin utility sizes. These can
  622. | be percentage based, pixels, rems, or any other units. By default we
  623. | provide matching values to the padding scale since these utilities
  624. | generally get used together. You can, of course, modify these
  625. | values as needed.
  626. |
  627. | Class name: .-m{side?}-{size}
  628. |
  629. */
  630. negativeMargin: {
  631. 'px': '1px',
  632. '0': '0',
  633. '1': '0.25rem',
  634. '2': '0.5rem',
  635. '3': '0.75rem',
  636. '4': '1rem',
  637. '5': '1.25rem',
  638. '6': '1.5rem',
  639. '8': '2rem',
  640. '10': '2.5rem',
  641. '12': '3rem',
  642. '16': '4rem',
  643. '20': '5rem',
  644. '24': '6rem',
  645. '32': '8rem'
  646. },
  647. /*
  648. |-----------------------------------------------------------------------------
  649. | Shadows https://tailwindcss.com/docs/shadows
  650. |-----------------------------------------------------------------------------
  651. |
  652. | Here is where you define your shadow utilities. As you can see from
  653. | the defaults we provide, it's possible to apply multiple shadows
  654. | per utility using comma separation.
  655. |
  656. | If a `default` shadow is provided, it will be made available as the non-
  657. | suffixed `.shadow` utility.
  658. |
  659. | Class name: .shadow-{size?}
  660. |
  661. */
  662. shadows: {
  663. default: '0 2px 4px 0 rgba(0,0,0,0.10)',
  664. 'md': '0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08)',
  665. 'lg': '0 15px 30px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08)',
  666. 'inner': 'inset 0 2px 4px 0 rgba(0,0,0,0.06)',
  667. 'outline': '0 0 0 3px rgba(52,144,220,0.5)',
  668. 'none': 'none'
  669. },
  670. /*
  671. |-----------------------------------------------------------------------------
  672. | Z-index https://tailwindcss.com/docs/z-index
  673. |-----------------------------------------------------------------------------
  674. |
  675. | Here is where you define your z-index utility values. By default we
  676. | provide a sensible numeric scale. You can, of course, modify these
  677. | values as needed.
  678. |
  679. | Class name: .z-{index}
  680. |
  681. */
  682. zIndex: {
  683. 'auto': 'auto',
  684. '0': 0,
  685. '10': 10,
  686. '20': 20,
  687. '30': 30,
  688. '40': 40,
  689. '50': 50
  690. },
  691. /*
  692. |-----------------------------------------------------------------------------
  693. | Opacity https://tailwindcss.com/docs/opacity
  694. |-----------------------------------------------------------------------------
  695. |
  696. | Here is where you define your opacity utility values. By default we
  697. | provide a sensible numeric scale. You can, of course, modify these
  698. | values as needed.
  699. |
  700. | Class name: .opacity-{name}
  701. |
  702. */
  703. opacity: {
  704. '0': '0',
  705. '25': '.25',
  706. '50': '.5',
  707. '75': '.75',
  708. '100': '1'
  709. },
  710. /*
  711. |-----------------------------------------------------------------------------
  712. | SVG fill https://tailwindcss.com/docs/svg
  713. |-----------------------------------------------------------------------------
  714. |
  715. | Here is where you define your SVG fill colors. By default we just provide
  716. | `fill-current` which sets the fill to the current text color. This lets you
  717. | specify a fill color using existing text color utilities and helps keep the
  718. | generated CSS file size down.
  719. |
  720. | Class name: .fill-{name}
  721. |
  722. */
  723. svgFill: {
  724. 'current': 'currentColor'
  725. },
  726. /*
  727. |-----------------------------------------------------------------------------
  728. | SVG stroke https://tailwindcss.com/docs/svg
  729. |-----------------------------------------------------------------------------
  730. |
  731. | Here is where you define your SVG stroke colors. By default we just provide
  732. | `stroke-current` which sets the stroke to the current text color. This lets
  733. | you specify a stroke color using existing text color utilities and helps
  734. | keep the generated CSS file size down.
  735. |
  736. | Class name: .stroke-{name}
  737. |
  738. */
  739. svgStroke: {
  740. 'current': 'currentColor'
  741. },
  742. /*
  743. |-----------------------------------------------------------------------------
  744. | Modules https://tailwindcss.com/docs/configuration#modules
  745. |-----------------------------------------------------------------------------
  746. |
  747. | Here is where you control which modules are generated and what variants are
  748. | generated for each of those modules.
  749. |
  750. | Currently supported variants:
  751. | - responsive
  752. | - hover
  753. | - focus
  754. | - focus-within
  755. | - active
  756. | - group-hover
  757. |
  758. | To disable a module completely, use `false` instead of an array.
  759. |
  760. */
  761. modules: {
  762. appearance: ['responsive'],
  763. backgroundAttachment: ['responsive'],
  764. backgroundColors: ['responsive', 'hover', 'focus'],
  765. backgroundPosition: ['responsive'],
  766. backgroundRepeat: ['responsive'],
  767. backgroundSize: ['responsive'],
  768. borderCollapse: [],
  769. borderColors: ['responsive', 'hover', 'focus'],
  770. borderRadius: ['responsive'],
  771. borderStyle: ['responsive'],
  772. borderWidths: ['responsive'],
  773. cursor: ['responsive'],
  774. display: ['responsive'],
  775. flexbox: ['responsive'],
  776. float: ['responsive'],
  777. fonts: ['responsive'],
  778. fontWeights: ['responsive', 'hover', 'focus'],
  779. height: ['responsive'],
  780. leading: ['responsive'],
  781. lists: ['responsive'],
  782. margin: ['responsive'],
  783. maxHeight: ['responsive'],
  784. maxWidth: ['responsive'],
  785. minHeight: ['responsive'],
  786. minWidth: ['responsive'],
  787. negativeMargin: ['responsive'],
  788. opacity: ['responsive'],
  789. outline: ['focus'],
  790. overflow: ['responsive'],
  791. padding: ['responsive'],
  792. pointerEvents: ['responsive'],
  793. position: ['responsive'],
  794. resize: ['responsive'],
  795. shadows: ['responsive', 'hover', 'focus'],
  796. svgFill: [],
  797. svgStroke: [],
  798. tableLayout: ['responsive'],
  799. textAlign: ['responsive'],
  800. textColors: ['responsive', 'hover', 'focus'],
  801. textSizes: ['responsive'],
  802. textStyle: ['responsive', 'hover', 'focus'],
  803. tracking: ['responsive'],
  804. userSelect: ['responsive'],
  805. verticalAlign: ['responsive'],
  806. visibility: ['responsive'],
  807. whitespace: ['responsive'],
  808. width: ['responsive'],
  809. zIndex: ['responsive']
  810. },
  811. /*
  812. |-----------------------------------------------------------------------------
  813. | Plugins https://tailwindcss.com/docs/plugins
  814. |-----------------------------------------------------------------------------
  815. |
  816. | Here is where you can register any plugins you'd like to use in your
  817. | project. Tailwind's built-in `container` plugin is enabled by default to
  818. | give you a Bootstrap-style responsive container component out of the box.
  819. |
  820. | Be sure to view the complete plugin documentation to learn more about how
  821. | the plugin system works.
  822. |
  823. */
  824. plugins: [
  825. require('tailwindcss/plugins/container')({
  826. // center: true,
  827. // padding: '1rem',
  828. })
  829. ],
  830. /*
  831. |-----------------------------------------------------------------------------
  832. | Advanced Options https://tailwindcss.com/docs/configuration#options
  833. |-----------------------------------------------------------------------------
  834. |
  835. | Here is where you can tweak advanced configuration options. We recommend
  836. | leaving these options alone unless you absolutely need to change them.
  837. |
  838. */
  839. options: {
  840. prefix: '',
  841. important: false,
  842. separator: ':'
  843. }
  844. }