-
Notifications
You must be signed in to change notification settings - Fork 1
/
tailwind.config.mjs
75 lines (72 loc) · 1.45 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
/** @type {import('tailwindcss').Config} */
const defaultTheme = require('tailwindcss/defaultTheme')
const colors = require('./config/colors.json');
const colorClasses = [];
for (let colorKey in colors) {
colorClasses.push('bg-' + colorKey);
colorClasses.push('text-' + colorKey);
colorClasses.push('fill-' + colorKey);
}
module.exports = {
content: ['./src/**/*.{astro,html,js,jsx,md,mdx,svelte,ts,tsx,vue}'],
safelist: [
...colorClasses,
'-mt-1'
],
theme: {
screens: {
sm: "375px",
md: "768px",
lg: "1024px",
xl: "1280px",
},
fontFamily: {
sans: [
'Poppins',
...defaultTheme.fontFamily.sans
],
},
borderWidth: {
default: "1px",
"0": "0",
"2": "2px",
"4": "4px",
},
minHeight: {
'0': '0',
'1/4': '25%',
'1/2': '50%',
'3/4': '75%',
'full': '100%',
'56': "56px"
},
extend: {
colors: {
...colors
},
spacing: {
"96": "24rem",
"128": "32rem",
},
width: (theme) => ({
"100pixel": "100px"
}),
height: (theme) => ({
"144": "40rem",
"100pixel": "100px",
"screen/3": "75vh",
}),
boxShadow: {
"xl-black": '0 10px 10px -12px rgba(0, 0, 0, 5)',
"2xl-black": '0 25px 50px -12px rgba(0, 0, 0, 5)',
"3xl-tulip": '10px 10px 50px -20px rgba(231, 166, 26, 1)',
"3xl-ocean": '10px 10px 50px -20px rgba(7, 125, 160, 1)',
}
}
},
plugins: [
require('tailwindcss-animated'),
require('tailwindcss-intersect')
],
darkMode: "class"
}