-
Notifications
You must be signed in to change notification settings - Fork 0
/
tailwind.config.js
108 lines (102 loc) · 3.05 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
module.exports = {
content: ["./src/**/*.{js,jsx,ts,tsx,html,scss}"],
darkMode: "class", // Enables dark mode by adding a 'dark' class to a wrapper html tag
theme: {
// Every entry in 'theme' is to be aligned with a Design System and it will be nice
// if this Design System takes in consideration what is already present in Tailwind
extend: {
colors: {
// Visual Identity Colors
primary: "#e63946",
"primary-dark": "#b82635",
secondary: "#1d3557",
"secondary-dark": "#14233b",
tertiary: "#f1faee",
"tertiary-dark": "#c1d8ce",
// Neutral Colors
neutral: {
dark: "#131313",
white: "#ffffff",
"gray-1": "#fcfcfc",
"gray-2": "#ECECEC",
"gray-3": "#d9d9d9",
"gray-4": "#c3c3c3",
"gray-5": "#999999",
inherit: "inherit",
transparent: "transparent",
},
// Semantic Colors
semantic: {
info: "#00BBFF",
alert: "#F4973C",
danger: "#dc3545",
success: "#039B00",
"info-dark": "#0f98ca",
"alert-dark": "#c96d13",
"danger-dark": "#c82333",
"success-dark": "#068303",
},
// Colors for Light Mode
light: {
text: "#1d3557",
heading: "#1d3557",
"text-bold": "#1d3557",
"button-text": "#ffffff",
"app-background": "#ffffff",
"button-background": "#e63946",
"container-background": "#fcfcfc",
"button-background-hover": "#b82635",
},
// Colors for Dark Mode
dark: {
text: "#ffffff",
heading: "#ffffff",
"text-bold": "#ffffff",
"button-text": "#ffffff",
"app-background": "#131313",
"button-background": "#e63946",
"container-background": "#1d3557",
"button-background-hover": "#b82635",
},
},
fontFamily: {
text: ['"TitilliumWeb Regular"', "sans-serif"],
"text-bold": ['"TitilliumWeb Bold"', "sans-serif"],
"text-semi-bold": ['"TitilliumWeb SemiBold"', "sans-serif"],
},
fontSize: {
smallest: "0.75rem", // Equivalent to text-xs
smaller: "0.875rem", // Equivalent to text-sm
default: "1rem", // Equivalent to text-base
medium: "1.125rem", // Equivalent to text-lg
large: "1.25rem", // Equivalent to text-xl
bigger: "1.5rem", // Equivalent to text-2xl
jumbo: "2rem", // Equivalent to text-3xl
biggest: "2.25rem", // Equivalent to text-4xl
},
fontWeight: {
regular: 400,
semiBold: 600,
bold: 700,
},
lineHeight: {
small: "1",
default: "1.2",
tall: "1.5",
taller: "1.8",
big: "2",
biggest: "2.4",
},
transitionDuration: {
DEFAULT: "200ms",
},
transitionProperty: {
DEFAULT: "all",
},
transitionTimingFunction: {
DEFAULT: "ease",
},
},
},
plugins: [],
};