-
Notifications
You must be signed in to change notification settings - Fork 6
/
tailwind.config.js
147 lines (147 loc) · 3.94 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
mode: "jit",
purge: [
'./app/views/**/*.html.erb',
'./app/helpers/**/*.rb',
'./app/javascript/**/*.js',
],
theme: {
scale: {
'0': '0',
'25': '.25',
'50': '.5',
'75': '.75',
'90': '.9',
'95': '.95',
'100': '1',
'105': '1.05',
'110': '1.1',
'125': '1.25',
'150': '1.5',
'200': '2',
'250': '2.5',
'300': '3',
'400': '4',
'500': '5',
},
fontSize: {
'xs': '.75rem',
'sm': '.875rem',
'base': '1rem',
'lg': '1.125rem',
'xl': '1.25rem',
'2xl': '1.5rem',
'3xl': '1.875rem',
'4xl': '2.25rem',
'5xl': '3rem',
'6xl': '4rem',
'7xl': '5rem',
'8xl': '6rem',
'9xl': '7rem',
'10xl': '10rem',
'11xl': '11rem',
},
extend: {
keyframes: {
"ping-once": {
"0%, 100%": { transform: "scale(1.3)" }
},
openmenu: {
// initial position
'0%': {right: '-300px'},
// final position
'100%': {right: '0px'}
},
},
animation: {
"ping-once": 'ping-once ease 200ms 1',
"openmenu": "openmenu 0.15s ease-in-out",
},
height: theme => ({
"screen/2": "50vh",
"screen/3": "calc(100vh / 3)",
"screen/4": "calc(100vh / 4)",
"screen/5": "calc(100vh / 5)",
'128': '32rem',
'144': '36rem',
'160': '40rem',
'176': '44rem',
'192': '48rem',
'288': '72rem',
}),
width: {
"1/7": "14.2857143%",
"2/7": "28.5714286%",
"3/7": "42.8571429%",
"4/7": "57.1428571%",
"5/7": "71.4285714%",
"6/7": "85.7142857%",
},
fontFamily: {
sans: ['Inter', ...defaultTheme.fontFamily.sans],
mono: ['IBM Plex Mono', ...defaultTheme.fontFamily.mono]
},
colors: {
'pinky': '#feeceb',
'darker-pinky': '#DECFCC',
'blurple': '#312783',
'blurple-gray': '#f4f2f7',
'dark-blurple': '#28206e',
'darker-blurple': '#211b5c',
'darky': '#252534',
'light-gray': '#d8d8d8',
'lighter-gray': '#9B9B9B',
'yellowy': '#E5D151',
'dark-yellowy': '#d1bd3d',
'light-yellowy': '#FFE35F',
'post-it-yellowy': '#f6e573',
'post-it-yellowy-dark': '#ebd96c',
'post-it-yellowy-darker': '#d6c660',
'post-it-yellowy-90': '#f7e783',
'post-it-yellowy-80': 'rgba(248,234,146,1)',
'post-it-yellowy-70': 'rgba(248,237,161,1)',
'post-it-yellowy-60': 'rgba(249,239,175,1)',
'post-it-yellowy-50': 'rgba(250,242,189,1)',
'post-it-yellowy-40': 'rgba(251,245,203,1)',
'post-it-yellowy-30': 'rgba(252,248,216,1)',
'post-it-yellowy-20': 'rgba(253,250,229,1)',
'post-it-yellowy-10': 'rgba(254,253,242,1)',
'greeny': '#027540',
'dark-greeny': '#006637',
'darker-greeny': '#005c31',
'greeny-gray': '#dce8e3',
'reddy': '#DC6660',
'darker-reddy': '#c65b56',
'purply': '#A260DC',
'wine': '#750202',
'wine-light': '#ba7f80',
'light-greeny': '#DBFFC1',
'light-greeny-darker': '#cff2b6',
'light-blurple': '#DFD8FF',
'beigy': '#FBEDEB',
'dark-beigy': '#EDBDB7'
},
maxWidth: theme => ({
'screen-sm': theme('screens.sm'),
'screen-md': theme('screens.md'),
'screen-lg': theme('screens.lg'),
'screen-xl': theme('screens.xl'),
})
},
},
variants: {
extend: {
backgroundColor: ['active', 'hover'],
animation: ['hover'],
visibility: ["group-hover"],
display: ["group-hover"],
}
},
plugins: [
require('@tailwindcss/typography'),
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
require('@tailwindcss/aspect-ratio'),
]
}