-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtailwind.config.mjs
88 lines (88 loc) · 2.76 KB
/
tailwind.config.mjs
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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
primary: 'rgb(var(--ac-primary), <alpha-value>)',
secondary: 'rgb(var(--ac-secondary), <alpha-value>)',
white: 'rgb(var(--ac-white), <alpha-value>)',
black: 'rgb(0, 0, 0)',
dark: 'rgb(var(--ac-dark), <alpha-value>)',
gray: {
100: 'rgb(var(--ac-gray-100), <alpha-value>)',
200: 'rgb(var(--ac-gray-200), <alpha-value>)',
300: 'rgb(var(--ac-gray-300), <alpha-value>)',
400: 'rgb(var(--ac-gray-400), <alpha-value>)',
500: 'rgb(var(--ac-gray-500), <alpha-value>)',
},
neutral: {
100: 'rgb(var(--ac-color-100), <alpha-value>)',
200: 'rgb(var(--ac-color-200), <alpha-value>)',
300: 'rgb(var(--ac-color-300), <alpha-value>)',
400: 'rgb(var(--ac-color-400), <alpha-value>)',
500: 'rgb(var(--ac-color-500), <alpha-value>)',
600: 'rgb(var(--ac-color-600), <alpha-value>)',
700: 'rgb(var(--ac-color-700), <alpha-value>)',
},
},
container: {
center: true,
padding: '2rem',
},
fontFamily: {
sans: ['Poppins', 'sans-serif'],
},
extend: {
animation: {
'move-circle': 'move-circle 10s linear infinite',
'move-circle-reverse': 'move-circle-reverse 6s linear infinite',
'shine': 'shine 3s linear infinite',
'subtle-pulse': 'subtle-pulse 2s ease-in-out infinite',
"shiny-text": "shiny-text 8s infinite",
},
blur: {
'2.5xl': '50px',
'4xl': '80px',
'5xl': '96px',
'6xl': '112px',
},
keyframes: {
'move-circle': {
'0%': {
transform: 'rotate(0deg) translateY(10%) rotate(0deg)',
},
'100%': {
transform: 'rotate(360deg) translateY(10%) rotate(-360deg)',
},
},
'move-circle-reverse': {
'0%': {
transform: 'rotate(0deg) translateY(14%) rotate(0deg)',
},
'100%': {
transform: 'rotate(-360deg) translateY(15%) rotate(360deg)',
},
},
'shine': {
'from': { backgroundPosition: '200% center' },
'to': { backgroundPosition: '-200% center' }
},
'subtle-pulse': {
'0%, 100%': { opacity: 0.9 },
'50%': { opacity: 0.7 }
},
'shiny-text': {
"0%, 90%, 100%": {
"background-position": "calc(-100% - var(--shiny-width)) 0"
},
"30%, 60%": {
"background-position": "calc(100% + var(--shiny-width)) 0"
}
}
},
},
},
plugins: [],
}