This repository has been archived by the owner on Jul 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
/
_variables.scss
executable file
·133 lines (115 loc) · 4.66 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
@use 'sass:color';
@use 'sass:map';
// -----------------------------------------------------------------------------
// This file contains all application-wide Sass variables.
// -----------------------------------------------------------------------------
// Colors defined by design: https://www.figma.com/file/0oPm5lLSUva8kyfVNMS6FA/Synapse-Style-%26-Component-Library?node-id=77%3A1232
$colors: (
'gray-1000': #22252a,
'gray-900': #353a3f,
'gray-800': #4a5056,
'gray-700': #878e95,
'gray-600': #aeb5bc,
'gray-500': #d0d4d9,
'gray-400': #dfe2e6,
'gray-300': #eaecee,
'gray-200': #f1f3f5,
'gray-100': #fbfbfc,
'white': #ffffff,
'success': #32a330,
'info': #017fa5,
'warning': #cc9f00,
'error': #c13415,
) !default;
$gray-dark: #dcdcdc !default;
$gray-light: #f9f9f9 !default;
$background-color-gray: $gray-light !default;
$border-color-gray: $gray-dark !default;
$background-color-gray-light: #fcfcfc !default;
$primary-action-color: rgb(64, 123, 160) !default;
$primary-bgcolor-rgba: rgba(201, 66, 129, 0.03) !default;
$text-color-dark: #1a1c29 !default;
$text-color-disabled: #bbbbbc !default;
$secondary-action-color: #469285 !default;
$secondary-action-color-dark: #5660e5 !default;
$tertiary-action-color: #f1d285 !default;
$gray-formtext: #515359 !default;
$gray-regular: #515359 !default;
$gray-deemphasized: #ababac !default;
$red-error: #b2242a !default;
$red-error2: #c94281 !default;
$bootstrap-4-danger-bg: #f2dede !default;
$bootstrap-4-danger-text-color: rgb(102, 102, 102) !default;
$space-unit: 2.1rem;
$green-affirmative: map.get($colors, 'success') !default;
$yellow-warning: map.get($colors, 'warning') !default;
$red-delete: $red-error2 !default;
$red-required: map.get($colors, 'error') !default;
$box-shadow-med: 0 1px 3px rgba(0, 0, 0, 0.5);
$box-shadow-soft: 0 3px 10px rgba(93, 105, 171, 0.1);
$active-tab-text: #22252a;
$inactive-tab-text: #878e95;
$themes: (
drug-upload-tool: (
action-color: #5960a5,
),
contribution-request: (
action-color: rgb(12, 141, 22),
),
);
$primary-action-color-active: adjust-color(
$primary-action-color,
$saturation: 50%,
$lightness: 0%
) !default;
$primary-color-palette: (
100: adjust-color($primary-action-color, $saturation: -25%, $lightness: 50%),
200: adjust-color($primary-action-color, $saturation: -13%, $lightness: 20%),
300: adjust-color($primary-action-color, $saturation: -3%, $lightness: 10%),
400: adjust-color($primary-action-color, $saturation: -1%, $lightness: 5%),
500: $primary-action-color,
600: adjust-color($primary-action-color, $saturation: 5%, $lightness: -4%),
700: adjust-color($primary-action-color, $saturation: 11%, $lightness: -8%),
800: adjust-color($primary-action-color, $saturation: 18%, $lightness: -10%),
900: adjust-color($primary-action-color, $saturation: 24%, $lightness: -18%),
) !default;
$secondary-color-palette: (
100: adjust-color($secondary-action-color, $saturation: -25%, $lightness: 50%),
200: adjust-color($secondary-action-color, $saturation: -13%, $lightness: 20%),
300: adjust-color($secondary-action-color, $saturation: -3%, $lightness: 10%),
400: adjust-color($secondary-action-color, $saturation: -1%, $lightness: 5%),
500: $secondary-action-color,
600: adjust-color($secondary-action-color, $saturation: 5%, $lightness: -4%),
700: adjust-color($secondary-action-color, $saturation: 11%, $lightness: -8%),
800: adjust-color($secondary-action-color, $saturation: 18%, $lightness: -10%),
900: adjust-color($secondary-action-color, $saturation: 24%, $lightness: -18%),
) !default;
$tertiary-color-palette: (
100: adjust-color($tertiary-action-color, $saturation: -25%, $lightness: 50%),
200: adjust-color($tertiary-action-color, $saturation: -13%, $lightness: 20%),
300: adjust-color($tertiary-action-color, $saturation: -3%, $lightness: 10%),
400: adjust-color($tertiary-action-color, $saturation: -1%, $lightness: 5%),
500: $tertiary-action-color,
600: adjust-color($tertiary-action-color, $saturation: 5%, $lightness: -4%),
700: adjust-color($tertiary-action-color, $saturation: 11%, $lightness: -8%),
800: adjust-color($tertiary-action-color, $saturation: 18%, $lightness: -10%),
900: adjust-color($tertiary-action-color, $saturation: 24%, $lightness: -18%),
) !default;
/// Breakpoints map
/// @prop {String} keys - Keys are identifiers mapped to a given length
/// @prop {Map} values - Values are actual breakpoints expressed in pixels
$breakpoints: (
'small': 320px,
'medium': 768px,
'large': 1024px,
) !default;
// To reset bootstrap button style
%button-reset {
border: 0;
outline: none;
box-shadow: none;
border-radius: 2px;
}
// Form Control
$gray-input-border: 1px solid #f2f2f2;
$input-padding: 12px 13px;