module.exports = { important: true, theme: { colors: { 'transparent': 'transparent', 'black': '#22292f', 'white': '#ffffff', 'grey': '#b8c2cc', 'grey-light': '#dae1e7', }, screens: { 'sm': '576px', 'md': '768px', 'lg': '992px', 'xl': '1200px', }, /* |----------------------------------------------------------------------------- | Z-index https://tailwindcss.com/docs/z-index |----------------------------------------------------------------------------- | | Here is where you define your z-index utility values. By default we | provide a sensible numeric scale. You can, of course, modify these | values as needed. | | Class name: .z-{index} | */ zIndex: { 'auto': 'auto', '0': 0, '10': 10, '20': 20, '30': 30, '40': 40, '50': 50, }, /* |----------------------------------------------------------------------------- | Fonts https://tailwindcss.com/docs/fonts |----------------------------------------------------------------------------- | | Here is where you define your project's font stack, or font families. | Keep in mind that Tailwind doesn't actually load any fonts for you. | If you're using custom fonts you'll need to import them prior to | defining them here. | | By default we provide a native font stack that works remarkably well on | any device or OS you're using, since it just uses the default fonts | provided by the platform. | | Class name: .font-{name} | */ // Set to false in configuration fontFamily: { 'sans': [ 'system-ui', 'BlinkMacSystemFont', '-apple-system', 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'sans-serif', ], 'serif': [ 'Constantia', 'Lucida Bright', 'Lucidabright', 'Lucida Serif', 'Lucida', 'DejaVu Serif', 'Bitstream Vera Serif', 'Liberation Serif', 'Georgia', 'serif', ], 'mono': [ 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', 'monospace', ] }, /* |----------------------------------------------------------------------------- | Text sizes https://tailwindcss.com/docs/text-sizing |----------------------------------------------------------------------------- | | Here is where you define your text sizes. Name these in whatever way | makes the most sense to you. We use size names by default, but | you're welcome to use a numeric scale or even something else | entirely. | | By default Tailwind uses the "rem" unit type for most measurements. | This allows you to set a root font size which all other sizes are | then based on. That said, you are free to use whatever units you | prefer, be it rems, ems, pixels or other. | | Class name: .text-{size} | */ fontSize: { 'xs': '.75rem', // 12px 'sm': '.875rem', // 14px 'base': '1rem', // 16px 'lg': '1.125rem', // 18px 'xl': '1.25rem', // 20px '2xl': '1.5rem', // 24px '3xl': '1.875rem', // 30px '4xl': '2.25rem', // 36px '5xl': '3rem', // 48px '6xl': '4rem', // 64px }, /* |----------------------------------------------------------------------------- | Font weights https://tailwindcss.com/docs/font-weight |----------------------------------------------------------------------------- | | Here is where you define your font weights. We've provided a list of | common font weight names with their respective numeric scale values | to get you started. It's unlikely that your project will require | all of these, so we recommend removing those you don't need. | | Class name: .font-{weight} | */ fontWeight: { 'light': 300, 'normal': 400, 'medium': 500, 'semibold': 600, 'bold': 700, 'extrabold': 800, 'black': 900, }, /* |----------------------------------------------------------------------------- | Leading (line height) https://tailwindcss.com/docs/line-height |----------------------------------------------------------------------------- | | Here is where you define your line height values, or as we call | them in Tailwind, leadings. | | Class name: .leading-{size} | */ lineHeight: { 'none': 1, 'tight': 1.25, 'normal': 1.5, 'loose': 2, }, /* |----------------------------------------------------------------------------- | Tracking (letter spacing) https://tailwindcss.com/docs/letter-spacing |----------------------------------------------------------------------------- | | Here is where you define your letter spacing values, or as we call | them in Tailwind, tracking. | | Class name: .tracking-{size} | */ // set to false in configuration letterSpacing: { 'tight': '-0.05em', 'normal': '0', 'wide': '0.05em', }, /* |----------------------------------------------------------------------------- | Text colors https://tailwindcss.com/docs/text-color |----------------------------------------------------------------------------- | | Here is where you define your text colors. By default these use the | color palette we defined above, however you're welcome to set these | independently if that makes sense for your project. | | Class name: .text-{color} | */ textColor: theme => ({ inherit: "inherit", ...theme('colors'), }), /* |----------------------------------------------------------------------------- | Background colors https://tailwindcss.com/docs/background-color |----------------------------------------------------------------------------- | | Here is where you define your background colors. By default these use | the color palette we defined above, however you're welcome to set | these independently if that makes sense for your project. | | Class name: .bg-{color} | */ backgroundColor: theme => theme('colors'), /* |----------------------------------------------------------------------------- | Background sizes https://tailwindcss.com/docs/background-size |----------------------------------------------------------------------------- | | Here is where you define your background sizes. We provide some common | values that are useful in most projects, but feel free to add other sizes | that are specific to your project here as well. | | Class name: .bg-{size} | */ backgroundSize: { 'auto': 'auto', 'cover': 'cover', 'contain': 'contain', }, /* |----------------------------------------------------------------------------- | Border widths https://tailwindcss.com/docs/border-width |----------------------------------------------------------------------------- | | Here is where you define your border widths. Take note that border | widths require a special "default" value set as well. This is the | width that will be used when you do not specify a border width. | | Class name: .border{-side?}{-width?} | */ borderWidth: { default: '1px', '0': '0', '2': '2px', '4': '4px', '8': '8px', }, /* |----------------------------------------------------------------------------- | Border colors https://tailwindcss.com/docs/border-color |----------------------------------------------------------------------------- | | Here is where you define your border colors. By default these use the | color palette we defined above, however you're welcome to set these | independently if that makes sense for your project. | | Take note that border colors require a special "default" value set | as well. This is the color that will be used when you do not | specify a border color. | | Class name: .border-{color} | */ borderColor: theme => ({ default: theme('colors.grey-light'), ...theme('colors'), }), /* |----------------------------------------------------------------------------- | Border radius https://tailwindcss.com/docs/border-radius |----------------------------------------------------------------------------- | | Here is where you define your border radius values. If a `default` radius | is provided, it will be made available as the non-suffixed `.rounded` | utility. | | If your scale includes a `0` value to reset already rounded corners, it's | a good idea to put it first so other values are able to override it. | | Class name: .rounded{-side?}{-size?} | */ borderRadius: { 'none': '0', 'sm': '.125rem', default: '.25rem', 'lg': '.5rem', 'full': '9999px', }, /* |----------------------------------------------------------------------------- | Width https://tailwindcss.com/docs/width |----------------------------------------------------------------------------- | | Here is where you define your width utility sizes. These can be | percentage based, pixels, rems, or any other units. By default | we provide a sensible rem based numeric scale, a percentage | based fraction scale, plus some other common use-cases. You | can, of course, modify these values as needed. | | | It's also worth mentioning that Tailwind automatically escapes | invalid CSS class name characters, which allows you to have | awesome classes like .w-2/3. | | Class name: .w-{size} | */ width: { 'auto': 'auto', 'px': '1px', '1': '0.25rem', '2': '0.5rem', '3': '0.75rem', '4': '1rem', '5': '1.25rem', '6': '1.5rem', '8': '2rem', '10': '2.5rem', '12': '3rem', '16': '4rem', '24': '6rem', '32': '8rem', '48': '12rem', '64': '16rem', '1/2': '50%', '1/3': '33.33333%', '2/3': '66.66667%', '1/4': '25%', '3/4': '75%', '1/5': '20%', '2/5': '40%', '3/5': '60%', '4/5': '80%', '1/6': '16.66667%', '5/6': '83.33333%', '1/12': '8.33333%', '2/12': '16.66667%', '3/12': '25%', '4/12': '33.33333%', '5/12': '41.66667%', '6/12': '50%', '7/12': '58.33333%', '8/12': '66.66667%', '9/12': '75%', '10/12': '83.33333%', '11/12': '91.66667%', 'full': '100%', 'screen': '100vw' }, /* |----------------------------------------------------------------------------- | Height https://tailwindcss.com/docs/height |----------------------------------------------------------------------------- | | Here is where you define your height utility sizes. These can be | percentage based, pixels, rems, or any other units. By default | we provide a sensible rem based numeric scale plus some other | common use-cases. You can, of course, modify these values as | needed. | | Class name: .h-{size} | */ height: { 'auto': 'auto', 'px': '1px', '1': '0.25rem', '2': '0.5rem', '3': '0.75rem', '4': '1rem', '5': '1.25rem', '6': '1.5rem', '8': '2rem', '10': '2.5rem', '12': '3rem', '16': '4rem', '24': '6rem', '32': '8rem', '48': '12rem', '64': '16rem', 'full': '100%', 'screen': '100vh' }, /* |----------------------------------------------------------------------------- | Minimum width https://tailwindcss.com/docs/min-width |----------------------------------------------------------------------------- | | Here is where you define your minimum width utility sizes. These can | be percentage based, pixels, rems, or any other units. We provide a | couple common use-cases by default. You can, of course, modify | these values as needed. | | Class name: .min-w-{size} | */ minWidth: { '0': '0', 'full': '100%', }, /* |----------------------------------------------------------------------------- | Minimum height https://tailwindcss.com/docs/min-height |----------------------------------------------------------------------------- | | Here is where you define your minimum height utility sizes. These can | be percentage based, pixels, rems, or any other units. We provide a | few common use-cases by default. You can, of course, modify these | values as needed. | | Class name: .min-h-{size} | */ minHeight: { '0': '0', 'full': '100%', 'screen': '100vh' }, /* |----------------------------------------------------------------------------- | Maximum width https://tailwindcss.com/docs/max-width |----------------------------------------------------------------------------- | | Here is where you define your maximum width utility sizes. These can | be percentage based, pixels, rems, or any other units. By default | we provide a sensible rem based scale and a "full width" size, | which is basically a reset utility. You can, of course, | modify these values as needed. | | Class name: .max-w-{size} | */ maxWidth: { 'xs': '20rem', 'sm': '30rem', 'md': '40rem', 'lg': '50rem', 'xl': '60rem', '2xl': '70rem', '3xl': '80rem', '4xl': '90rem', '5xl': '100rem', 'full': '100%', }, /* |----------------------------------------------------------------------------- | Maximum height https://tailwindcss.com/docs/max-height |----------------------------------------------------------------------------- | | Here is where you define your maximum height utility sizes. These can | be percentage based, pixels, rems, or any other units. We provide a | couple common use-cases by default. You can, of course, modify | these values as needed. | | Class name: .max-h-{size} | */ maxHeight: { 'full': '100%', 'screen': '100vh', }, /* |----------------------------------------------------------------------------- | Padding https://tailwindcss.com/docs/padding |----------------------------------------------------------------------------- | | Here is where you define your padding utility sizes. These can be | percentage based, pixels, rems, or any other units. By default we | provide a sensible rem based numeric scale plus a couple other | common use-cases like "1px". You can, of course, modify these | values as needed. | | Class name: .p{side?}-{size} | */ padding: { 'px': '1px', 'base': '2.2rem', '0': '0', '1': '0.25rem', '2': '0.5rem', '3': '0.75rem', '4': '1rem', '5': '1.25rem', '6': '1.5rem', '8': '2rem', '10': '2.5rem', '12': '3rem', '16': '4rem', '20': '5rem', '24': '6rem', '32': '8rem', }, /* |----------------------------------------------------------------------------- | Margin https://tailwindcss.com/docs/margin |----------------------------------------------------------------------------- | | Here is where you define your margin utility sizes. These can be | percentage based, pixels, rems, or any other units. By default we | provide a sensible rem based numeric scale plus a couple other | common use-cases like "1px". You can, of course, modify these | values as needed. | | Class name: .m{side?}-{size} | */ margin: { 'auto': 'auto', 'px': '1px', 'base': '2.2rem', '0': '0', '1': '0.25rem', '2': '0.5rem', '3': '0.75rem', '4': '1rem', '5': '1.25rem', '6': '1.5rem', '8': '2rem', '10': '2.5rem', '12': '3rem', '16': '4rem', '20': '5rem', '24': '6rem', '32': '8rem', '-px': '-1px', '-1': '-0.25rem', '-2': '-0.5rem', '-3': '-0.75rem', '-4': '-1rem', }, order: { first: '-1', last: '999', normal: '0', '1': '1', '2': '2', '3': '3', '4': '4', '5': '5', '6': '6', }, container: { center: true, padding: '1rem', }, /* |----------------------------------------------------------------------------- | Shadows https://tailwindcss.com/docs/shadows |----------------------------------------------------------------------------- | | Here is where you define your shadow utilities. As you can see from | the defaults we provide, it's possible to apply multiple shadows | per utility using comma separation. | | If a `default` shadow is provided, it will be made available as the non- | suffixed `.shadow` utility. | | Class name: .shadow-{size?} | */ boxShadow: { default: '0 2px 4px 0 rgba(0,0,0,0.10)', 'md': '0 4px 8px 0 rgba(0,0,0,0.12), 0 2px 4px 0 rgba(0,0,0,0.08)', 'lg': '0 15px 30px 0 rgba(0,0,0,0.11), 0 5px 15px 0 rgba(0,0,0,0.08)', 'inner': 'inset 0 2px 4px 0 rgba(0,0,0,0.06)', 'xl': '0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)', '2xl': '0 25px 50px -12px rgba(0, 0, 0, 0.25)', 'outline': '0 0 0 3px rgba(52,144,220,0.5)', 'none': 'none', 'drop': '0 2px 8px 0 rgba(0,0,0,0.14)' }, /* |----------------------------------------------------------------------------- | Opacity https://tailwindcss.com/docs/opacity |----------------------------------------------------------------------------- | | Here is where you define your opacity utility values. By default we | provide a sensible numeric scale. You can, of course, modify these | values as needed. | | Class name: .opacity-{name} | */ // NOTE: IF YOU WANT TO CUSTOMIZE OPACITY THAN UNCOMMENT BELOW OBJECT AND EDIT // ELSE JUST REMOVE IT OR COMMENT IT FOR LATER CUSTOMIZATION // opacity: { // '0': '0', // '25': '.25', // '50': '.5', // '75': '.75', // '100': '1', // }, /* |----------------------------------------------------------------------------- | SVG fill https://tailwindcss.com/docs/svg |----------------------------------------------------------------------------- | | Here is where you define your SVG fill colors. By default we just provide | `fill-current` which sets the fill to the current text color. This lets you | specify a fill color using existing text color utilities and helps keep the | generated CSS file size down. | | Class name: .fill-{name} | */ fill: { 'current': 'currentColor', }, /* |----------------------------------------------------------------------------- | SVG stroke https://tailwindcss.com/docs/svg |----------------------------------------------------------------------------- | | Here is where you define your SVG stroke colors. By default we just provide | `stroke-current` which sets the stroke to the current text color. This lets | you specify a stroke color using existing text color utilities and helps | keep the generated CSS file size down. | | Class name: .stroke-{name} | */ stroke: { 'current': 'currentColor', }, }, /* |----------------------------------------------------------------------------- | variants https://tailwindcss.com/docs/configuration#modules |----------------------------------------------------------------------------- | | Here is where you control which modules are generated and what variants are | generated for each of those modules. | | Currently supported variants: | - responsive | - hover | - focus | - active | - group-hover | | To disable a module completely, use `false` instead of an array. | */ variants: { appearance: ['responsive'], backgroundAttachment: ['responsive'], backgroundColor: ['responsive', 'hover', 'focus'], // backgroundPosition: ['responsive'], // backgroundRepeat: ['responsive'], backgroundSize: ['responsive'], borderCollapse: [], borderColor: ['responsive', 'hover'], borderRadius: [], borderStyle: ['responsive'], borderWidth: ['responsive'], cursor: [], display: ['responsive'], flexDirection: ['responsive'], flexWrap: ['responsive'], alignItems: ['responsive'], alignSelf: ['responsive'], justifyContent: ['responsive'], alignContent: ['responsive'], flex: ['responsive'], flexGrow: ['responsive'], flexShrink: ['responsive'], float: ['responsive'], fontWeight: ['responsive', 'hover'], height: ['responsive'], lineHeight: ['responsive'], listStylePosition: ['responsive'], // listStyleType: ['responsive'], margin: ['responsive'], maxHeight: ['responsive'], maxWidth: ['responsive'], minHeight: ['responsive'], minWidth: ['responsive'], negativeMargin: ['responsive'], opacity: ['responsive'], outline: ['focus'], overflow: ['responsive'], order: ['responsive', 'hover', 'focus'], padding: ['responsive'], pointerEvents: ['responsive'], position: ['responsive'], inset: ['responsive'], resize: ['responsive'], boxShadow: ['responsive', 'hover', 'focus'], fill: [], stroke: [], tableLayout: ['responsive'], textAlign: ['responsive'], textColor: ['responsive', 'hover', 'focus'], fontSize: ['responsive'], fontStyle: ['responsive', 'hover', 'focus'], fontSmoothing: ['responsive', 'hover', 'focus'], textDecoration: ['responsive', 'hover', 'focus'], textTransform: ['responsive', 'hover', 'focus'], userSelect: ['responsive'], verticalAlign: ['responsive'], visibility: ['responsive'], whitespace: ['responsive'], wordBreak: ['responsive'], width: ['responsive'], zIndex: ['responsive'], }, /* |----------------------------------------------------------------------------- | Plugins https://tailwindcss.com/docs/plugins |----------------------------------------------------------------------------- | | Here is where you can register any plugins you'd like to use in your | project. Tailwind's built-in `container` plugin is enabled by default to | give you a Bootstrap-style responsive container component out of the box. | | Be sure to view the complete plugin documentation to learn more about how | the plugin system works. | */ plugins: [], corePlugins: { fontFamily: false, letterSpacing: false, backgroundPosition: false, backgroundRepeat: false, listStyleType: false, } } /* eslint-enable */