DEVELOPMENT ENVIRONMENT

~liljamo/tixe

ref: 085f4e7f74ff662c78702787daf3401efa3b01bc tixe/tailwind.config.js -rw-r--r-- 1.6 KiB
085f4e7fJonni Liljamo feat: a title / heading in settings 1 year, 2 months 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
/** @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%)'
					},
				},
			},
			animation: {
				wiggle: 'wiggle 200ms ease-in-out',
				starspin: 'starspin 750ms linear',
				starmove: 'starmove 750ms linear',
			},
		},
	},
	plugins: [],
}