This repository has been archived by the owner on Jan 22, 2021. It is now read-only.
forked from speedtracker/speedtracker
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path_config.scss
177 lines (149 loc) · 5.45 KB
/
_config.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
/*
____ ______ ____ ______
/\ _`\ /\ _ \/\ _`\ /\__ _\
\ \ \/\ \ \ \L\ \ \ \/\ \/_/\ \/
\ \ \ \ \ \ __ \ \ \ \ \ \ \ \
\ \ \_\ \ \ \/\ \ \ \_\ \ \_\ \__
\ \____/\ \_\ \_\ \____/ /\_____\
\/___/ \/_/\/_/\/___/ \/_____/
____ ______ ____ ______ ____
/\ _`\ /\ _ \/\ _`\ /\__ _\/\ _`\
\ \ \L\ \ \ \L\ \ \ \L\ \/_/\ \/\ \,\L\_\
\ \ ,__/\ \ __ \ \ , / \ \ \ \/_\__ \
\ \ \/ \ \ \/\ \ \ \\ \ \ \ \ /\ \L\ \
\ \_\ \ \_\ \_\ \_\ \_\ \ \_\ \ `\____\
\/_/ \/_/\/_/\/_/\/ / \/_/ \/_____/
https://github.com/dadi/parts
*/
// -----------------------------------------------------------------------------
// Global sizes
//
// -> Size units are relative to the base size. For example, if the base size is
// set to 16px, then:
//
// $dp-size-units: (
// 'small': 0.5,
// 'normal': 1,
// 'large': 2
// );
//
// Will mean that `small` is 8px and `large` is 32px.
//
// You *always* need to include a unit called `normal` (typically set to 1).
// -----------------------------------------------------------------------------
$dp-base-size: 18px;
$dp-base-line-height: 1.375;
$dp-size-units:(
'tiny': 0.25,
'small': 0.5,
'normal': 1,
'large': 1.5,
'larger': 2.25,
'huge': 3,
'massive': 4
);
// -----------------------------------------------------------------------------
// Spacing
//
// -> `$dp-room` is the equivalent of `$dp-base-size` for spacing. It's used with
// margin/padding. Utility classes will be created automatically for every
// unit defined in `$dp-size-units`, always relative to `$dp-room`.
//
// Example:
//
// .u-padding {}
// .u-padding-large {}
// .u-margin-small {}
//
// See utilities/_utilities.size.scss for more information.
//
// -----------------------------------------------------------------------------
$dp-room: 15px;
// -----------------------------------------------------------------------------
// Roundness
//
// -> Uses globally in `border-radius`. Optional.
//
// -----------------------------------------------------------------------------
$dp-roundness: 5px;
// -----------------------------------------------------------------------------
// Global maximum width
//
// -> The default value to be used by utilities/_utilities.wrapper to create
// a wrapper container.
//
// -----------------------------------------------------------------------------
$dp-max-width: 900px;
// -----------------------------------------------------------------------------
// Global font smoothing
//
// -> Whether to enable font smoothing globally. If set to `false` (default),
// font smoothing can still be enabled individually on any element by using
// tools/_tools.font-smoothing.
//
// -----------------------------------------------------------------------------
$dp-global-font-smoothing: true;
// -----------------------------------------------------------------------------
// Responsive breakpoints
//
// -> Used by include-media (http://include-media.com). Allows the definition of
// media queries using any of the breakpoints defined using a syntax like:
//
// @include media('>=medium') {}
// @include media('>medium', '<large') {}
// @include media('>large', '<2300px') {}
// @include media('retina2x', '<medium') {}
//
// -----------------------------------------------------------------------------
$breakpoints: (
'medium': 640px,
'large': 1000px
);
// -----------------------------------------------------------------------------
// Colours
//
// -> To be used with the dp-color() function.
//
// body {
// background-color: dp-color('background');
// }
//
// -----------------------------------------------------------------------------
$dp-colors: (
'background': #FAFAFA,
'primary': #000000,
'accent': #EA8C55
);
// -----------------------------------------------------------------------------
// Global typography settings
// -----------------------------------------------------------------------------
$dp-fonts: (
'primary': ('Roboto Condensed', 'Helvetica Neue', Arial, Helvetica, Geneva, sans-serif),
'secondary': (Helvetica, Arial, sans-serif)
);
// -----------------------------------------------------------------------------
// Custom font declarations
// -----------------------------------------------------------------------------
@import 'https://fonts.googleapis.com/css?family=Roboto+Condensed';
// -----------------------------------------------------------------------------
// Grid classes
//
// -> Used by include-media to generate column classes. It uses the breakpoints
// defined in `$breakpoints` and the number of subdivisions below to create
// classes like .col--{part}-{total} and .col--{part}-{total}@{breakpoint}
//
// -> Example: Build an element that takes full width on small screens, 1/2 of
// the width on `medium` and 1/3 of the width on `large`
//
// <div class="col col--1-1 col--1-2@medium col--1-3@large"></div>
//
// -----------------------------------------------------------------------------
$im-columns-subdivisions: 1, 2, 3, 4, 5, 6;
$im-columns-class: '.u-col';
// -----------------------------------------------------------------------------
// Grid mode
//
// -> Whether to define grid classes as `float` (default) or `inline-block`
//
// -----------------------------------------------------------------------------
$dp-grid-mode: 'flex';