This repository was archived by the owner on Apr 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtailwind.config.js
More file actions
77 lines (77 loc) · 2.56 KB
/
tailwind.config.js
File metadata and controls
77 lines (77 loc) · 2.56 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
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {
gridTemplateColumns: { templateColumns: 'repeat( auto-fit, minmax(224px, 240px) )' },
width: { figureWidth: '52px' },
minWidth: {
'1/2': '50%',
'2/3': '66.666667%',
},
boxShadow: {
default: '0 5px 30px 0 rgba(190, 190, 190)',
block: 'inset 0px -5px 0px rgba(0,0,0,0.2)',
button: 'inset 0px -6px 0px rgba(0,0,0,0.3)',
'button-active': 'inset 0px -2px rgba(0,0,0,0.3)',
hud: 'inset 0px -6px 0px rgba(0,0,0,0.3), 0px 4px 1px 1px rgba(0, 0, 0, 0.15)',
flat: '0px 4px 1px 0px rgba(0, 0, 0, 0.15)',
soft: '0px 0px 20px rgba(0, 0, 0, 0.15)',
},
fontFamily: {
sans: ['Rubik', 'sans-serif'],
},
colors: {
dark: '#183153',
secondary: '#DEF1FF',
primary: {
300: '#5b59cd',
400: '#666ad2',
450: '#676dd2',
500: '#869af5',
},
'dark-blue': '#19335c',
pink: {
300: '#df3fb4',
400: '#CD8CED',
500: '#eb5dcf',
},
yellow: '#EDED8C',
green: '#63e6be',
red: {
300: '#fd2360',
400: '#ED8C8C',
},
shadow: 'rgba(0,0,0,0.5)',
},
borderWidth: {
6: '6px',
14: '14px',
},
gridTemplateRows: {
footer: '200px minmax(900px, 1fr) 100px',
user: 'repeat(2, 1fr) 0.5fr',
},
keyframes: {
wiggle: {
// shake on the x asis
'0%, 100%': { transform: 'translateX(0) rotate(180deg)' },
'25%': { transform: 'translateX(-5px) rotate(180deg)' },
'75%': { transform: 'translateX(5px) rotate(180deg)' },
},
},
animation: {
wiggle: 'wiggle 200ms ease-in-out infinite',
},
screens: {
xs: { max: '640px' },
},
},
},
variants: {
extend: {
boxShadow: ['active'],
},
},
plugins: [],
}