DEVELOPMENT ENVIRONMENT

~liljamo/emerwen-web

emerwen-web/tailwind.config.js -rw-r--r-- 1.8 KiB
4e555b1eJonni Liljamo feat: UI for new/patch/delete worker/target 11 hours 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
/** @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%)'
					},
				},
				lidjump: {
					'0%': {
						transform: 'translateY(0)',
					},
					'50%': {
						transform: 'translateY(-75%)',
					},
					'100%': {
						transform: 'translateY(0)',
					},
				},
				fullrotate: {
					'0%': {
						transform: 'rotate(0deg)',
					},
					'100%': {
						transform: 'rotate(360deg)',
					},
				},
			},
			animation: {
				sheepspin: 'sheepspin 750ms linear',
				sheepmove: 'sheepmove 750ms linear',
				lidjump: 'lidjump 500ms linear',
				fullrotate: 'fullrotate 500ms linear',
			},
		},
  },
}