forked from civitai/civitai
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
43 lines (39 loc) · 873 Bytes
/
tailwind.config.js
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
34
35
36
37
38
39
40
41
42
const plugin = require('tailwindcss/plugin')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{ts,tsx}',],
theme: {
screens: {
xs: '576px',
sm: '768px',
md: '992px',
lg: '1200px',
xl: '1400px',
},
extend: {
textShadow: {
sm: '0 1px 2px var(--tw-shadow-color)',
default: '0 2px 4px var(--tw-shadow-color)',
},
},
},
plugins: [
require('@tailwindcss/container-queries'),
plugin(function ({ matchUtilities, theme, addUtilities }) {
matchUtilities(
{
'text-shadow': (value) => ({
textShadow: value,
}),
},
{ values: theme('textShadow') },
),
addUtilities({
'.aspect-portrait': {
aspectRatio: '7 / 9'
},
'.card': {}
})
}),
],
}