DEVELOPMENT ENVIRONMENT

~liljamo/emerwen-web

ref: cb21a041ada3070c6dca5418e703cfd6af0ae3b8 emerwen-web/tailwind.config.js -rw-r--r-- 1.4 KiB
cb21a041Jonni Liljamo feat: initial 7 days ago
                                                                                
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
/** @type {import('tailwindcss').Config} */
module.exports = {
  content: ["./**/*.templ"],
  theme: {
    extend: {
			backgroundSize: {
				"size-200": "200% 200%",
			},
			backgroundPosition: {
				"pos-0": "0% 0%",
				"pos-100": "100% 100%",
			},
			keyframes: {
				sheepspin: {
					'0%': {
						transform: 'rotate(0deg)',
						opacity: '0',
					},
					'25%': {
						transform: 'rotate(90deg)',
						opacity: '1',
					},
					'50%': {
						transform: 'rotate(180deg)',
						opacity: '1',
					},
					'75%': {
						transform: 'rotate(270deg)',
						opacity: '1',
					},
					'100%': {
						transform: 'rotate(360deg)',
						opacity: '0',
					},
				},
				sheepmove: {
					'0%': {
						transform: 'translateX(-25%) translateY(-250%)',
					},
					'10%': {
						transform: 'translateX(-80%) translateY(-162.5%)',
					},
					'30%': {
						transform: 'translateX(-110%) translateY(-125%)',
					},
					'50%': {
						transform: 'translateX(-80%) translateY(-50%)',
					},
					'60%': {
						transform: 'translateX(-25%) translateY(0)'
					},
					'75%': {
						transform: 'translateX(-10%) translateY(25%)'
					},
					'90%': {
						transform: 'translateX(-15%) translateY(50%)'
					},
					'100%': {
						transform: 'translateX(-10%) translateY(75%)'
					},
				},
			},
			animation: {
				sheepspin: 'sheepspin 750ms linear',
				sheepmove: 'sheepmove 750ms linear',
			},
		},
  },
}