travelcircus-styleguide 2.3.1 → 2.3.3
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.
|
@@ -12,6 +12,9 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
12
12
|
const style = (0, _styledComponents.css)`
|
|
13
13
|
display: flex;
|
|
14
14
|
`;
|
|
15
|
-
const Flex = (0, _styledComponents.default)(_Box.default)(style, _styledSystem.flexbox)
|
|
15
|
+
const Flex = (0, _styledComponents.default)(_Box.default)(style, _styledSystem.flexbox, (0, _styledSystem.system)({
|
|
16
|
+
gap: true,
|
|
17
|
+
gridGap: true
|
|
18
|
+
}));
|
|
16
19
|
Flex.displayName = "Flex";
|
|
17
20
|
var _default = exports.default = Flex;
|
|
@@ -52,22 +52,11 @@ const italic = props => {
|
|
|
52
52
|
};
|
|
53
53
|
const bold = props => props.bold ? {
|
|
54
54
|
fontWeight: 'bold',
|
|
55
|
-
fontSynthesis: 'none'
|
|
56
|
-
WebkitFontSmoothing: 'antialiased',
|
|
57
|
-
MozOsxFontSmoothing: 'grayscale',
|
|
58
|
-
fontSmoothing: 'antialiased',
|
|
59
|
-
// Text rendering
|
|
60
|
-
textRendering: 'optimizeLegibility'
|
|
55
|
+
fontSynthesis: 'none'
|
|
61
56
|
} : null;
|
|
62
57
|
const semiBold = props => props.semiBold ? {
|
|
63
58
|
fontWeight: 600,
|
|
64
|
-
fontSynthesis: 'none'
|
|
65
|
-
// Font smoothing
|
|
66
|
-
WebkitFontSmoothing: 'antialiased',
|
|
67
|
-
MozOsxFontSmoothing: 'grayscale',
|
|
68
|
-
fontSmoothing: 'antialiased',
|
|
69
|
-
// Text rendering
|
|
70
|
-
textRendering: 'optimizeLegibility'
|
|
59
|
+
fontSynthesis: 'none'
|
|
71
60
|
} : null;
|
|
72
61
|
const light = props => props.light ? {
|
|
73
62
|
fontWeight: 300
|
|
@@ -75,26 +64,17 @@ const light = props => props.light ? {
|
|
|
75
64
|
const boldItalic = props => props.bold && props.italic ? {
|
|
76
65
|
fontStyle: 'italic',
|
|
77
66
|
fontWeight: 'bold',
|
|
78
|
-
fontSynthesis: 'none'
|
|
79
|
-
// Font smoothing
|
|
80
|
-
WebkitFontSmoothing: 'antialiased',
|
|
81
|
-
MozOsxFontSmoothing: 'grayscale',
|
|
82
|
-
fontSmoothing: 'antialiased',
|
|
83
|
-
// Text rendering
|
|
84
|
-
textRendering: 'optimizeLegibility'
|
|
67
|
+
fontSynthesis: 'none'
|
|
85
68
|
} : null;
|
|
86
69
|
const semiBoldItalic = props => props.semiBold && props.italic ? {
|
|
87
70
|
fontStyle: 'italic',
|
|
88
71
|
fontWeight: 600,
|
|
89
|
-
fontSynthesis: 'none'
|
|
90
|
-
// Font smoothing
|
|
91
|
-
WebkitFontSmoothing: 'antialiased',
|
|
92
|
-
MozOsxFontSmoothing: 'grayscale',
|
|
93
|
-
fontSmoothing: 'antialiased',
|
|
94
|
-
// Text rendering
|
|
95
|
-
textRendering: 'optimizeLegibility'
|
|
72
|
+
fontSynthesis: 'none'
|
|
96
73
|
} : null;
|
|
97
74
|
const styledText = (0, _styledComponents.css)`
|
|
75
|
+
-webkit-font-smoothing: antialiased;
|
|
76
|
+
-moz-osx-font-smoothing: grayscale;
|
|
77
|
+
text-rendering: optimizeLegibility;
|
|
98
78
|
${italic};
|
|
99
79
|
${bold};
|
|
100
80
|
${semiBold};
|
package/dist/theme/colors.js
CHANGED
|
@@ -84,6 +84,7 @@ const frogGreen = '#08a96b';
|
|
|
84
84
|
const lidl = '#e60a14';
|
|
85
85
|
const lidlBlue = '#004fa9';
|
|
86
86
|
const lidlYellow = '#fff000';
|
|
87
|
+
const darkNavy = '#11264F';
|
|
87
88
|
const Color = exports.Color = {
|
|
88
89
|
WHITE: white,
|
|
89
90
|
BLACK: black,
|
|
@@ -163,7 +164,8 @@ const Color = exports.Color = {
|
|
|
163
164
|
FROG_GREEN: frogGreen,
|
|
164
165
|
LIDL: lidl,
|
|
165
166
|
LIDL_BLUE: lidlBlue,
|
|
166
|
-
LIDL_YELLOW: lidlYellow
|
|
167
|
+
LIDL_YELLOW: lidlYellow,
|
|
168
|
+
DARK_NAVY: darkNavy
|
|
167
169
|
};
|
|
168
170
|
var _default = exports.default = {
|
|
169
171
|
black,
|
|
@@ -243,5 +245,6 @@ var _default = exports.default = {
|
|
|
243
245
|
frogGreen,
|
|
244
246
|
lidl,
|
|
245
247
|
lidlBlue,
|
|
246
|
-
lidlYellow
|
|
248
|
+
lidlYellow,
|
|
249
|
+
darkNavy
|
|
247
250
|
};
|