travelcircus-styleguide 2.0.16 → 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
 
@@ -154,7 +160,13 @@ var semiBold = function semiBold(props) {
154
160
  theme: props === null || props === void 0 ? void 0 : props.theme
155
161
  }),
156
162
  fontWeight: 600,
157
- fontSynthesis: "none"
163
+ fontSynthesis: "none",
164
+ // Font smoothing
165
+ WebkitFontSmoothing: "antialiased",
166
+ MozOsxFontSmoothing: "grayscale",
167
+ fontSmoothing: "antialiased",
168
+ // Text rendering
169
+ textRendering: "optimizeLegibility"
158
170
  } : null;
159
171
  };
160
172
 
@@ -175,7 +187,14 @@ var boldItalic = function boldItalic(props) {
175
187
  theme: props === null || props === void 0 ? void 0 : props.theme
176
188
  }),
177
189
  fontStyle: "italic",
178
- 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"
179
198
  } : null;
180
199
  };
181
200
 
@@ -186,7 +205,14 @@ var semiBoldItalic = function semiBoldItalic(props) {
186
205
  theme: props === null || props === void 0 ? void 0 : props.theme
187
206
  }),
188
207
  fontStyle: "italic",
189
- 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"
190
216
  } : null;
191
217
  };
192
218
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "travelcircus-styleguide",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "Components Styleguide for a TravelCircus web services",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {