Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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