-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.ts
33 lines (29 loc) · 1.06 KB
/
tailwind.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import { theme } from '@allmaps/tailwind'
import typography from '@tailwindcss/typography'
import containerQueries from '@tailwindcss/container-queries'
import type { Config } from 'tailwindcss'
export default {
mode: 'jit',
content: [
'./src/**/*.{html,js,svelte,ts}',
'./node_modules/@allmaps/ui/dist/components/**/*.{html,js,svelte,ts}'
],
theme: {
...theme,
extend: {
screens: {
hsm: { raw: '(min-height: 640px)' },
hmd: { raw: '(min-height: 768px)' },
hlg: { raw: '(min-height: 1024px)' },
hxl: { raw: '(min-height: 1280px)' },
h2xl: { raw: '(min-height: 1536px)' },
whsm: { raw: '((min-height: 640px) and (min-width: 640px))' },
whmd: { raw: '((min-height: 768px) and (min-width: 768px))' },
whlg: { raw: '((min-height: 1024px) and (min-width: 1024px))' },
whxl: { raw: '((min-height: 1280px) and (min-width: 1280px))' },
wh2xl: { raw: '((min-height: 1536px) and (min-width: 1536px))' }
}
}
},
plugins: [typography, containerQueries]
} satisfies Config