-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.cjs
60 lines (59 loc) · 1.11 KB
/
tailwind.config.cjs
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
const defaultTheme = require("tailwindcss/defaultTheme");
/**
* @type { import('tailwindcss').Config }
*/
module.exports = {
content: ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
theme: {
screens: {
xs: "480px",
...defaultTheme.screens,
},
fontWeight: {
regular: "400",
bold: "700",
},
extend: {
colors: {
primary: {
50: "#FEF8E4",
100: "#FDECBB",
200: "#FCE091",
300: "#FBD468",
400: "#FACA50",
500: "#F8C147",
600: "#F7B442",
700: "#F4A33D",
800: "#F2943A",
900: "#EF7931",
},
},
keyframes: {
expandMenu: {
from: {
opacity: "0",
transform: "scale(0)",
"transform-origin": "top right",
},
to: {
opacity: "100%",
transform: "scale(1)",
"transform-origin": "top right",
},
},
contractMenu: {
to: {
opacity: "0",
transform: "scale(0)",
"transform-origin": "top right",
},
},
},
animation: {
expandMenu: "expandMenu 0.25s ease-in-out",
contractMenu: "contractMenu 0.25s ease-in-out forwards",
},
},
},
plugins: [],
};