Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

923 lines
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. 'system-ui',
  169. 'BlinkMacSystemFont',
  170. '-apple-system',
  171. 'Segoe UI',
  172. 'Roboto',
  173. 'Oxygen',
  174. 'Ubuntu',
  175. 'Cantarell',
  176. 'Fira Sans',
  177. 'Droid Sans',
  178. 'Helvetica Neue',
  179. 'sans-serif'
  180. ],
  181. 'serif': [
  182. 'Constantia',
  183. 'Lucida Bright',
  184. 'Lucidabright',
  185. 'Lucida Serif',
  186. 'Lucida',
  187. 'DejaVu Serif',
  188. 'Bitstream Vera Serif',
  189. 'Liberation Serif',
  190. 'Georgia',
  191. 'serif'
  192. ],
  193. 'mono': [
  194. 'Menlo',
  195. 'Monaco',
  196. 'Consolas',
  197. 'Liberation Mono',
  198. 'Courier New',
  199. 'monospace'
  200. ]
  201. },
  202. /*
  203. |-----------------------------------------------------------------------------
  204. | Text sizes https://tailwindcss.com/docs/text-sizing
  205. |-----------------------------------------------------------------------------
  206. |
  207. | Here is where you define your text sizes. Name these in whatever way
  208. | makes the most sense to you. We use size names by default, but
  209. | you're welcome to use a numeric scale or even something else
  210. | entirely.
  211. |
  212. | By default Tailwind uses the "rem" unit type for most measurements.
  213. | This allows you to set a root font size which all other sizes are
  214. | then based on. That said, you are free to use whatever units you
  215. | prefer, be it rems, ems, pixels or other.
  216. |
  217. | Class name: .text-{size}
  218. |
  219. */
  220. textSizes: {
  221. 'xs': '.75rem', // 12px
  222. 'sm': '.875rem', // 14px
  223. 'base': '1rem', // 16px
  224. 'lg': '1.125rem', // 18px
  225. 'xl': '1.25rem', // 20px
  226. '2xl': '1.5rem', // 24px
  227. '3xl': '1.875rem', // 30px
  228. '4xl': '2.25rem', // 36px
  229. '5xl': '3rem' // 48px
  230. },
  231. /*
  232. |-----------------------------------------------------------------------------
  233. | Font weights https://tailwindcss.com/docs/font-weight
  234. |-----------------------------------------------------------------------------
  235. |
  236. | Here is where you define your font weights. We've provided a list of
  237. | common font weight names with their respective numeric scale values
  238. | to get you started. It's unlikely that your project will require
  239. | all of these, so we recommend removing those you don't need.
  240. |
  241. | Class name: .font-{weight}
  242. |
  243. */
  244. fontWeights: {
  245. 'hairline': 100,
  246. 'thin': 200,
  247. 'light': 300,
  248. 'normal': 400,
  249. 'medium': 500,
  250. 'semibold': 600,
  251. 'bold': 700,
  252. 'extrabold': 800,
  253. 'black': 900
  254. },
  255. /*
  256. |-----------------------------------------------------------------------------
  257. | Leading (line height) https://tailwindcss.com/docs/line-height
  258. |-----------------------------------------------------------------------------
  259. |
  260. | Here is where you define your line height values, or as we call
  261. | them in Tailwind, leadings.
  262. |
  263. | Class name: .leading-{size}
  264. |
  265. */
  266. leading: {
  267. 'none': 1,
  268. 'tight': 1.25,
  269. 'normal': 1.5,
  270. 'loose': 2
  271. },
  272. /*
  273. |-----------------------------------------------------------------------------
  274. | Tracking (letter spacing) https://tailwindcss.com/docs/letter-spacing
  275. |-----------------------------------------------------------------------------
  276. |
  277. | Here is where you define your letter spacing values, or as we call
  278. | them in Tailwind, tracking.
  279. |
  280. | Class name: .tracking-{size}
  281. |
  282. */
  283. tracking: {
  284. 'tight': '-0.05em',
  285. 'normal': '0',
  286. 'wide': '0.05em'
  287. },
  288. /*
  289. |-----------------------------------------------------------------------------
  290. | Text colors https://tailwindcss.com/docs/text-color
  291. |-----------------------------------------------------------------------------
  292. |
  293. | Here is where you define your text colors. By default these use the
  294. | color palette we defined above, however you're welcome to set these
  295. | independently if that makes sense for your project.
  296. |
  297. | Class name: .text-{color}
  298. |
  299. */
  300. textColors: colors,
  301. /*
  302. |-----------------------------------------------------------------------------
  303. | Background colors https://tailwindcss.com/docs/background-color
  304. |-----------------------------------------------------------------------------
  305. |
  306. | Here is where you define your background colors. By default these use
  307. | the color palette we defined above, however you're welcome to set
  308. | these independently if that makes sense for your project.
  309. |
  310. | Class name: .bg-{color}
  311. |
  312. */
  313. backgroundColors: colors,
  314. /*
  315. |-----------------------------------------------------------------------------
  316. | Background sizes https://tailwindcss.com/docs/background-size
  317. |-----------------------------------------------------------------------------
  318. |
  319. | Here is where you define your background sizes. We provide some common
  320. | values that are useful in most projects, but feel free to add other sizes
  321. | that are specific to your project here as well.
  322. |
  323. | Class name: .bg-{size}
  324. |
  325. */
  326. backgroundSize: {
  327. 'auto': 'auto',
  328. 'cover': 'cover',
  329. 'contain': 'contain'
  330. },
  331. /*
  332. |-----------------------------------------------------------------------------
  333. | Border widths https://tailwindcss.com/docs/border-width
  334. |-----------------------------------------------------------------------------
  335. |
  336. | Here is where you define your border widths. Take note that border
  337. | widths require a special "default" value set as well. This is the
  338. | width that will be used when you do not specify a border width.
  339. |
  340. | Class name: .border{-side?}{-width?}
  341. |
  342. */
  343. borderWidths: {
  344. default: '1px',
  345. '0': '0',
  346. '2': '2px',
  347. '4': '4px',
  348. '8': '8px'
  349. },
  350. /*
  351. |-----------------------------------------------------------------------------
  352. | Border colors https://tailwindcss.com/docs/border-color
  353. |-----------------------------------------------------------------------------
  354. |
  355. | Here is where you define your border colors. By default these use the
  356. | color palette we defined above, however you're welcome to set these
  357. | independently if that makes sense for your project.
  358. |
  359. | Take note that border colors require a special "default" value set
  360. | as well. This is the color that will be used when you do not
  361. | specify a border color.
  362. |
  363. | Class name: .border-{color}
  364. |
  365. */
  366. borderColors: global.Object.assign({ default: colors['grey-light'] }, colors),
  367. /*
  368. |-----------------------------------------------------------------------------
  369. | Border radius https://tailwindcss.com/docs/border-radius
  370. |-----------------------------------------------------------------------------
  371. |
  372. | Here is where you define your border radius values. If a `default` radius
  373. | is provided, it will be made available as the non-suffixed `.rounded`
  374. | utility.
  375. |
  376. | If your scale includes a `0` value to reset already rounded corners, it's
  377. | a good idea to put it first so other values are able to override it.
  378. |
  379. | Class name: .rounded{-side?}{-size?}
  380. |
  381. */
  382. borderRadius: {
  383. 'none': '0',
  384. 'sm': '.125rem',
  385. default: '.25rem',
  386. 'lg': '.5rem',
  387. 'full': '9999px'
  388. },
  389. /*
  390. |-----------------------------------------------------------------------------
  391. | Width https://tailwindcss.com/docs/width
  392. |-----------------------------------------------------------------------------
  393. |
  394. | Here is where you define your width utility sizes. These can be
  395. | percentage based, pixels, rems, or any other units. By default
  396. | we provide a sensible rem based numeric scale, a percentage
  397. | based fraction scale, plus some other common use-cases. You
  398. | can, of course, modify these values as needed.
  399. |
  400. |
  401. | It's also worth mentioning that Tailwind automatically escapes
  402. | invalid CSS class name characters, which allows you to have
  403. | awesome classes like .w-2/3.
  404. |
  405. | Class name: .w-{size}
  406. |
  407. */
  408. width: {
  409. 'auto': 'auto',
  410. 'px': '1px',
  411. '1': '0.25rem',
  412. '2': '0.5rem',
  413. '3': '0.75rem',
  414. '4': '1rem',
  415. '5': '1.25rem',
  416. '6': '1.5rem',
  417. '8': '2rem',
  418. '10': '2.5rem',
  419. '12': '3rem',
  420. '16': '4rem',
  421. '24': '6rem',
  422. '32': '8rem',
  423. '48': '12rem',
  424. '64': '16rem',
  425. '1/2': '50%',
  426. '1/3': '33.33333%',
  427. '2/3': '66.66667%',
  428. '1/4': '25%',
  429. '3/4': '75%',
  430. '1/5': '20%',
  431. '2/5': '40%',
  432. '3/5': '60%',
  433. '4/5': '80%',
  434. '1/6': '16.66667%',
  435. '5/6': '83.33333%',
  436. 'full': '100%',
  437. 'screen': '100vw'
  438. },
  439. /*
  440. |-----------------------------------------------------------------------------
  441. | Height https://tailwindcss.com/docs/height
  442. |-----------------------------------------------------------------------------
  443. |
  444. | Here is where you define your height utility sizes. These can be
  445. | percentage based, pixels, rems, or any other units. By default
  446. | we provide a sensible rem based numeric scale plus some other
  447. | common use-cases. You can, of course, modify these values as
  448. | needed.
  449. |
  450. | Class name: .h-{size}
  451. |
  452. */
  453. height: {
  454. 'auto': 'auto',
  455. 'px': '1px',
  456. '1': '0.25rem',
  457. '2': '0.5rem',
  458. '3': '0.75rem',
  459. '4': '1rem',
  460. '5': '1.25rem',
  461. '6': '1.5rem',
  462. '8': '2rem',
  463. '10': '2.5rem',
  464. '12': '3rem',
  465. '16': '4rem',
  466. '24': '6rem',
  467. '32': '8rem',
  468. '48': '12rem',
  469. '64': '16rem',
  470. 'full': '100%',
  471. 'screen': '100vh'
  472. },
  473. /*
  474. |-----------------------------------------------------------------------------
  475. | Minimum width https://tailwindcss.com/docs/min-width
  476. |-----------------------------------------------------------------------------
  477. |
  478. | Here is where you define your minimum width utility sizes. These can
  479. | be percentage based, pixels, rems, or any other units. We provide a
  480. | couple common use-cases by default. You can, of course, modify
  481. | these values as needed.
  482. |
  483. | Class name: .min-w-{size}
  484. |
  485. */
  486. minWidth: {
  487. '0': '0',
  488. 'full': '100%'
  489. },
  490. /*
  491. |-----------------------------------------------------------------------------
  492. | Minimum height https://tailwindcss.com/docs/min-height
  493. |-----------------------------------------------------------------------------
  494. |
  495. | Here is where you define your minimum height utility sizes. These can
  496. | be percentage based, pixels, rems, or any other units. We provide a
  497. | few common use-cases by default. You can, of course, modify these
  498. | values as needed.
  499. |
  500. | Class name: .min-h-{size}
  501. |
  502. */
  503. minHeight: {
  504. '0': '0',
  505. 'full': '100%',
  506. 'screen': '100vh'
  507. },
  508. /*
  509. |-----------------------------------------------------------------------------
  510. | Maximum width https://tailwindcss.com/docs/max-width
  511. |-----------------------------------------------------------------------------
  512. |
  513. | Here is where you define your maximum width utility sizes. These can
  514. | be percentage based, pixels, rems, or any other units. By default
  515. | we provide a sensible rem based scale and a "full width" size,
  516. | which is basically a reset utility. You can, of course,
  517. | modify these values as needed.
  518. |
  519. | Class name: .max-w-{size}
  520. |
  521. */
  522. maxWidth: {
  523. 'xs': '20rem',
  524. 'sm': '30rem',
  525. 'md': '40rem',
  526. 'lg': '50rem',
  527. 'xl': '60rem',
  528. '2xl': '70rem',
  529. '3xl': '80rem',
  530. '4xl': '90rem',
  531. '5xl': '100rem',
  532. 'full': '100%'
  533. },
  534. /*
  535. |-----------------------------------------------------------------------------
  536. | Maximum height https://tailwindcss.com/docs/max-height
  537. |-----------------------------------------------------------------------------
  538. |
  539. | Here is where you define your maximum height utility sizes. These can
  540. | be percentage based, pixels, rems, or any other units. We provide a
  541. | couple common use-cases by default. You can, of course, modify
  542. | these values as needed.
  543. |
  544. | Class name: .max-h-{size}
  545. |
  546. */
  547. maxHeight: {
  548. 'full': '100%',
  549. 'screen': '100vh'
  550. },
  551. /*
  552. |-----------------------------------------------------------------------------
  553. | Padding https://tailwindcss.com/docs/padding
  554. |-----------------------------------------------------------------------------
  555. |
  556. | Here is where you define your padding utility sizes. These can be
  557. | percentage based, pixels, rems, or any other units. By default we
  558. | provide a sensible rem based numeric scale plus a couple other
  559. | common use-cases like "1px". You can, of course, modify these
  560. | values as needed.
  561. |
  562. | Class name: .p{side?}-{size}
  563. |
  564. */
  565. padding: {
  566. 'px': '1px',
  567. '0': '0',
  568. '1': '0.25rem',
  569. '2': '0.5rem',
  570. '3': '0.75rem',
  571. '4': '1rem',
  572. '5': '1.25rem',
  573. '6': '1.5rem',
  574. '8': '2rem',
  575. '10': '2.5rem',
  576. '12': '3rem',
  577. '16': '4rem',
  578. '20': '5rem',
  579. '24': '6rem',
  580. '32': '8rem'
  581. },
  582. /*
  583. |-----------------------------------------------------------------------------
  584. | Margin https://tailwindcss.com/docs/margin
  585. |-----------------------------------------------------------------------------
  586. |
  587. | Here is where you define your margin utility sizes. These can be
  588. | percentage based, pixels, rems, or any other units. By default we
  589. | provide a sensible rem based numeric scale plus a couple other
  590. | common use-cases like "1px". You can, of course, modify these
  591. | values as needed.
  592. |
  593. | Class name: .m{side?}-{size}
  594. |
  595. */
  596. margin: {
  597. 'auto': 'auto',
  598. 'px': '1px',
  599. '0': '0',
  600. '1': '0.25rem',
  601. '2': '0.5rem',
  602. '3': '0.75rem',
  603. '4': '1rem',
  604. '5': '1.25rem',
  605. '6': '1.5rem',
  606. '8': '2rem',
  607. '10': '2.5rem',
  608. '12': '3rem',
  609. '16': '4rem',
  610. '20': '5rem',
  611. '24': '6rem',
  612. '32': '8rem'
  613. },
  614. /*
  615. |-----------------------------------------------------------------------------
  616. | Negative margin https://tailwindcss.com/docs/negative-margin
  617. |-----------------------------------------------------------------------------
  618. |
  619. | Here is where you define your negative margin utility sizes. These can
  620. | be percentage based, pixels, rems, or any other units. By default we
  621. | provide matching values to the padding scale since these utilities
  622. | generally get used together. You can, of course, modify these
  623. | values as needed.
  624. |
  625. | Class name: .-m{side?}-{size}
  626. |
  627. */
  628. negativeMargin: {
  629. 'px': '1px',
  630. '0': '0',
  631. '1': '0.25rem',
  632. '2': '0.5rem',
  633. '3': '0.75rem',
  634. '4': '1rem',
  635. '5': '1.25rem',
  636. '6': '1.5rem',
  637. '8': '2rem',
  638. '10': '2.5rem',
  639. '12': '3rem',
  640. '16': '4rem',
  641. '20': '5rem',
  642. '24': '6rem',
  643. '32': '8rem'
  644. },
  645. /*
  646. |-----------------------------------------------------------------------------
  647. | Shadows https://tailwindcss.com/docs/shadows
  648. |-----------------------------------------------------------------------------
  649. |
  650. | Here is where you define your shadow utilities. As you can see from
  651. | the defaults we provide, it's possible to apply multiple shadows
  652. | per utility using comma separation.
  653. |
  654. | If a `default` shadow is provided, it will be made available as the non-
  655. | suffixed `.shadow` utility.
  656. |
  657. | Class name: .shadow-{size?}
  658. |
  659. */
  660. shadows: {
  661. default: '0 2px 4px 0 rgba(0,0,0,0.10)',
  662. 'md': '0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08)',
  663. 'lg': '0 15px 30px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08)',
  664. 'inner': 'inset 0 2px 4px 0 rgba(0,0,0,0.06)',
  665. 'outline': '0 0 0 3px rgba(52,144,220,0.5)',
  666. 'none': 'none'
  667. },
  668. /*
  669. |-----------------------------------------------------------------------------
  670. | Z-index https://tailwindcss.com/docs/z-index
  671. |-----------------------------------------------------------------------------
  672. |
  673. | Here is where you define your z-index utility values. By default we
  674. | provide a sensible numeric scale. You can, of course, modify these
  675. | values as needed.
  676. |
  677. | Class name: .z-{index}
  678. |
  679. */
  680. zIndex: {
  681. 'auto': 'auto',
  682. '0': 0,
  683. '10': 10,
  684. '20': 20,
  685. '30': 30,
  686. '40': 40,
  687. '50': 50
  688. },
  689. /*
  690. |-----------------------------------------------------------------------------
  691. | Opacity https://tailwindcss.com/docs/opacity
  692. |-----------------------------------------------------------------------------
  693. |
  694. | Here is where you define your opacity utility values. By default we
  695. | provide a sensible numeric scale. You can, of course, modify these
  696. | values as needed.
  697. |
  698. | Class name: .opacity-{name}
  699. |
  700. */
  701. opacity: {
  702. '0': '0',
  703. '25': '.25',
  704. '50': '.5',
  705. '75': '.75',
  706. '100': '1'
  707. },
  708. /*
  709. |-----------------------------------------------------------------------------
  710. | SVG fill https://tailwindcss.com/docs/svg
  711. |-----------------------------------------------------------------------------
  712. |
  713. | Here is where you define your SVG fill colors. By default we just provide
  714. | `fill-current` which sets the fill to the current text color. This lets you
  715. | specify a fill color using existing text color utilities and helps keep the
  716. | generated CSS file size down.
  717. |
  718. | Class name: .fill-{name}
  719. |
  720. */
  721. svgFill: {
  722. 'current': 'currentColor'
  723. },
  724. /*
  725. |-----------------------------------------------------------------------------
  726. | SVG stroke https://tailwindcss.com/docs/svg
  727. |-----------------------------------------------------------------------------
  728. |
  729. | Here is where you define your SVG stroke colors. By default we just provide
  730. | `stroke-current` which sets the stroke to the current text color. This lets
  731. | you specify a stroke color using existing text color utilities and helps
  732. | keep the generated CSS file size down.
  733. |
  734. | Class name: .stroke-{name}
  735. |
  736. */
  737. svgStroke: {
  738. 'current': 'currentColor'
  739. },
  740. /*
  741. |-----------------------------------------------------------------------------
  742. | Modules https://tailwindcss.com/docs/configuration#modules
  743. |-----------------------------------------------------------------------------
  744. |
  745. | Here is where you control which modules are generated and what variants are
  746. | generated for each of those modules.
  747. |
  748. | Currently supported variants:
  749. | - responsive
  750. | - hover
  751. | - focus
  752. | - focus-within
  753. | - active
  754. | - group-hover
  755. |
  756. | To disable a module completely, use `false` instead of an array.
  757. |
  758. */
  759. modules: {
  760. appearance: ['responsive'],
  761. backgroundAttachment: ['responsive'],
  762. backgroundColors: ['responsive', 'hover', 'focus'],
  763. backgroundPosition: ['responsive'],
  764. backgroundRepeat: ['responsive'],
  765. backgroundSize: ['responsive'],
  766. borderCollapse: [],
  767. borderColors: ['responsive', 'hover', 'focus'],
  768. borderRadius: ['responsive'],
  769. borderStyle: ['responsive'],
  770. borderWidths: ['responsive'],
  771. cursor: ['responsive'],
  772. display: ['responsive'],
  773. flexbox: ['responsive'],
  774. float: ['responsive'],
  775. fonts: ['responsive'],
  776. fontWeights: ['responsive', 'hover', 'focus'],
  777. height: ['responsive'],
  778. leading: ['responsive'],
  779. lists: ['responsive'],
  780. margin: ['responsive'],
  781. maxHeight: ['responsive'],
  782. maxWidth: ['responsive'],
  783. minHeight: ['responsive'],
  784. minWidth: ['responsive'],
  785. negativeMargin: ['responsive'],
  786. opacity: ['responsive'],
  787. outline: ['focus'],
  788. overflow: ['responsive'],
  789. padding: ['responsive'],
  790. pointerEvents: ['responsive'],
  791. position: ['responsive'],
  792. resize: ['responsive'],
  793. shadows: ['responsive', 'hover', 'focus'],
  794. svgFill: [],
  795. svgStroke: [],
  796. tableLayout: ['responsive'],
  797. textAlign: ['responsive'],
  798. textColors: ['responsive', 'hover', 'focus'],
  799. textSizes: ['responsive'],
  800. textStyle: ['responsive', 'hover', 'focus'],
  801. tracking: ['responsive'],
  802. userSelect: ['responsive'],
  803. verticalAlign: ['responsive'],
  804. visibility: ['responsive'],
  805. whitespace: ['responsive'],
  806. width: ['responsive'],
  807. zIndex: ['responsive']
  808. },
  809. /*
  810. |-----------------------------------------------------------------------------
  811. | Plugins https://tailwindcss.com/docs/plugins
  812. |-----------------------------------------------------------------------------
  813. |
  814. | Here is where you can register any plugins you'd like to use in your
  815. | project. Tailwind's built-in `container` plugin is enabled by default to
  816. | give you a Bootstrap-style responsive container component out of the box.
  817. |
  818. | Be sure to view the complete plugin documentation to learn more about how
  819. | the plugin system works.
  820. |
  821. */
  822. plugins: [
  823. require('tailwindcss/plugins/container')({
  824. // center: true,
  825. // padding: '1rem',
  826. })
  827. ],
  828. /*
  829. |-----------------------------------------------------------------------------
  830. | Advanced Options https://tailwindcss.com/docs/configuration#options
  831. |-----------------------------------------------------------------------------
  832. |
  833. | Here is where you can tweak advanced configuration options. We recommend
  834. | leaving these options alone unless you absolutely need to change them.
  835. |
  836. */
  837. options: {
  838. prefix: '',
  839. important: false,
  840. separator: ':'
  841. }
  842. }