-
Notifications
You must be signed in to change notification settings - Fork 3
/
tailwind.config.js
70 lines (63 loc) · 2.52 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
const defaultTheme = require("tailwindcss/defaultTheme");
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
screens: {
xs: "475px",
...defaultTheme.screens,
},
extend: {
keyframes: {
enter: {
"0%": { transform: "scale(0.9)", opacity: 0 },
"100%": { transform: "scale(1)", opacity: 1 },
},
leave: {
"0%": { transform: "scale(1)", opacity: 1 },
"100%": { transform: "scale(0.9)", opacity: 0 },
},
"slide-in": {
"0%": { transform: "translateY(-100%)" },
"100%": { transform: "translateY(0)" },
},
},
animation: {
enter: "enter 200ms ease-out",
"slide-in": "slide-in 1.2s cubic-bezier(.41,.73,.51,1.02)",
leave: "leave 150ms ease-in forwards",
},
colors: {
brand: "rgb(226, 34, 34 / <alpha-value>)",
background: "rgb(255, 255, 244 / <alpha-value>)",
foreground: "theme('colors.zinc.950')",
primary: "#e22424" /* Primary color */,
"primary-focus": "#a21515" /* Primary color - focused */,
"primary-content": "#fdffff" /* Foreground content color to use on primary color */,
secondary: "#083d77" /* Secondary color */,
"secondary-focus": "#052548" /* Secondary color - focused */,
"secondary-content": "#fdffff" /* Foreground content color to use on secondary color */,
accent: "#ffe8e5" /* Accent color */,
"accent-focus": "#FFBBB3" /* Accent color - focused */,
"accent-content": "#141204" /* Foreground content color to use on accent color */,
neutral: "#333333" /* Neutral color */,
"neutral-focus": "#484848" /* Neutral color - focused */,
"neutral-content": "#fdffff" /* Foreground content color to use on neutral color */,
"base-100": "#fdffff" /* Base color of page, used for blank backgrounds */,
"base-200": "#EEF1F1" /* Base color, a little darker */,
"base-300": "#D9E0E0" /* Base color, even more darker */,
"base-content": "#141204" /* Foreground content color to use on base color */,
info: "#2094f3" /* Info */,
success: "#009485" /* Success */,
warning: "#ff9900" /* Warning */,
error: "#ff5724" /* Error */,
},
},
fontFamily: {
sans: ["Roboto", "sans-serif"],
display: ['"Roboto Slab"'],
mono: [...defaultTheme.fontFamily.mono],
},
},
plugins: [require("@tailwindcss/forms")],
};