Skip to content

Commit

Permalink
feat: add in box shadows (#63)
Browse files Browse the repository at this point in the history
* feat: add in box shadows

* fix: bracket + move darkMode and plugins out of extend

* fix: brace

* fix: move out of extend + none

* fix: consistent units

* fix: consistent units 2

* fix: move other configs out of extend
  • Loading branch information
Ademsk1 authored Oct 25, 2023
1 parent 6666e62 commit 0f803ff
Showing 1 changed file with 23 additions and 11 deletions.
34 changes: 23 additions & 11 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,26 @@ module.exports = {
content: ['./src/**/*.tsx'],
theme: {
colors: colors,
boxShadow: {
sm: '0px 1px 2px 0px',
DEFAULT: '0px 1px 2px -1px',
md: '0px 2px 4px -2px',
lg: '0px 4px 6px 0px',
xl: '0px 20px 25px -5px',
'2xl': '0px 25px 50px -12px',
none: '0px 0px'
},
fontFamily: {
sans: ['"Inter"', ...defaultTheme.fontFamily.sans]
},
strokeWidth: {
0: '0px',
1: '1px',
2: '2px',
3: '4px',
4: '6px'
},
extend: {
fontFamily: {
sans: ['"Inter"', ...defaultTheme.fontFamily.sans]
},
strokeWidth: {
3: '4px',
4: '6px'
},
keyframes: {
'accordion-down': {
from: { height: '0' },
Expand All @@ -27,9 +39,9 @@ module.exports = {
animation: {
'accordion-down': 'accordion-down 0.2s ease-out',
'accordion-up': 'accordion-up 0.2s ease-out'
},
darkMode: 'class',
plugins: []
}
}
},
darkMode: 'class',
plugins: []
}
}

0 comments on commit 0f803ff

Please sign in to comment.