tenjin-ui-kit 0.2.14 → 0.2.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/input/index.js +31 -5
- package/components/select/index.js +180 -0
- package/package.json +1 -1
- package/themes/default.js +58 -43
|
@@ -10,7 +10,7 @@ var _InputLabel = _interopRequireDefault(require("@mui/material/InputLabel"));
|
|
|
10
10
|
var _styles = require("@mui/material/styles");
|
|
11
11
|
var _react = _interopRequireDefault(require("react"));
|
|
12
12
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
var _excluded = ["label", "id", "fullWidth", "disableAutocomplete", "startIcon", "endIcon", "size"];
|
|
13
|
+
var _excluded = ["label", "id", "fullWidth", "disableAutocomplete", "startIcon", "endIcon", "size", "error", "errorMessage", "isRequired", "isDisabled"];
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
16
16
|
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
@@ -23,6 +23,10 @@ var Input = function Input(_ref) {
|
|
|
23
23
|
startIcon = _ref.startIcon,
|
|
24
24
|
endIcon = _ref.endIcon,
|
|
25
25
|
size = _ref.size,
|
|
26
|
+
error = _ref.error,
|
|
27
|
+
errorMessage = _ref.errorMessage,
|
|
28
|
+
isRequired = _ref.isRequired,
|
|
29
|
+
isDisabled = _ref.isDisabled,
|
|
26
30
|
rest = _objectWithoutProperties(_ref, _excluded);
|
|
27
31
|
var theme = (0, _styles.useTheme)();
|
|
28
32
|
return /*#__PURE__*/_react.default.createElement(_FormControl.default, {
|
|
@@ -35,7 +39,7 @@ var Input = function Input(_ref) {
|
|
|
35
39
|
size: "small",
|
|
36
40
|
shrink: true,
|
|
37
41
|
htmlFor: id
|
|
38
|
-
}, label), /*#__PURE__*/_react.default.createElement(_material.OutlinedInput, _extends({}, rest, {
|
|
42
|
+
}, label), !error && /*#__PURE__*/_react.default.createElement(_material.OutlinedInput, _extends({}, rest, {
|
|
39
43
|
id: id,
|
|
40
44
|
autoComplete: disableAutocomplete ? "nothing" : null,
|
|
41
45
|
sx: {
|
|
@@ -49,8 +53,28 @@ var Input = function Input(_ref) {
|
|
|
49
53
|
}
|
|
50
54
|
},
|
|
51
55
|
startAdornment: startIcon,
|
|
52
|
-
endAdornment: endIcon
|
|
53
|
-
|
|
56
|
+
endAdornment: endIcon,
|
|
57
|
+
helperText: errorMessage,
|
|
58
|
+
disabled: isDisabled
|
|
59
|
+
})), error && /*#__PURE__*/_react.default.createElement(_material.TextField, _extends({
|
|
60
|
+
required: isRequired,
|
|
61
|
+
id: id,
|
|
62
|
+
autoComplete: disableAutocomplete ? "nothing" : null,
|
|
63
|
+
sx: {
|
|
64
|
+
marginTop: label ? theme.spacing(2.5) : 0,
|
|
65
|
+
"& label": {
|
|
66
|
+
fontWeight: 500
|
|
67
|
+
},
|
|
68
|
+
"& svg": {
|
|
69
|
+
marginRight: startIcon ? theme.spacing(1) : 0,
|
|
70
|
+
marginLeft: endIcon ? theme.spacing(1) : 0
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
startAdornment: startIcon,
|
|
74
|
+
endAdornment: endIcon,
|
|
75
|
+
helperText: errorMessage,
|
|
76
|
+
error: true
|
|
77
|
+
}, rest)));
|
|
54
78
|
};
|
|
55
79
|
Input.propTypes = {
|
|
56
80
|
label: _propTypes.default.string,
|
|
@@ -59,7 +83,9 @@ Input.propTypes = {
|
|
|
59
83
|
startIcon: _propTypes.default.any,
|
|
60
84
|
endIcon: _propTypes.default.any,
|
|
61
85
|
disableAutocomplete: _propTypes.default.bool,
|
|
62
|
-
size: _propTypes.default.string
|
|
86
|
+
size: _propTypes.default.string,
|
|
87
|
+
isRequired: _propTypes.default.bool,
|
|
88
|
+
isDisabled: _propTypes.default.bool
|
|
63
89
|
};
|
|
64
90
|
var _default = Input;
|
|
65
91
|
exports.default = _default;
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.default = void 0;
|
|
8
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _material = require("@mui/material");
|
|
10
|
+
var _CheckBoxOutlineBlank = _interopRequireDefault(require("@mui/icons-material/CheckBoxOutlineBlank"));
|
|
11
|
+
var _CheckBox = _interopRequireDefault(require("@mui/icons-material/CheckBox"));
|
|
12
|
+
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
+
var _excluded = ["options", "isMulti", "checkBox", "defaultValue", "value", "onChange", "placeholder", "label", "fullWidth", "error", "helperText", "blueTheme", "isRequired", "isDisabled"];
|
|
14
|
+
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
+
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
16
|
+
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
17
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
18
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
19
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
20
|
+
var ReactSelect = function ReactSelect(props) {
|
|
21
|
+
var options = props.options,
|
|
22
|
+
isMulti = props.isMulti,
|
|
23
|
+
checkBox = props.checkBox,
|
|
24
|
+
defaultValue = props.defaultValue,
|
|
25
|
+
value = props.value,
|
|
26
|
+
onChange = props.onChange,
|
|
27
|
+
placeholder = props.placeholder,
|
|
28
|
+
label = props.label,
|
|
29
|
+
fullWidth = props.fullWidth,
|
|
30
|
+
error = props.error,
|
|
31
|
+
helperText = props.helperText,
|
|
32
|
+
blueTheme = props.blueTheme,
|
|
33
|
+
isRequired = props.isRequired,
|
|
34
|
+
isDisabled = props.isDisabled,
|
|
35
|
+
rest = _objectWithoutProperties(props, _excluded);
|
|
36
|
+
console.log(defaultValue, "hsgdsahgd", options[1]);
|
|
37
|
+
var icon = /*#__PURE__*/_react.default.createElement(_CheckBoxOutlineBlank.default, {
|
|
38
|
+
fontSize: "small"
|
|
39
|
+
});
|
|
40
|
+
var checkedIcon = /*#__PURE__*/_react.default.createElement(_CheckBox.default, {
|
|
41
|
+
fontSize: "small"
|
|
42
|
+
});
|
|
43
|
+
return /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_material.FormControl, {
|
|
44
|
+
fullWidth: true
|
|
45
|
+
}, /*#__PURE__*/_react.default.createElement(_material.FormLabel, {
|
|
46
|
+
htmlFor: "my-input",
|
|
47
|
+
sx: {
|
|
48
|
+
fontSize: "0.8rem",
|
|
49
|
+
fontWeight: 500
|
|
50
|
+
}
|
|
51
|
+
}, label, isRequired ? "*" : ""), checkBox && /*#__PURE__*/_react.default.createElement(_material.Autocomplete, _extends({}, rest, {
|
|
52
|
+
disabled: isDisabled,
|
|
53
|
+
multiple: isMulti,
|
|
54
|
+
options: options,
|
|
55
|
+
disableCloseOnSelect: true,
|
|
56
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
57
|
+
return option === null || option === void 0 ? void 0 : option.label;
|
|
58
|
+
},
|
|
59
|
+
value: value,
|
|
60
|
+
onChange: onChange,
|
|
61
|
+
defaultValue: [options[1]],
|
|
62
|
+
renderOption: function renderOption(props, option, _ref) {
|
|
63
|
+
var selected = _ref.selected;
|
|
64
|
+
return /*#__PURE__*/_react.default.createElement("li", props, /*#__PURE__*/_react.default.createElement(_material.Checkbox, {
|
|
65
|
+
icon: icon,
|
|
66
|
+
checkedIcon: checkedIcon,
|
|
67
|
+
style: {
|
|
68
|
+
marginRight: 8
|
|
69
|
+
},
|
|
70
|
+
checked: selected
|
|
71
|
+
}), option === null || option === void 0 ? void 0 : option.label);
|
|
72
|
+
},
|
|
73
|
+
renderInput: function renderInput(params) {
|
|
74
|
+
return /*#__PURE__*/_react.default.createElement(_material.TextField, _extends({}, params, {
|
|
75
|
+
placeholder: placeholder,
|
|
76
|
+
helperText: helperText
|
|
77
|
+
}));
|
|
78
|
+
}
|
|
79
|
+
})), !checkBox && !blueTheme && /*#__PURE__*/_react.default.createElement(_material.Autocomplete, _extends({}, rest, {
|
|
80
|
+
disabled: isDisabled,
|
|
81
|
+
multiple: isMulti,
|
|
82
|
+
options: options,
|
|
83
|
+
disableCloseOnSelect: true,
|
|
84
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
85
|
+
return option.label;
|
|
86
|
+
},
|
|
87
|
+
value: value,
|
|
88
|
+
defaultValue: [defaultValue],
|
|
89
|
+
onChange: onChange,
|
|
90
|
+
renderInput: function renderInput(params) {
|
|
91
|
+
return /*#__PURE__*/_react.default.createElement(_material.TextField, _extends({
|
|
92
|
+
error: error
|
|
93
|
+
}, params, {
|
|
94
|
+
variant: "outlined",
|
|
95
|
+
fullWidth: true,
|
|
96
|
+
placeholder: placeholder,
|
|
97
|
+
helperText: helperText
|
|
98
|
+
}));
|
|
99
|
+
}
|
|
100
|
+
})), blueTheme && /*#__PURE__*/_react.default.createElement(_material.Grid, {
|
|
101
|
+
container: true,
|
|
102
|
+
sx: {
|
|
103
|
+
height: "200px",
|
|
104
|
+
backgroundColor: "#3D3981",
|
|
105
|
+
borderRadius: "7px",
|
|
106
|
+
padding: "16px",
|
|
107
|
+
width: "50%"
|
|
108
|
+
// background: "red",
|
|
109
|
+
}
|
|
110
|
+
}, /*#__PURE__*/_react.default.createElement(_material.Autocomplete, _extends({
|
|
111
|
+
sx: {
|
|
112
|
+
width: "100%",
|
|
113
|
+
"& .MuiAutocomplete-inputRoot[class*='MuiOutlinedInput-root']": {
|
|
114
|
+
background: "#6e6ba1",
|
|
115
|
+
color: "#F4F7FC"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
PaperComponent: function PaperComponent(_ref2) {
|
|
119
|
+
var children = _ref2.children;
|
|
120
|
+
return /*#__PURE__*/_react.default.createElement(_material.Paper, {
|
|
121
|
+
style: {
|
|
122
|
+
background: "#6e6ba1",
|
|
123
|
+
color: "#F4F7FC",
|
|
124
|
+
"&:hover": {
|
|
125
|
+
background: "#fff"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}, children);
|
|
129
|
+
}
|
|
130
|
+
}, rest, {
|
|
131
|
+
disabled: isDisabled,
|
|
132
|
+
options: options,
|
|
133
|
+
disableCloseOnSelect: true,
|
|
134
|
+
getOptionLabel: function getOptionLabel(option) {
|
|
135
|
+
return option.label;
|
|
136
|
+
},
|
|
137
|
+
value: value,
|
|
138
|
+
defaultValue: [defaultValue],
|
|
139
|
+
onChange: onChange,
|
|
140
|
+
renderInput: function renderInput(params) {
|
|
141
|
+
return /*#__PURE__*/_react.default.createElement(_material.TextField, _extends({
|
|
142
|
+
error: error
|
|
143
|
+
}, params, {
|
|
144
|
+
variant: "outlined",
|
|
145
|
+
fullWidth: true,
|
|
146
|
+
placeholder: placeholder,
|
|
147
|
+
helperText: helperText
|
|
148
|
+
}));
|
|
149
|
+
}
|
|
150
|
+
// sx={{ }}
|
|
151
|
+
})))));
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
ReactSelect.propTypes = {
|
|
155
|
+
value: _propTypes.default.string,
|
|
156
|
+
className: _propTypes.default.string,
|
|
157
|
+
label: _propTypes.default.string,
|
|
158
|
+
defaultValue: _propTypes.default.instanceOf(Object),
|
|
159
|
+
isMulti: _propTypes.default.bool,
|
|
160
|
+
isDisabled: _propTypes.default.bool,
|
|
161
|
+
options: _propTypes.default.instanceOf(Array),
|
|
162
|
+
placeholder: _propTypes.default.string,
|
|
163
|
+
isRequired: _propTypes.default.bool,
|
|
164
|
+
simulateNativeSelect: _propTypes.default.bool,
|
|
165
|
+
onChange: _propTypes.default.func
|
|
166
|
+
};
|
|
167
|
+
ReactSelect.defaultProps = {
|
|
168
|
+
value: {},
|
|
169
|
+
label: "",
|
|
170
|
+
className: "",
|
|
171
|
+
defaultValue: [{}],
|
|
172
|
+
isMulti: false,
|
|
173
|
+
isDisabled: false,
|
|
174
|
+
options: [],
|
|
175
|
+
placeholder: "",
|
|
176
|
+
isRequired: false,
|
|
177
|
+
simulateNativeSelect: true
|
|
178
|
+
};
|
|
179
|
+
var _default = ReactSelect;
|
|
180
|
+
exports.default = _default;
|
package/package.json
CHANGED
package/themes/default.js
CHANGED
|
@@ -9,12 +9,12 @@ var _default = (0, _material.createTheme)({
|
|
|
9
9
|
components: {
|
|
10
10
|
MuiButton: {
|
|
11
11
|
defaultProps: {
|
|
12
|
-
variant:
|
|
12
|
+
variant: "contained",
|
|
13
13
|
disableRipple: true
|
|
14
14
|
},
|
|
15
15
|
styleOverrides: {
|
|
16
16
|
root: {
|
|
17
|
-
textTransform:
|
|
17
|
+
textTransform: "initial"
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
},
|
|
@@ -38,34 +38,49 @@ var _default = (0, _material.createTheme)({
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
|
+
MuiAutocomplete: {
|
|
42
|
+
styleOverrides: {
|
|
43
|
+
root: {
|
|
44
|
+
padding: "0.5rem 0.75rem",
|
|
45
|
+
border: "1px solid black !important",
|
|
46
|
+
borderRadius: "0.25rem",
|
|
47
|
+
backgroundColor: "white",
|
|
48
|
+
"& .MuiAutocomplete-input": {
|
|
49
|
+
padding: "0.5rem 0.75rem",
|
|
50
|
+
fontSize: "1rem",
|
|
51
|
+
border: "1px solid black !important"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
41
56
|
overrides: {
|
|
42
57
|
MuiCssBaseline: {
|
|
43
|
-
|
|
58
|
+
"@global": {
|
|
44
59
|
html: {
|
|
45
|
-
|
|
46
|
-
height:
|
|
60
|
+
"scroll-behavior": "smooth",
|
|
61
|
+
height: "100vh"
|
|
47
62
|
},
|
|
48
63
|
body: {
|
|
49
|
-
position:
|
|
64
|
+
position: "relative",
|
|
50
65
|
margin: 0,
|
|
51
|
-
height:
|
|
52
|
-
color:
|
|
53
|
-
backgroundColor:
|
|
66
|
+
height: "100vh",
|
|
67
|
+
color: "#000000",
|
|
68
|
+
backgroundColor: "#f4f7fc"
|
|
54
69
|
},
|
|
55
|
-
|
|
56
|
-
width:
|
|
70
|
+
"*::-webkit-scrollbar": {
|
|
71
|
+
width: "6px"
|
|
57
72
|
},
|
|
58
73
|
a: {
|
|
59
|
-
textDecoration:
|
|
60
|
-
color:
|
|
74
|
+
textDecoration: "none",
|
|
75
|
+
color: "#44409A"
|
|
61
76
|
},
|
|
62
|
-
|
|
63
|
-
backgroundColor:
|
|
64
|
-
borderRadius:
|
|
77
|
+
"*::-webkit-scrollbar-thumb": {
|
|
78
|
+
backgroundColor: "#e4e4e4",
|
|
79
|
+
borderRadius: "3px",
|
|
65
80
|
opacity: 0.5
|
|
66
81
|
},
|
|
67
|
-
|
|
68
|
-
background:
|
|
82
|
+
"*::-webkit-scrollbar-track": {
|
|
83
|
+
background: "transparent"
|
|
69
84
|
}
|
|
70
85
|
}
|
|
71
86
|
}
|
|
@@ -108,80 +123,80 @@ var _default = (0, _material.createTheme)({
|
|
|
108
123
|
// main: "#BF1E1E",
|
|
109
124
|
// },
|
|
110
125
|
primary: {
|
|
111
|
-
main:
|
|
126
|
+
main: "#44409A"
|
|
112
127
|
},
|
|
113
128
|
primary_light: {
|
|
114
|
-
main:
|
|
129
|
+
main: "#5B58A9"
|
|
115
130
|
},
|
|
116
131
|
primary_dark: {
|
|
117
|
-
main:
|
|
132
|
+
main: "#000050"
|
|
118
133
|
},
|
|
119
134
|
secondary: {
|
|
120
|
-
main:
|
|
135
|
+
main: "#BF1E1E"
|
|
121
136
|
},
|
|
122
137
|
secondary_light: {
|
|
123
|
-
main:
|
|
138
|
+
main: "#CC3F3F"
|
|
124
139
|
},
|
|
125
140
|
secondary_dark: {
|
|
126
|
-
main:
|
|
141
|
+
main: "#951010"
|
|
127
142
|
},
|
|
128
143
|
success: {
|
|
129
|
-
main:
|
|
144
|
+
main: "#2C7413"
|
|
130
145
|
},
|
|
131
146
|
success_light: {
|
|
132
|
-
main:
|
|
147
|
+
main: "#5EA342"
|
|
133
148
|
},
|
|
134
149
|
success_dark: {
|
|
135
|
-
main:
|
|
150
|
+
main: "#004700"
|
|
136
151
|
},
|
|
137
152
|
info: {
|
|
138
|
-
main:
|
|
153
|
+
main: "#70BBFD"
|
|
139
154
|
},
|
|
140
155
|
info_light: {
|
|
141
|
-
main:
|
|
156
|
+
main: "#A6EDFF"
|
|
142
157
|
},
|
|
143
158
|
info_dark: {
|
|
144
|
-
main:
|
|
159
|
+
main: "#358BCA"
|
|
145
160
|
},
|
|
146
161
|
error: {
|
|
147
|
-
main:
|
|
162
|
+
main: "#BE1515"
|
|
148
163
|
},
|
|
149
164
|
error_light: {
|
|
150
|
-
main:
|
|
165
|
+
main: "#F8533F"
|
|
151
166
|
},
|
|
152
167
|
error_dark: {
|
|
153
|
-
main:
|
|
168
|
+
main: "#860000"
|
|
154
169
|
},
|
|
155
170
|
warning: {
|
|
156
|
-
main:
|
|
171
|
+
main: "#EB9A31"
|
|
157
172
|
},
|
|
158
173
|
warning_light: {
|
|
159
|
-
main:
|
|
174
|
+
main: "#FFCB62"
|
|
160
175
|
},
|
|
161
176
|
warning_dark: {
|
|
162
|
-
main:
|
|
177
|
+
main: "#B46C00"
|
|
163
178
|
},
|
|
164
179
|
grey: {
|
|
165
|
-
main:
|
|
180
|
+
main: "#7D7D7D"
|
|
166
181
|
},
|
|
167
182
|
grey_light: {
|
|
168
|
-
main:
|
|
183
|
+
main: "#ACACAC"
|
|
169
184
|
},
|
|
170
185
|
grey_dark: {
|
|
171
|
-
main:
|
|
186
|
+
main: "#515151"
|
|
172
187
|
},
|
|
173
188
|
secondary_grey: {
|
|
174
|
-
main:
|
|
189
|
+
main: "#D7E2F0"
|
|
175
190
|
},
|
|
176
191
|
white: {
|
|
177
|
-
main:
|
|
192
|
+
main: "#ffffff"
|
|
178
193
|
},
|
|
179
194
|
text: {
|
|
180
|
-
main:
|
|
195
|
+
main: "#000000"
|
|
181
196
|
}
|
|
182
197
|
},
|
|
183
198
|
typography: {
|
|
184
|
-
fontFamily: [
|
|
199
|
+
fontFamily: ["-apple-system", "BlinkMacSystemFont", '"Segoe UI"', "Roboto", '"Helvetica Neue"', "Arial", "sans-serif", '"Apple Color Emoji"', '"Segoe UI Emoji"', '"Segoe UI Symbol"'].join(",")
|
|
185
200
|
}
|
|
186
201
|
});
|
|
187
202
|
exports.default = _default;
|