Skip to content

Commit

Permalink
chore: update tailwind config
Browse files Browse the repository at this point in the history
  • Loading branch information
sereneblue committed Jun 20, 2020
1 parent 6121c8f commit a40004c
Showing 1 changed file with 51 additions and 50 deletions.
101 changes: 51 additions & 50 deletions tailwind.config.js
@@ -1,68 +1,69 @@
module.exports = {
theme : {
customForms : theme => ({
default : {
checkbox : {
borderColor : theme('colors.gray.500'),
'&:focus' : {
boxShadow : '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor : theme('colors.primary'),
theme: {
customForms: theme => ({
default: {
checkbox: {
borderColor: theme('colors.gray.500'),
'&:focus': {
boxShadow: '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor: theme('colors.primary'),
},
},
input : {
borderColor : theme('colors.gray.500'),
paddingTop : theme('spacing.1'),
paddingRight : theme('spacing.2'),
paddingBottom : theme('spacing.1'),
paddingLeft : theme('spacing.2'),
'&:focus' : {
boxShadow : '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor : theme('colors.primary'),
input: {
borderColor: theme('colors.gray.500'),
paddingTop: theme('spacing.1'),
paddingRight: theme('spacing.2'),
paddingBottom: theme('spacing.1'),
paddingLeft: theme('spacing.2'),
'&:focus': {
boxShadow: '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor: theme('colors.primary'),
},
},
radio : {
color : theme('colors.primary'),
borderColor : theme('colors.gray.500'),
'&:focus' : {
boxShadow : '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor : theme('colors.primary'),
radio: {
color: theme('colors.primary'),
borderColor: theme('colors.gray.500'),
'&:focus': {
boxShadow: '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor: theme('colors.primary'),
},
},
select : {
borderColor : theme('colors.gray.500'),
paddingTop : theme('spacing.1'),
paddingRight : theme('spacing.2'),
paddingBottom : theme('spacing.1'),
paddingLeft : theme('spacing.2'),
'&:focus' : {
boxShadow : '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor : theme('colors.primary'),
select: {
borderColor: theme('colors.gray.500'),
paddingTop: theme('spacing.1'),
paddingRight: theme('spacing.2'),
paddingBottom: theme('spacing.1'),
paddingLeft: theme('spacing.2'),
'&:focus': {
boxShadow: '0 0 0 3px rgba(107, 142, 35, 0.5)',
borderColor: theme('colors.primary'),
},
},
},
}),
extend : {
colors : {
primary : '#6b8e23',
'primary-soft' : '#7aa329',
dark : '#33313b',
'dark-fg' : '#403E48',
'dark-fg-alt' : '#4D4B55',
'dark-modal' : 'rgba(51, 49, 59, .8)',
light : '#fbfbfb',
'light-fg' : '#e5e4e4',
'light-fg-alt' : '#CECDCD',
extend: {
colors: {
primary: '#6b8e23',
'primary-soft': '#7aa329',
dark: '#33313b',
'dark-fg': '#403E48',
'dark-fg-alt': '#4D4B55',
'dark-modal': 'rgba(51, 49, 59, .8)',
light: '#fbfbfb',
'light-fg': '#e5e4e4',
'light-fg-alt': '#CECDCD',
},
spacing : {
'80' : '20rem',
spacing: {
'80': '20rem',
},
fontSize : {
mini : '.84rem',
fontSize: {
mini: '.84rem',
},
},
},
variants : {
cursor : ['responsive', 'hover'],
variants: {
cursor: ['responsive', 'hover'],
},
plugins : [require('@tailwindcss/custom-forms')],
plugins: [require('@tailwindcss/custom-forms')],
purge: false,
};

0 comments on commit a40004c

Please sign in to comment.