-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.cjs
More file actions
110 lines (109 loc) · 2.69 KB
/
Copy pathtailwind.config.cjs
File metadata and controls
110 lines (109 loc) · 2.69 KB
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
/** @type {import('tailwindcss').Config} */
const colors = require('tailwindcss/colors')
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
darkMode: 'class',
theme: {
fontFamily: {
sans: ['Titillium Web', 'sans-serif'],
},
extend: {
screens: {
xs: { max: '639px' },
sm: '640px',
md: '768px',
lg: '1025px',
xl: '1280px',
xxl: '1536px',
ptablet: {
raw: '(min-width: 768px) and (max-width: 1024px) and (orientation: portrait)',
},
ltablet: {
raw: '(min-width: 768px) and (max-width: 1024px) and (orientation: landscape)',
},
},
colors: {
primary: colors.blue,
muted: colors.gray,
info: colors.sky,
success: colors.green,
warning: colors.amber,
danger: colors.rose,
},
animation: {
gelatine: 'gelatine 600ms both',
scaleAnimation: 'scaleAnimation 1s ease-out 0s 1 both',
drawCircleFadeOut: 'drawCircle 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both ,fadeOut 0.3s linear 0.9s 1 both ',
drawCheckFadeOut: 'drawCheck 1s cubic-bezier(0.77, 0, 0.175, 1) 0s 1 both ,fadeOut 0.3s linear 0.9s 1 both',
fadeIn: 'fadeIn 0.3s linear 0.9s both',
},
keyframes: {
fadeOut: {
'0%': {
opacity: '1',
},
'100%': {
opacity: '0',
},
},
fadeIn: {
'0%': {
opacity: '0',
},
'100%': {
opacity: '1',
},
},
scaleAnimation: {
'0%': {
opacity: '0',
transform: 'scale(1.5)',
},
'100%': {
opacity: '1',
transform: 'scale(1)',
},
},
drawCircle: {
'0%': {
'stroke-dashoffset': '151px',
},
'100%': {
'stroke-dashoffset': '0',
},
},
drawCheck: {
'0%': {
'stroke-dashoffset': '36px',
},
'100%': {
'stroke-dashoffset': '0',
},
},
spinAround: {
'0%': {
transform: 'rotate(0deg)',
},
'100%': {
transform: 'rotate(360deg)',
},
},
gelatine: {
'from,to': {
transform: 'scale(1, 1)',
},
'25%': {
transform: 'scale(0.9, 1.1)',
},
'50%': {
transform: 'scale(1.1, 0.9)',
},
'75%': {
transform: 'scale(0.95, 1.05)',
},
},
},
},
},
plugins: [],
}