This repository was archived by the owner on Jun 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_variables.scss
81 lines (62 loc) · 1.71 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
//variables
//responsive sizes
$screen-width-sm: 576;
$screen-width-md: 768;
$screen-width-lg: 992;
$screen-width-xl: 1200;
$breakpoints: ('': 0,
'sm' : $screen-width-sm,
'md': $screen-width-md,
'lg': $screen-width-lg,
'xl': $screen-width-xl);
$columns: 12;
//colours
$black: #222 !default;
$white: #FFF !default;
$default: $black !default;
$error: #E00 !default;
$success: #060 !default;
$bg: #EBEBEB !default;
$input-bg: #D6D6D6 !default;
$input-border: #808080 !default;
$colour-contrast-dark: $black;
$colour-contrast-light: $white;
$min-contrast-ratio: 4.5 !default;
$disable-opacity: 0.7; //how much to fade disabled controls
//put in an array so we can loop over contextual stylings etc
$colours: ("default": $default,
"error": $error,
"success": $success,
"dark": $black,
"light": $white);
//spacing
$spacer: 1rem;
$spacer-half: $spacer * 0.5;
$radius-small: 10px;
$radius-large: 20px;
//fonts
$font-size: 1rem;
$line-height: $font-size * 1.5;
$heading-font: "Asket" !default;
$body-font: "Open Sans" !default;
$heading-sizes: (1: $font-size * 2.6,
2: $font-size * 2.1,
3: $font-size * 1.85,
4: $font-size * 1.6,
5: $font-size * 1.35,
6: $font-size * 1.1);
$button-weight: 400;
//element selectors
//style "textual" inputs - single line text, multi-line text, dropdown
$text-input: 'textarea, select, input:not([type=hidden]):not([type=checkbox]):not([type=radio])';
//utility variables
$display-types: ('none', 'block', 'inline', 'inline-block', 'flex');
$text-alignments: ('start', 'center', 'end'); //LTR/RTL accessible - go us!
$margin-names: (
"margin": "m",
"margin-top": "mt",
"margin-bottom": "mb",
"margin-left": "ml",
"margin-right": "mr"
);
$margins: (0, $spacer * 0.5, $spacer, $spacer * 2);