generated from SallaApp/theme-raed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
141 lines (141 loc) · 4.71 KB
/
tailwind.config.js
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
module.exports = {
important: false,
content: [
"src/views/**/*.twig",
"src/assets/js/**/*.js",
//todo:: inject it via the plugin or easier way
'node_modules/@salla.sa/twilight-tailwind-theme/safe-list-css.txt',
],
darkMode: 'class', // or 'media' or 'class'
theme : {
container : {
center : true,
padding: '10px',
screens: {
'2xl': "1280px"
}
},
fontFamily: {
sans: [
'var(--font-main)',
'-apple-system',
'BlinkMacSystemFont',
],
primary: "var(--font-main)"
},
extend : {
transitionTimingFunction: {
'elastic': 'cubic-bezier(0.55, 0, 0.1, 1)',
},
gridTemplateColumns: {
'auto-fill' : 'repeat(auto-fill, 290px)',
},
colors : {
'dark' : '#1D1F1F',
'darker' : '#0E0F0F',
'danger' : '#AE0A0A'
},
spacing: {
'3.75': '15px',
'7.5' : '30px',
'58' : '232px',
'62' : '248px',
'100' : '28rem',
'116' : '464px',
'132' : '528px',
'200' : '800px',
},
borderRadius : {
'large': '22px',
'big' : '40px',
'tiny' : '3px',
DEFAULT: '.75rem',
},
fontSize : {
'icon-lg' : '33px',
'xxs' : '10px',
'xxxs' : '8px',
'title-size': '42px',
'22px' : '22px',
},
lineHeight : {
'12': '3rem',
'14': '3.5rem',
'16': '4rem',
'18': '4.5rem',
'20': '5rem',
},
boxShadow : {
'default' : '5px 10px 30px #2B2D340D;',
'top' : '0px 0px 10px #0000001A;',
'md' : '5px 10px 99px #2B2D340D',
'dropdown' : '0 4px 8px rgba(161, 121, 121, 0.07)',
'light' : '0px 4px 15px rgba(1, 1, 1, 0.06)',
'huge' : '0px 3px 6px #00000029',
'progress': '0 5px 15px rgba(92, 213, 196, 0.4)',
'mobile': 'rgb(0 0 0 / 9%) 0px 2px 1px, rgb(0 0 0 / 9%) 0px 4px 2px, rgb(0 0 0 / 9%) 0px 8px 4px, rgb(0 0 0 / 9%) 0px 16px 18px, rgb(0 0 0 / 9%) -15px 10px 7px, rgb(0 0 0 / 9%) -20px 10px 20px, rgb(0 0 0 / 9%) -20px 10px 20px, rgb(0 0 0 / 9%) -25px 20px 20px',
},
width : {
'18': '4.5rem',
'22': '5.5rem',
'74': '18.5rem',
'76': '19rem',
'78': '19.5rem',
},
height : {
'banner' : '200px',
'lg-banner' : '428px',
'full-banner' : '600px',
'500' : '500px',
'460' : '460px',
},
minWidth : {
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
},
maxWidth : {
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
},
zIndex : {
'1': '1',
'2': '2',
'-1': '-1',
},
screens : {
'xxs': {'min': '380px', 'max': '479px'},
'xs': '480px',
},
backgroundOpacity : {
'05': '0.05',
},
transitionProperty : {
'height': 'height'
},
keyframes: {
slideUpFromBottom: {
'0%': { transform: 'translateY(100%)', opacity: '0' },
'100%': { transform: 'translateY(0%)', opacity: '1' },
},
slideDownFromBottom: {
'0%': { transform: 'translateY(0%)', opacity: '1' },
'100%': { transform: 'translateY(100%)', opacity: '0' },
},
},
animation: {
slideUpFromBottom: 'slideUpFromBottom .6s linear',
slideDownFromBottom: 'slideDownFromBottom .6s linear',
},
},
},
corePlugins: {
outline: false,
},
plugins: [
require('@salla.sa/twilight-tailwind-theme'),
require('@tailwindcss/forms'),
require('@tailwindcss/line-clamp'),
],
}