-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.js
57 lines (54 loc) · 1.25 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
/* eslint-disable @typescript-eslint/no-var-requires */
const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
module.exports = {
content: [
"./src/**/*.{vue,ts,mdx}",
"./src/**/*.stories.{ts,tsx}",
],
darkMode: "class",
theme: {
extend: {
colors: {
black: "#050505",
white: "#ffffff",
grey: colors.slate,
red: colors.red,
yellow: colors.yellow,
blue: colors.blue,
},
container: {
center: true,
padding: "1rem",
},
fontFamily: {
sans: ["Recursive var", ...defaultTheme.fontFamily.sans],
},
opacity: {
10: "0.1",
20: "0.2",
30: "0.3",
40: "0.4",
50: "0.5",
60: "0.6",
70: "0.7",
80: "0.8",
90: "0.9",
},
keyframes: {
spinner: {
"0%, 70%, 100%": { transform: "scale3D(1,1,1);" },
"35%": { transform: "scale3D(0,0,1);" },
},
},
animation: {
spinner: "spinner 1.3s ease-in-out infinite",
},
},
},
plugins: [
require("@tailwindcss/forms"),
require("@tailwindcss/typography"),
require("@deck9/tailwindcss-recursive-font-helper"),
],
};