Skip to content

Commit

Permalink
Added tailwind presets in main config file
Browse files Browse the repository at this point in the history
  • Loading branch information
del22123 committed Nov 18, 2024
1 parent 78280c8 commit 86ea0ee
Showing 1 changed file with 56 additions and 0 deletions.
56 changes: 56 additions & 0 deletions packages/venia-concept/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,62 @@ const config = {
// CSS Modules doesn't like Tailwind's default `:`, so we use `_`.
separator: '_',
theme: {
screens: {
xs: '480px',
'-xs': {
max: '479px'
},
sm: '640px',
'-sm': {
max: '639px'
},
hsm: {
raw: '(min-height: 640px)'
},
'-hsm': {
raw: '(max-height: 639px)'
},
md: '800px',
'-md': {
max: '799px'
},
hmd: {
raw: '(min-height: 800px)'
},
'-hmd': {
raw: '(max-height: 799px)'
},
lg: '960px',
'-lg': {
max: '959px'
},
hlg: {
raw: '(min-height: 960px)'
},
'-hlg': {
raw: '(max-height: 959px)'
},
xl: '1024px',
'-xl': {
max: '1023px'
},
'2xl': '1280px',
'-2xl': {
max: '-1279px'
},
'3xl': '1440px',
'-3xl': {
max: '-1439px'
},
'4xl': '1600px',
'-4xl': {
max: '1599px'
},
max: '1920px',
'-max': {
max: '1920px'
}
},
extend: {}
}
};
Expand Down

0 comments on commit 86ea0ee

Please sign in to comment.