travelcircus-styleguide 2.0.15 → 2.0.17

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.
@@ -143,7 +143,13 @@ var bold = function bold(props) {
143
143
  type: "bold",
144
144
  theme: props === null || props === void 0 ? void 0 : props.theme
145
145
  }),
146
- fontWeight: "bold"
146
+ fontWeight: "bold",
147
+ fontSynthesis: "none",
148
+ WebkitFontSmoothing: "antialiased",
149
+ MozOsxFontSmoothing: "grayscale",
150
+ fontSmoothing: "antialiased",
151
+ // Text rendering
152
+ textRendering: "optimizeLegibility"
147
153
  } : null;
148
154
  };
149
155
 
@@ -153,7 +159,14 @@ var semiBold = function semiBold(props) {
153
159
  type: "semiBold",
154
160
  theme: props === null || props === void 0 ? void 0 : props.theme
155
161
  }),
156
- fontWeight: 600
162
+ fontWeight: 600,
163
+ fontSynthesis: "none",
164
+ // Font smoothing
165
+ WebkitFontSmoothing: "antialiased",
166
+ MozOsxFontSmoothing: "grayscale",
167
+ fontSmoothing: "antialiased",
168
+ // Text rendering
169
+ textRendering: "optimizeLegibility"
157
170
  } : null;
158
171
  };
159
172
 
@@ -174,7 +187,14 @@ var boldItalic = function boldItalic(props) {
174
187
  theme: props === null || props === void 0 ? void 0 : props.theme
175
188
  }),
176
189
  fontStyle: "italic",
177
- fontWeight: "bold"
190
+ fontWeight: "bold",
191
+ fontSynthesis: "none",
192
+ // Font smoothing
193
+ WebkitFontSmoothing: "antialiased",
194
+ MozOsxFontSmoothing: "grayscale",
195
+ fontSmoothing: "antialiased",
196
+ // Text rendering
197
+ textRendering: "optimizeLegibility"
178
198
  } : null;
179
199
  };
180
200
 
@@ -185,7 +205,14 @@ var semiBoldItalic = function semiBoldItalic(props) {
185
205
  theme: props === null || props === void 0 ? void 0 : props.theme
186
206
  }),
187
207
  fontStyle: "italic",
188
- fontWeight: 600
208
+ fontWeight: 600,
209
+ fontSynthesis: "none",
210
+ // Font smoothing
211
+ WebkitFontSmoothing: "antialiased",
212
+ MozOsxFontSmoothing: "grayscale",
213
+ fontSmoothing: "antialiased",
214
+ // Text rendering
215
+ textRendering: "optimizeLegibility"
189
216
  } : null;
190
217
  };
191
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "travelcircus-styleguide",
3
- "version": "2.0.15",
3
+ "version": "2.0.17",
4
4
  "description": "Components Styleguide for a TravelCircus web services",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {