-
Notifications
You must be signed in to change notification settings - Fork 5
/
_variables.scss
133 lines (113 loc) · 3.17 KB
/
_variables.scss
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
@import "./mixins";
:root {
// Fonts
--font-sans-serif: "GreycliffCF", "helvetica", "arial", "sans-serif";
--font-monospaced: "CourierPrime", "courier new", monospace;
// Colors
--color-white: #fefefd;
--color-light-grey: #d8d8e5;
--color-medium-grey: #a0a0c0;
--color-dark-grey: #9090b2;
--color-blue: #188bf5;
--color-dark-blue: #2b2f55;
--color-green: #03af9d;
--color-yellow: #ffc55c;
// RGB colors
--color-white-rgb: 254, 254, 253;
--color-light-grey-rgb: 216, 216, 229;
--color-medium-grey-rgb: 160, 160, 192;
--color-dark-grey-rgb: 144, 144, 178;
--color-blue-rgb: 24, 139, 245;
--color-dark-blue-rgb: 43, 47, 85;
--color-light-blue-rgb:17,129,193;
--color-green-rgb: 3, 175, 157;
--color-yellow-rgb: 255, 197, 92;
// Background colors
--color-bg-white: #fefefd;
--color-bg-light-grey: #f3f3f7;
--color-bg-grey: #f3f3f7;
--color-bg-dark-grey: #9090b2;
--color-bg-blue: #48a7ff;
--color-bg-dark-blue: #2b2f55;
--color-bg-yellow: #ffd78f;
--color-bg-red: #ed6a5e;
// Font Sizes
--text-label: 0.8125rem;
--text-base: 1rem;
--text-body: 1.1875rem;
--text-small: 1rem;
--text-medium: 1.5rem;
--text-large: 3.375rem;
--h1-size: 2.25rem;
--h2-size: 1.75rem;
--h3-size: 1.375rem;
--h4-size: 1.2rem;
@include md {
--h1-size: 2.625rem;
--h2-size: 1.9375rem;
--h3-size: 1.4375rem;
--h4-size: 1.275rem;
}
@include lg {
--text-body: 1.25rem;
--text-small: 1.15rem;
--text-medium: 2rem;
--text-large: 4rem;
--h1-size: 3.125rem;
--h2-size: 2.1875rem;
--h3-size: 1.5625rem;
--h4-size: 1.325rem;
}
// Font weight
--font-weight-base: 400;
--font-weight-links: 600;
--font-weight-heading: 800;
// Line height
--line-height-base: 1.5;
--line-height-heading: 1.2;
// Text spacing
--sm-text-spacing: 1rem;
--md-text-spacing: 1.5rem;
--lg-text-spacing: 2rem;
@include md {
--sm-text-spacing: 1.5rem;
--md-text-spacing: 2.5rem;
--lg-text-spacing: 3rem;
}
// Site container
--container-max-width: 90rem; // 1440px
// Paddings
--container-padding: 2rem; // Container right & left
--container-padding-lg: 2rem;
--header-padding: 1.5rem; // Header top/bottom
--inner-padding: 3rem; // Inner section top/bottom
--footer-padding: 2.5rem;
@include md {
--container-padding-lg: 5rem;
--header-padding: 2rem;
--inner-padding: 5rem;
--footer-padding: 4rem;
}
@include lg {
--container-padding: 3rem;
--container-padding-lg: 8rem;
--inner-padding: 7.5rem;
--footer-padding: 5rem;
}
// Borders
--border-radius-sm: 0.125rem;
--border-radius-md: 0.3125rem;
// Transitions
--transition-fast: 0.25s;
--ease: cubic-bezier(0.25, 0, 0, 1);
// Shadows
--box-shadow: 0 9px 80px rgba(0, 0, 0, 0.06),
0 3.75998px 33.4221px rgba(0, 0, 0, 0.0431313),
0 2.01027px 17.869px rgba(0, 0, 0, 0.0357664),
0 1.12694px 10.0172px rgba(0, 0, 0, 0.03),
0 0.598509px 5.32008px rgba(0, 0, 0, 0.0242336),
0 0.249053px 2.21381px rgba(0, 0, 0, 0.0168687);
--shadow-filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.05))
drop-shadow(0 -2px 5px rgba(0, 0, 0, 0.05))
drop-shadow(0 0 2px rgba(0, 0, 0, 0.05));
}