-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtailwind.config.js
More file actions
104 lines (103 loc) · 4.62 KB
/
Copy pathtailwind.config.js
File metadata and controls
104 lines (103 loc) · 4.62 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
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
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
"./html/*.html", // Scans all HTML files in the html folder
"./*.html", //Scans main folder for other html files
"./js/*.js", // Scans all JS files in the js folder
"./css/*.css", // Ensures all relevant CSS files are included
],
theme: {
extend: {
screens: {
cb: "670px", // It was necessary for side buttons by the carousel
},
colors: {
primary: "#3366FF", //dominant color and transparent hover
primaryhover: "#658BFF",
lightgrey: "#737373", //subtitle
deepgrey: "#464555", //title
green: "#22BA5C", //whatsapp
greenhover: "#5ACF87",
cyan: "#22A4C8", //telegram
cyanhover: "#5CB8D1",
blackhover: "#343434", //binary
purple: "#8C51FF", //zaptek
purplehover: "#A272FF",
whitehover: "#EAEFFF", //buttons
footericonhover: "#6188FF", //footersocialshover
},
fontFamily: {
montserrat: ["montserrat"], //default
dmsans: ["DM Sans"], //titles
},
fontSize: {
fluid1: "clamp(28px, 5vw,48px)", // for banner titles
fluid2: "clamp(20px, 3vw, 32px)", // for titles
fluid3: "clamp(11px, 2vw, 16px)", // for subtitles & contact card subtitle
fluid4: "clamp(16px, 2vw, 26px)", // for contact card title
fluid5: "clamp(10px, 2vw, 16px)",
kdfluid1: "clamp(11.7px, 1.85vw, 16px)", // for kdab side
fluid6: "clamp(15px, 2vw, 20px)", // for social card title & follow button text
fluid7: "clamp(10px, 2vw, 12px)", // css logo base text & form base text
fluid8: "clamp(11px, 2vw, 20px)", // form button text
fluid9: "clamp(20px, 2vw, 36px)", //for resource main content title
fluid10: "clamp(12px, 2vw, 13px)", // for resource category in blue on title
fluid11: "clamp(18px, 2vw, 24px)", // for resource lower1 title
fluid12: "clamp(16px, 2vw, 24px)", // for resource lower2 title
fluid13: "clamp(12px, 2vw, 17px)", // for resource lower getting started steps
fluid14: "clamp(13px, 2vw, 17px)",
fluid15: "clamp(14px, 2vw, 18px)",
fluid16: "clamp(12px, 1vw, 16px)",
fluid17: "clamp(11px, 2vw, 18px)",
fluid18: "clamp(11px, 2vw, 14px)",
fluid19: "clamp(11px, 2vw, 13px)",
fluid20: "clamp(26px, 2vw, 36px)",
fluid21: "clamp(26px, 2vw, 32px)",
fluid22: "clamp(11px, 2vw, 15px)",
fluid23: "clamp(12px, 2vw, 15px)",
fluid24: "clamp(14px, 2vw, 20px)",
},
width: {
fluid1: "clamp(91px, 15vw, 107px)",
fluid2: "clamp(287px, 45vw, 525px)", //sign up card
fluid3: "clamp(82px, 15vw, 140px)", //css logo base textbox
fluid4: "clamp(62px, 15vw, 77px)",
fluid5: "clamp(19px, 2vw, 24px)", //form button svg
fluid6: "clamp(232px, 15vw, 334px)",
fluid7: "clamp(288px, 70vw, 1140px)", //society guidelines div
fluid8: "clamp(14px, 2vw, 28px)", //send message button svg
fluid9: "clamp(230px, 35vw, 293px)",
fluid10: "clamp(232px, 15vw, 251px)", //send message button
fluid11: "clamp(288px, 85vw, 688px)", //hero-section subtitle textbox
fluid12: "clamp(38px, 5vw, 42px)", //knust logo
fluid13: "clamp(231px, 35vw, 420px)",
fluid14: "clamp(337px, 35vw, 460px)",
fluid15: "clamp(220px, 57vw, 580px)",
fluid16: "clamp(280px, 65vw, 674px)",
fluid17: "clamp(217px, 50vw, 374px)",
fluid18: "clamp(290px, 70vw, 912px)",
fluid19: "clamp(298px, 41vw, 384px)",
},
height: {
fluid1: "clamp(253px, 35vw, 296px)", // social cards & send message button
fluid2: "clamp(488px, 35vw, 656px)", // membership-heroImage
fluid3: "clamp(464px, 35vw, 640px)", // Custom height using clamp()
fluid4: "clamp(32px, 35vw, 40px)", // Custom height using clamp()
fluid5: "clamp(19px, 2vw, 24px)", // form vutton svg
fluid6: "clamp(358px, 35vw, 344px)", //society guidelines div
fluid7: "clamp(14px, 2vw, 28px)", //send message button svg
fluid8: "clamp(76px, 15vw, 160px)",
fluid9: "clamp(363px, 35vw, 414px)",
fluid10: "clamp(363px, 55vw, 440px)", // contact from
fluid11: "clamp(44px, 15vw, 64px)",
fluid12: "clamp(763px, 105vw, 884px)", //hero section image
fluid13: "clamp(54px, 7vw, 63px)", //knust logo
},
boxShadow: {
custom1: "0px 4px 9.6px 0px #C0C0C07A", //social-cards
custom2: "0px 4px 9.6px 0px rgba(51, 102, 255, 0.16)", // sign up card
},
},
},
plugins: [require("flowbite/plugin")],
};