-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtailwind.config.js
64 lines (58 loc) · 1.59 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
const colors = require('tailwindcss/colors')
let Spacing = 1;
let SpacingObject = {};
for (i = 0; i < 100; i++) {
SpacingObject[Spacing + 'px'] = Spacing + 'px';
SpacingObject[Spacing + '%'] = Spacing + '%';
Spacing += 1;
}
Spacing = 1;
let HeightObject = {};
for (i = 0; i < 500; i++) {
HeightObject[Spacing + 'px'] = Spacing + 'px';
HeightObject[Spacing + '%'] = Spacing + '%';
HeightObject[Spacing + 'vh'] = Spacing + 'vh';
Spacing += 1;
}
Spacing = 2;
let FontSizeObject = {};
for (i = 0; i < 200; i++) {
FontSizeObject[Spacing + 'px'] = Spacing + 'px';
Spacing += 2;
}
Spacing = 1;
let WidthObject = {};
for (i = 0; i < 20; i++) {
WidthObject[Spacing + 'px'] = Spacing + 'px';
Spacing += 1;
}
module.exports = {
content: ["./Presentation/Templates/**/*.{twig,html,cshtml,js,ts,jsx,tsx}"],
theme: {
extend: {},
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#22292f',
white: colors.white,
slate: colors.slate,
cyan: colors.cyan,
sky: colors.sky,
emerald: colors.emerald,
rose: colors.rose,
fuchsia: colors.fuchsia,
amber: colors.amber,
},
spacing: SpacingObject,
height: HeightObject,
fontSize: FontSizeObject,
borderWidth: WidthObject,
ringOffsetWidth: WidthObject,
ringWidth: WidthObject,
strokeWidth: WidthObject,
textDecorationThickness: WidthObject,
},
plugins: [
require('@tailwindcss/forms'),
],
}