forked from dappforce/grillchat
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.js
83 lines (78 loc) · 2.96 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['./src/**/*.{js,ts,jsx,tsx}'],
darkMode: 'class',
theme: {
extend: {
animation: {
fade: 'fadeOut .4s ease-in-out',
scale: 'scale 1s ease-in-out infinite',
},
keyframes: {
fadeOut: {
'0%': { opacity: 0 },
'100%': { opacity: 1 },
},
scale: {
'0%, 100%': { transform: 'scale(1)' },
'50%': { transform: 'scale(1.25)' },
},
},
gridTemplateRows: {
0: 'repeat(1, minmax(0, 0fr))',
},
screens: {
medium: '924px',
},
fontFamily: {
sans: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',
unbounded: 'Unbounded, sans-serif',
},
transitionProperty: {
'accordion-height': 'margin-top, grid-template-rows',
},
fontSize: {
base: ['1rem', '1.35'],
'4.5xl': '2.5rem',
},
padding: {
4.5: '1.125rem',
},
colors: {
background: 'rgb(var(--background) / <alpha-value>)',
'background-light': 'rgb(var(--background-light) / <alpha-value>)',
'background-lighter': 'rgb(var(--background-lighter) / <alpha-value>)',
'background-lightest':
'rgb(var(--background-lightest) / <alpha-value>)',
'background-primary': 'rgb(var(--background-primary) / <alpha-value>)',
'background-primary-light':
'rgb(var(--background-primary-light) / <alpha-value>)',
'background-warning': 'rgb(var(--background-warning) / <alpha-value>)',
'background-info': 'rgb(var(--background-info) / <alpha-value>)',
'background-accent': 'rgb(var(--background-accent) / <alpha-value>)',
'background-red': 'rgb(var(--background-red) / <alpha-value>)',
text: 'rgb(var(--text) / <alpha-value>)',
'text-muted': 'rgb(var(--text-muted) / <alpha-value>)',
'text-on-primary': 'rgb(var(--text-on-primary) / <alpha-value>)',
'text-muted-on-primary':
'rgb(var(--text-muted-on-primary) / <alpha-value>)',
'text-muted-on-primary-light':
'rgb(var(--text-muted-on-primary-light) / <alpha-value>)',
'text-primary': 'rgb(var(--text-primary) / <alpha-value>)',
'text-secondary': 'rgb(var(--text-secondary) / <alpha-value>)',
'text-secondary-light':
'rgb(var(--text-secondary-light) / <alpha-value>)',
'text-dark': 'rgb(var(--text-dark) / <alpha-value>)',
'text-warning': 'rgb(var(--text-warning) / <alpha-value>)',
'text-red': 'rgb(var(--text-red) / <alpha-value>)',
'border-gray': 'rgb(var(--border-gray) / <alpha-value>)',
},
},
},
plugins: [
require('tailwind-scrollbar')({ nocompatible: true }),
require('tailwindcss-touch')(),
require('@tailwindcss/typography')(),
require('@tailwindcss/container-queries'),
],
}