-
Notifications
You must be signed in to change notification settings - Fork 467
/
tailwind.config.js
53 lines (52 loc) · 1.12 KB
/
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
43
44
45
46
47
48
49
50
51
52
53
const colors = require('tailwindcss/colors');
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
content: [
'./src/plugin-browser/*.js',
'./src/**/*.html',
'./src/**/*.njk',
'./src/**/*.md'
],
darkMode: 'class',
theme: {
extend: {
colors: {
sky: colors.sky,
cyan: colors.cyan,
emerald: colors.emerald,
lime: colors.lime,
orange: colors.orange,
rose: colors.rose,
fuchsia: colors.fuchsia,
blueGray: colors.slate,
violet: colors.violet,
green: colors.emerald,
yellow: colors.amber,
purple: colors.violet,
},
maxWidth: {
'full-screen': 'calc(100vw - 20px)'
},
width: {
'full-screen': 'calc(100vw - 20px)'
},
height: {
'128': '29rem'
},
},
screens: {
'xs': '375px',
...defaultTheme.screens,
}
},
variants: {
extend: {
ringColor: ['focus-visible'],
ringWidth: ['focus-visible'],
ringOpacity: ['focus-visible'],
},
},
plugins: [
require('tailwindcss-safe-area'),
],
};