DEVELOPMENT ENVIRONMENT

~liljamo/tixe

ref: 2e864c4913d2c1b6f830e78f1681796e000a50d7 tixe/tailwind.config.js -rw-r--r-- 5.0 KiB
2e864c49Jonni Liljamo docs: update todos in readme 1 year, 1 month 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
/** @type {import('tailwindcss').Config} */
module.exports = {
	content: ["./template/templates/**/*.tmpl"],
	theme: {
		extend: {
			backgroundSize: {
				"size-200": "200% 200%",
			},
			backgroundPosition: {
				"pos-0": "0% 0%",
				"pos-100": "100% 100%",
			},
			keyframes: {
				wiggle: {
					'0%, 100%': { transform: 'rotate(-2deg)' },
					'50%': { transform: 'rotate(2deg)' },
				},
				starspin: {
					'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',
					},
				},
				starmove: {
					'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)',
	  				},
				},
				lidflip: {
					'0%': {
		  				transform: 'rotate(0deg)',
	  				},
					'50%': {
		  				transform: 'rotate(180deg)',
	  				},
					'100%': {
		  				transform: 'rotate(360deg)',
	  				},
				},
				fullrotate: {
					'0%': {
						transform: 'rotate(0deg)',
					},
					'100%': {
						transform: 'rotate(360deg)',
					},
                },
                newlink: {
                    '0%': {
                        transform: 'scale(1, 0)',
                        opacity: '0',
                    },
                    '100%': {
                        transform: 'scale(1, 1)',
                        opacity: '1',
                    },
                },
                penrotate: {
                    '0%': {
                        transform: 'rotate(0deg)',
                    },
                    '7.5%': {
                        transform: 'rotate(5deg)',
                    },
                    '22.5%': {
                        transform: 'rotate(10deg)',
                    },
                    '30%': {
                        transform: 'rotate(7deg)',
                    },
                    '40%': {
                        transform: 'rotate(0deg)',
                    },
                    '50%': {
                        transform: 'rotate(-10deg)',
                    },
                    '60%': {
                        transform: 'rotate(180deg)',
                    },
                    '90%': {
                        transform: 'rotate(180deg)',
                    },
                    '100%': {
                        transform: 'rotate(180deg)',
                    },
                },
                penmove: {
                    '0%': {
                        transform: 'translateX(-22%) translateY(-18%)',
                    },
                    '7.5%': {
                        transform: 'translateX(-10%) translateY(-24%)',
                    },
                    '22.5%': {
                        transform: 'translateX(10%) translateY(-4%)',
                    },
                    '30%': {
                        transform: 'translateX(25%) translateY(-10%)',
                    },
                    '40%': {
                        transform: 'translateX(50%) translateY(7%)',
                    },
                    '50%': {
                        transform: 'translateX(50%) translateY(7%)',
                    },
                    '60%': {
                        transform: 'translateX(150%) translateY(-93%)',
                    },
                    '70%': {
                        transform: 'translateX(125%) translateY(-110%)',
                    },
                    '77.5%': {
                        transform: 'translateX(110%) translateY(-104%)',
                    },
                    '92.5%': {
                        transform: 'translateX(110%) translateY(-124%)',
                    },
                    '100%': {
                        transform: 'translateX(78%) translateY(-118%)',
                    },
                },
			},
			animation: {
				wiggle: 'wiggle 200ms ease-in-out',
				starspin: 'starspin 750ms linear',
				starmove: 'starmove 750ms linear',
				lidjump: 'lidjump 500ms linear',
				lidflip: 'lidflip 500ms linear',
				scribble: 'scribble 1000ms linear forwards',
                penrotate: 'penrotate 1000ms linear',
                penmove: 'penmove 1000ms linear',
			},
		},
	},
	plugins: [],
}