-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
47 lines (46 loc) · 1.06 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
/** @type {import('tailwindcss').Config} */
const plugin = require("tailwindcss/plugin");
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx}"],
theme: {
colors: {
white: "rgb(255, 255, 255)",
black: "rgb(0, 0, 0)",
light: "rgba(255, 255, 255, 0.6)",
dark: "rgba(0, 0, 0, 0.8)",
fadedLight: "rgba(255, 255, 255, 0.2)",
fadedDark: "rgba(0, 0, 0, 0.6)",
},
animation: {
outerGlow: "animatedJamesTurrell 90s infinite",
innerGlow: "animatedJamesTurrell 45s infinite",
},
extend: {
fontSize: {
xxs: ["10px"],
},
borderWidth: {
1: "1px",
},
},
},
plugins: [
plugin(function ({ addComponents }) {
addComponents({
".flex-center": {
display: "flex",
justifyContent: "center",
alignItems: "center",
},
".full-screen": {
position: "fixed",
top: "0",
left: "0",
outline: "none",
width: "100vw",
height: "100vh"
},
});
}),
],
};