UNPKG

5.4 kBJavaScriptView Raw
1"use strict";
2
3Object.defineProperty(exports, "__esModule", {
4 value: true
5});
6exports["default"] = void 0;
7var core = {
8 white: '#fff',
9 gray: '#484848',
10 grayLight: '#82888a',
11 grayLighter: '#cacccd',
12 grayLightest: '#f2f2f2',
13 borderMedium: '#c4c4c4',
14 border: '#dbdbdb',
15 borderLight: '#e4e7e7',
16 borderLighter: '#eceeee',
17 borderBright: '#f4f5f5',
18 primary: '#00a699',
19 primaryShade_1: '#33dacd',
20 primaryShade_2: '#66e2da',
21 primaryShade_3: '#80e8e0',
22 primaryShade_4: '#b2f1ec',
23 primary_dark: '#008489',
24 secondary: '#007a87',
25 yellow: '#ffe8bc',
26 yellow_dark: '#ffce71'
27};
28var _default = {
29 reactDates: {
30 zIndex: 0,
31 border: {
32 input: {
33 border: 0,
34 borderTop: 0,
35 borderRight: 0,
36 borderBottom: '2px solid transparent',
37 borderLeft: 0,
38 outlineFocused: 0,
39 borderFocused: 0,
40 borderTopFocused: 0,
41 borderLeftFocused: 0,
42 borderBottomFocused: "2px solid ".concat(core.primary_dark),
43 borderRightFocused: 0,
44 borderRadius: 0
45 },
46 pickerInput: {
47 borderWidth: 1,
48 borderStyle: 'solid',
49 borderRadius: 2
50 }
51 },
52 color: {
53 core: core,
54 disabled: core.grayLightest,
55 background: core.white,
56 backgroundDark: '#f2f2f2',
57 backgroundFocused: core.white,
58 border: 'rgb(219, 219, 219)',
59 text: core.gray,
60 textDisabled: core.border,
61 textFocused: '#007a87',
62 placeholderText: '#757575',
63 outside: {
64 backgroundColor: core.white,
65 backgroundColor_active: core.white,
66 backgroundColor_hover: core.white,
67 color: core.gray,
68 color_active: core.gray,
69 color_hover: core.gray
70 },
71 highlighted: {
72 backgroundColor: core.yellow,
73 backgroundColor_active: core.yellow_dark,
74 backgroundColor_hover: core.yellow_dark,
75 color: core.gray,
76 color_active: core.gray,
77 color_hover: core.gray
78 },
79 minimumNights: {
80 backgroundColor: core.white,
81 backgroundColor_active: core.white,
82 backgroundColor_hover: core.white,
83 borderColor: core.borderLighter,
84 color: core.grayLighter,
85 color_active: core.grayLighter,
86 color_hover: core.grayLighter
87 },
88 hoveredSpan: {
89 backgroundColor: core.primaryShade_4,
90 backgroundColor_active: core.primaryShade_3,
91 backgroundColor_hover: core.primaryShade_4,
92 borderColor: core.primaryShade_3,
93 borderColor_active: core.primaryShade_3,
94 borderColor_hover: core.primaryShade_3,
95 color: core.secondary,
96 color_active: core.secondary,
97 color_hover: core.secondary
98 },
99 selectedSpan: {
100 backgroundColor: core.primaryShade_2,
101 backgroundColor_active: core.primaryShade_1,
102 backgroundColor_hover: core.primaryShade_1,
103 borderColor: core.primaryShade_1,
104 borderColor_active: core.primary,
105 borderColor_hover: core.primary,
106 color: core.white,
107 color_active: core.white,
108 color_hover: core.white
109 },
110 selected: {
111 backgroundColor: core.primary,
112 backgroundColor_active: core.primary,
113 backgroundColor_hover: core.primary,
114 borderColor: core.primary,
115 borderColor_active: core.primary,
116 borderColor_hover: core.primary,
117 color: core.white,
118 color_active: core.white,
119 color_hover: core.white
120 },
121 blocked_calendar: {
122 backgroundColor: core.grayLighter,
123 backgroundColor_active: core.grayLighter,
124 backgroundColor_hover: core.grayLighter,
125 borderColor: core.grayLighter,
126 borderColor_active: core.grayLighter,
127 borderColor_hover: core.grayLighter,
128 color: core.grayLight,
129 color_active: core.grayLight,
130 color_hover: core.grayLight
131 },
132 blocked_out_of_range: {
133 backgroundColor: core.white,
134 backgroundColor_active: core.white,
135 backgroundColor_hover: core.white,
136 borderColor: core.borderLight,
137 borderColor_active: core.borderLight,
138 borderColor_hover: core.borderLight,
139 color: core.grayLighter,
140 color_active: core.grayLighter,
141 color_hover: core.grayLighter
142 }
143 },
144 spacing: {
145 dayPickerHorizontalPadding: 9,
146 captionPaddingTop: 22,
147 captionPaddingBottom: 37,
148 inputPadding: 0,
149 displayTextPaddingVertical: undefined,
150 displayTextPaddingTop: 11,
151 displayTextPaddingBottom: 9,
152 displayTextPaddingHorizontal: undefined,
153 displayTextPaddingLeft: 11,
154 displayTextPaddingRight: 11,
155 displayTextPaddingVertical_small: undefined,
156 displayTextPaddingTop_small: 7,
157 displayTextPaddingBottom_small: 5,
158 displayTextPaddingHorizontal_small: undefined,
159 displayTextPaddingLeft_small: 7,
160 displayTextPaddingRight_small: 7
161 },
162 sizing: {
163 inputWidth: 130,
164 inputWidth_small: 97,
165 arrowWidth: 24
166 },
167 noScrollBarOnVerticalScrollable: false,
168 font: {
169 size: 14,
170 captionSize: 18,
171 input: {
172 size: 19,
173 weight: 200,
174 lineHeight: '24px',
175 size_small: 15,
176 lineHeight_small: '18px',
177 letterSpacing_small: '0.2px',
178 styleDisabled: 'italic'
179 }
180 }
181 }
182};
183exports["default"] = _default;
\No newline at end of file