UNPKG

2.27 kBJavaScriptView Raw
1module.exports = {
2 theme: {
3 extend: {
4 screens: {
5 '-2xl': { max: '1535px' },
6 '-xl': { max: '1279px' },
7 '-lg': { max: '1023px' },
8 '-md': { max: '767px' },
9 '-sm': { max: '639px' },
10 'hover-none': { raw: '(hover: none), (pointer: coarse)' },
11 'hover-hover': { raw: '(hover: hover), not (pointer: coarse)' },
12 },
13 fontSize: {
14 '4xs': ['0.625rem', { lineHeight: '1rem' }], // 10px
15 '3xs': ['0.6875rem', { lineHeight: '1rem' }], // 11px
16 '2xs': ['0.75rem', { lineHeight: '1rem' }], // 12px
17 xs: ['0.8125rem', { lineHeight: '1rem' }], // 13px
18 },
19 colors: {
20 primary: {
21 50: '#E0EFFF',
22 100: '#C7E1FF',
23 200: '#8AC0FF',
24 300: '#52A3FF',
25 400: '#1A85FF',
26 500: '#0067DD',
27 600: '#0053B3',
28 700: '#003E85',
29 800: '#002857',
30 900: '#00152E',
31 },
32 },
33 zIndex: {
34 below: '-1',
35 slide: '200', // same as options.zIndex.targets.start
36 content: '300', // above all page content
37 drop: '400', // same as options.zIndex.targets.start
38 tooltip: '500', // same as options.zIndex.targets.start
39 sticky: '900',
40 above: '1000', // above all page components
41 overlay: '5000', // same as options.zIndex.targets.start
42 last: '10000', // this is the z-index above all
43 },
44 inset: {
45 100: '100%',
46 },
47 borderRadius: {
48 inherit: 'inherit',
49 xs: '0.125rem', // 2px
50 sm: '0.1875rem', // 3px
51 },
52 cursor: {
53 none: 'none',
54 },
55 outline: {
56 browser: '5px auto Highlight',
57 },
58 transitionDelay: {
59 ...require('./src/animation.css.js').transitionDelay,
60 },
61 transitionDuration: {
62 ...require('./src/animation.css.js').transitionDuration,
63 },
64 transitionTimingFunction: {
65 ...require('./src/animation.css.js').transitionTimingFunction,
66 },
67 animation: {
68 ...require('./src/animation.css.js').animation,
69 },
70 keyframes: theme => ({
71 ...require('./src/animation.css.js').keyframes(theme),
72 }),
73 },
74 },
75 plugins: [require('./tailwind.plugin')],
76}