-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy path_variables.scss
134 lines (116 loc) · 2.46 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
134
@use 'sass:map';
@use 'functions' as *;
// Colors
$white: white !default;
$black: #2d353c !default;
$gray: #969696 !default;
$brown: #a57868 !default;
$red: #ff291d !default;
$orange: #ff9500 !default;
$yellow: #ffe70e !default;
$green: #4cd964 !default;
$teal: #18e0cd !default;
$blue: #007aff !default;
$indigo: #5f6ec7 !default;
$purple: #af2ec5 !default;
$pink: #ff3069 !default;
$colors: (
'gray': $gray,
'brown': $brown,
'red': $red,
'orange': $orange,
'yellow': $yellow,
'green': $green,
'teal': $teal,
'blue': $blue,
'indigo': $indigo,
'purple': $purple,
'pink': $pink
) !default;
// Utility Map
$utilities: () !default;
// Spacing
$spacer: 1rem !default;
$spacers: (
0: 0,
4: $spacer * .25,
8: $spacer * .5,
12: $spacer * .75,
16: $spacer,
24: $spacer * 1.5,
32: $spacer * 2,
48: $spacer * 3
) !default;
$spacers-extend: () !default;
$spacers: map.merge($spacers, $spacers-extend);
$negative-spacers: negativify-map($spacers) !default;
// Border
$border-color: rgba(0, 0, 0, .12) !default;
$borders: (
0: 0,
1: 1px solid $border-color,
2: 2px solid $border-color,
4: 4px solid $border-color,
8: 8px solid $border-color
) !default;
$borders-extend: () !default;
$borders: map.merge($borders, $borders-extend);
// Border radius
$radius-base: 1rem * .25 !default;
$radius: (
0: 0,
4: $radius-base,
8: $radius-base * 2,
12: $radius-base * 3,
16: $radius-base * 4,
full: 50rem
) !default;
$radius-extend: () !default;
$radius: map.merge($radius, $radius-extend);
// Shadow
$shadows: (
none: none,
1: (0 2px 4px 0 rgba(0, 0, 0, .12), 0 1px 2px 0 rgba(0, 0, 0, .06)),
2: (0 4px 8px -1px rgba(0, 0, 0, .12), 0 2px 4px -1px rgba(0, 0, 0, .06)),
3: (0 8px 16px -2px rgba(0, 0, 0, .12), 0 4px 8px -2px rgba(0, 0, 0, .06)),
4: (0 16px 32px -4px rgba(0, 0, 0, .12), 0 8px 16px -4px rgba(0, 0, 0, .06)),
5: (0 24px 48px -8px rgba(0, 0, 0, .12), 0 16px 32px -8px rgba(0, 0, 0, .06))
) !default;
$shadows-extend: () !default;
$shadows: map.merge($shadows, $shadows-extend);
// Text
$font-wieghts: (
100: 100,
200: 200,
300: 300,
400: 400,
500: 500,
600: 600,
700: 700,
800: 800,
900: 900
) !default;
$font-sizes: (
0: 0,
10: .625rem,
12: .75rem,
14: .875rem,
16: 1rem,
18: 1.125rem,
20: 1.25rem,
24: 1.5rem,
32: 2rem,
) !default;
// Sizing
$sizes: (
0: 0,
20: 20%,
25: 25%,
40: 40%,
50: 50%,
60: 60%,
75: 75%,
80: 80%,
full: 100%,
auto: auto
) !default;