Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const svgToDataUri = require('mini-svg-data-uri')
const defaultTheme = require('tailwindcss/resolveConfig')(require('tailwindcss/defaultConfig')).theme
module.exports = function ({ addUtilities, addComponents, theme }) {
const options = {
horizontalPadding: defaultTheme.spacing[3],
verticalPadding: defaultTheme.spacing[2],
lineHeight: defaultTheme.lineHeight.normal,
fontSize: defaultTheme.fontSize.base,
borderColor: defaultTheme.borderColor.default,
borderWidth: defaultTheme.borderWidth.default,
borderRadius: defaultTheme.borderRadius.default,
backgroundColor: defaultTheme.colors.white,
focusBorderColor: defaultTheme.colors.blue[400],
focusBoxShadow: defaultTheme.boxShadow.outline,
boxShadow: defaultTheme.boxShadow.none,
checkboxSize: '1em',
const defaultTheme = require('tailwindcss/resolveConfig')(require('tailwindcss/defaultConfig')).theme
module.exports = {
input: {
appearance: 'none',
backgroundColor: defaultTheme.colors.white,
borderColor: defaultTheme.borderColor.default,
borderWidth: defaultTheme.borderWidth.default,
borderRadius: defaultTheme.borderRadius.default,
paddingTop: defaultTheme.spacing[2],
paddingRight: defaultTheme.spacing[3],
paddingBottom: defaultTheme.spacing[2],
paddingLeft: defaultTheme.spacing[3],
fontSize: defaultTheme.fontSize.base,
lineHeight: defaultTheme.lineHeight.normal,
'&::placeholder': {
color: defaultTheme.colors.gray[500],