@bbc/psammead-styles
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -6,2 +6,3 @@ # @bbc/psammead-styles Changelog | ||
|---------|-------------| | ||
| 2.0.3 | [PR#1727](https://github.com/bbc/psammead/pull/1727) Fix for Latha Font URL. | | ||
| 2.0.2 | [PR#1682](https://github.com/bbc/psammead/pull/1682) Move all dev dependencies to top level package.json | | ||
@@ -8,0 +9,0 @@ | 2.0.1 | [PR#1597](https://github.com/bbc/psammead/pull/1597) Bump @bbc/gel-foundations, @bbc/psammead-storybook-helpers, @bbc/psammead-test-helpers | |
@@ -13,3 +13,3 @@ "use strict"; | ||
var baseUrlIskoolaPotaBBC = 'https://ws-downloads.files.bbci.co.uk/fonts/IskoolaPota/v5.91/'; | ||
var baseUrlLatha = 'https://ws-downloads.files.bbci.co.uk/fonts/Latha/v5.90'; | ||
var baseUrlLatha = 'https://ws-downloads.files.bbci.co.uk/fonts/Latha/v5.90/'; | ||
var baseURlMallanna = 'https://ws-downloads.files.bbci.co.uk/fonts/Mallanna/v1.0.4/'; | ||
@@ -26,3 +26,3 @@ var baseUrlNotoSansEthiopic = 'https://ws-downloads.files.bbci.co.uk/fonts/NotoSansEthiopic/v1.901/'; | ||
exports.F_REITH_SERIF_BOLD = F_REITH_SERIF_BOLD; | ||
var F_REITH_SERIF_BOLD_ITALIC = " \n @font-face {\n font-family: \"ReithSerif\";\n src: url(\"".concat(baseFontUrl, "BBCReithSerif_W_BdIt.woff2\") format(\"woff2\"), url(\"").concat(baseFontUrl, "BBCReithSerif_W_BdIt.woff\") format(\"woff\");\n font-weight: 700;\n font-style: italic;\n font-display: optional;\n }"); | ||
var F_REITH_SERIF_BOLD_ITALIC = "\n @font-face {\n font-family: \"ReithSerif\";\n src: url(\"".concat(baseFontUrl, "BBCReithSerif_W_BdIt.woff2\") format(\"woff2\"), url(\"").concat(baseFontUrl, "BBCReithSerif_W_BdIt.woff\") format(\"woff\");\n font-weight: 700;\n font-style: italic;\n font-display: optional;\n }"); | ||
exports.F_REITH_SERIF_BOLD_ITALIC = F_REITH_SERIF_BOLD_ITALIC; | ||
@@ -29,0 +29,0 @@ var F_REITH_SERIF_LIGHT = "\n @font-face {\n font-family: \"ReithSerif\";\n src: url(\"".concat(baseFontUrl, "BBCReithSerif_W_Lt.woff2\") format(\"woff2\"), url(\"").concat(baseFontUrl, "BBCReithSerif_W_Lt.woff\") format(\"woff\");\n font-weight: 300;\n font-display: optional;\n }"); |
@@ -7,3 +7,3 @@ var baseFontUrl = 'https://gel.files.bbci.co.uk/r2.511/'; | ||
var baseUrlIskoolaPotaBBC = 'https://ws-downloads.files.bbci.co.uk/fonts/IskoolaPota/v5.91/'; | ||
var baseUrlLatha = 'https://ws-downloads.files.bbci.co.uk/fonts/Latha/v5.90'; | ||
var baseUrlLatha = 'https://ws-downloads.files.bbci.co.uk/fonts/Latha/v5.90/'; | ||
var baseURlMallanna = 'https://ws-downloads.files.bbci.co.uk/fonts/Mallanna/v1.0.4/'; | ||
@@ -17,3 +17,3 @@ var baseUrlNotoSansEthiopic = 'https://ws-downloads.files.bbci.co.uk/fonts/NotoSansEthiopic/v1.901/'; | ||
export var F_REITH_SERIF_BOLD = "\n @font-face {\n font-family: \"ReithSerif\";\n src: url(\"".concat(baseFontUrl, "BBCReithSerif_W_Bd.woff2\") format(\"woff2\"), url(\"").concat(baseFontUrl, "BBCReithSerif_W_Bd.woff\") format(\"woff\");\n font-weight: 700;\n font-display: optional;\n }"); | ||
export var F_REITH_SERIF_BOLD_ITALIC = " \n @font-face {\n font-family: \"ReithSerif\";\n src: url(\"".concat(baseFontUrl, "BBCReithSerif_W_BdIt.woff2\") format(\"woff2\"), url(\"").concat(baseFontUrl, "BBCReithSerif_W_BdIt.woff\") format(\"woff\");\n font-weight: 700;\n font-style: italic;\n font-display: optional;\n }"); | ||
export var F_REITH_SERIF_BOLD_ITALIC = "\n @font-face {\n font-family: \"ReithSerif\";\n src: url(\"".concat(baseFontUrl, "BBCReithSerif_W_BdIt.woff2\") format(\"woff2\"), url(\"").concat(baseFontUrl, "BBCReithSerif_W_BdIt.woff\") format(\"woff\");\n font-weight: 700;\n font-style: italic;\n font-display: optional;\n }"); | ||
export var F_REITH_SERIF_LIGHT = "\n @font-face {\n font-family: \"ReithSerif\";\n src: url(\"".concat(baseFontUrl, "BBCReithSerif_W_Lt.woff2\") format(\"woff2\"), url(\"").concat(baseFontUrl, "BBCReithSerif_W_Lt.woff\") format(\"woff\");\n font-weight: 300;\n font-display: optional;\n }"); | ||
@@ -20,0 +20,0 @@ export var F_REITH_SERIF_LIGHT_ITALIC = "\n @font-face {\n font-family: \"ReithSerif\";\n src: url(\"".concat(baseFontUrl, "BBCReithSerif_W_LtIt.woff2\") format(\"woff2\"), url(\"").concat(baseFontUrl, "BBCReithSerif_W_LtIt.woff\") format(\"woff\");\n font-weight: 300;\n font-style: italic;\n font-display: optional;\n }"); |
{ | ||
"name": "@bbc/psammead-styles", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "A collection of string constants for use in CSS, containing non-GEL styling details that are bespoke to specific BBC services and products.", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -18,3 +18,3 @@ const baseFontUrl = 'https://gel.files.bbci.co.uk/r2.511/'; | ||
const baseUrlLatha = 'https://ws-downloads.files.bbci.co.uk/fonts/Latha/v5.90'; | ||
const baseUrlLatha = 'https://ws-downloads.files.bbci.co.uk/fonts/Latha/v5.90/'; | ||
@@ -57,3 +57,3 @@ const baseURlMallanna = | ||
export const F_REITH_SERIF_BOLD_ITALIC = ` | ||
export const F_REITH_SERIF_BOLD_ITALIC = ` | ||
@font-face { | ||
@@ -60,0 +60,0 @@ font-family: "ReithSerif"; |
181508