linting and formatting in lint workflow

This commit is contained in:
hobbes7878 2024-08-21 16:50:36 +01:00
parent f1ca10a7e4
commit f0fd04c2a6
28 changed files with 1761 additions and 1390 deletions

View file

@ -1,5 +1,5 @@
{
"name": "Node.js",
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-20",
"postCreateCommand": "npm install"
"name": "Node.js",
"image": "mcr.microsoft.com/devcontainers/javascript-node:0-20",
"postCreateCommand": "npm install"
}

View file

@ -31,4 +31,19 @@ jobs:
- id: lint
name: Lint code
run: npx eslint ./src/components/
run: npm run lint
- id: format
name: Format code
run: npm run format
- id: commit_and_push
name: Commit and push formatted code
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit --allow-empty -m "lint and format"
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View file

@ -49,12 +49,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- id: build-docs
name: Build docs
if: steps.changesets.outputs.published == 'true'
run: npm run build:docs
- id: commit_and_push
name: Commit and push docs
if: steps.changesets.outputs.published == 'true'

View file

@ -1,5 +0,0 @@
{
"MD013": false,
"MD033": false,
"MD041": false
}

View file

@ -1 +1,3 @@
docs/
docs
dist
node_modules

View file

@ -1,7 +1,13 @@
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Inter+Tight:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Inter+Tight:ital,wght@0,300;0,400;1,300;1,400&family=Inter:wght@300;400;500;600;700;800&display=swap"
rel="stylesheet"
/>
<script>
window.global = window;
</script>
</script>

View file

@ -1,6 +1,3 @@
{
"recommendations": [
"unifiedjs.vscode-mdx",
"somewhatstationery.some-sass"
]
"recommendations": ["unifiedjs.vscode-mdx", "somewhatstationery.some-sass"]
}

View file

@ -4,16 +4,13 @@
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
},
"emmet.excludeLanguages": [
"markdown",
"scss"
],
"emmet.excludeLanguages": ["markdown", "scss"],
"files.associations": {
"*.svx": "mdx"
},
"[mdx]": {
"editor.wordWrap": "on"
},
"typescript.tsdk": "node_modules/typescript/lib"
}

View file

@ -1,12 +1,8 @@
{
"Svelte SCSS style": {
"scope": "svelte",
"prefix": "scss",
"body": [
"<style lang=\"scss\">",
"$1",
"</style>"
],
"description": "Add a Svelte SCSS style tag"
}
}
"Svelte SCSS style": {
"scope": "svelte",
"prefix": "scss",
"body": ["<style lang=\"scss\">", "$1", "</style>"],
"description": "Add a Svelte SCSS style tag",
},
}

View file

@ -3,7 +3,7 @@ import{_ as Gt}from"./iframe-3532bc3f.js";import{g as to,R as l,r as E,m as En,n
`)!==-1||h&&g;g=b;const x=s._,C=s.o;let w;s.o=!0,b?(s._=!1,w=v.replace(Nr,`
`)):(s._=!0,w=v.replace(Nr,""));const _=c(w,s);return s._=x,s.o=C,_}),m:r,g:u}},h:(i,c,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(u,p){return e("li",{key:p},c(u,s))}))}}const zd=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Gd=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ua=[qn,Yn,Jn,Zn,Xn,Qn,ea,la,ca,ia,da],Wd=[...ua,/^[^\n]+(?: \n|\n{2,})/,Nt,Bt];function Vd(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function Kd(e){return Td.test(e)?"right":$d.test(e)?"center":Od.test(e)?"left":null}function Fr(e,t,r){const n=r.v;r.v=!0;const a=t(e.trim(),r);r.v=n;let o=[[]];return a.forEach(function(i,c){i.type==="tableSeparator"?c!==0&&c!==a.length-1&&o.push([]):(i.type!=="text"||a[c+1]!=null&&a[c+1].type!=="tableSeparator"||(i.$=i.$.replace(Ad,"")),o[o.length-1].push(i))}),o}function qd(e,t,r){r._=!0;const n=Fr(e[1],t,r),a=e[2].replace(kd,"").split("|").map(Kd),o=function(i,c,s){return i.trim().split(`
`)):(s._=!0,w=v.replace(Nr,""));const _=c(w,s);return s._=x,s.o=C,_}),m:r,g:u}},h:(i,c,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(u,p){return e("li",{key:p},c(u,s))}))}}const zd=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,Gd=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,ua=[qn,Yn,Jn,Zn,Xn,Qn,ea,la,ca,ia,da],Wd=[...ua,/^[^\n]+(?: {2}\n|\n{2,})/,Nt,Bt];function Vd(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function Kd(e){return Td.test(e)?"right":$d.test(e)?"center":Od.test(e)?"left":null}function Fr(e,t,r){const n=r.v;r.v=!0;const a=t(e.trim(),r);r.v=n;let o=[[]];return a.forEach(function(i,c){i.type==="tableSeparator"?c!==0&&c!==a.length-1&&o.push([]):(i.type!=="text"||a[c+1]!=null&&a[c+1].type!=="tableSeparator"||(i.$=i.$.replace(Ad,"")),o[o.length-1].push(i))}),o}function qd(e,t,r){r._=!0;const n=Fr(e[1],t,r),a=e[2].replace(kd,"").split("|").map(Kd),o=function(i,c,s){return i.trim().split(`
`).map(function(u){return Fr(u,c,s)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function Dr(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function le(e){return function(t,r){return r._?e.exec(t):null}}function ie(e){return function(t,r){return r._||r.u?e.exec(t):null}}function ae(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function Se(e){return function(t){return e.exec(t)}}function Yd(e,t,r){if(t._||t.u||r&&!r.endsWith(`
`))return null;let n="";e.split(`
`).every(o=>!ua.some(i=>i.test(o))&&(n+=o+`

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -9,7 +9,7 @@ var jy=Object.create;var ya=Object.defineProperty;var qy=Object.getOwnPropertyDe
`)!==-1||F&&b;b=B;let I=s._,L=s.o,w;s.o=!0,B?(s._=!1,w=x.replace(Zd,`
`)):(s._=!0,w=x.replace(Zd,""));let k=u(w,s);return s._=I,s.o=L,k}),m:r,g:p}},h:(i,u,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(p,y){return e("li",{key:y},u(p,s))}))}}var lS=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,cS=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,vp=[ap,op,ip,up,sp,lp,cp,gp,bp,yp,Ap],dS=[...vp,/^[^\n]+(?: \n|\n{2,})/,Ho,zo];function pS(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function fS(e){return XF.test(e)?"right":KF.test(e)?"center":YF.test(e)?"left":null}function tp(e,t,r){let n=r.v;r.v=!0;let a=t(e.trim(),r);r.v=n;let o=[[]];return a.forEach(function(i,u){i.type==="tableSeparator"?u!==0&&u!==a.length-1&&o.push([]):(i.type!=="text"||a[u+1]!=null&&a[u+1].type!=="tableSeparator"||(i.$=i.$.replace(VF,"")),o[o.length-1].push(i))}),o}function hS(e,t,r){r._=!0;let n=tp(e[1],t,r),a=e[2].replace(GF,"").split("|").map(fS),o=function(i,u,s){return i.trim().split(`
`)):(s._=!0,w=x.replace(Zd,""));let k=u(w,s);return s._=I,s.o=L,k}),m:r,g:p}},h:(i,u,s)=>e(i.m?"ol":"ul",{key:s.k,start:i.g},i.p.map(function(p,y){return e("li",{key:y},u(p,s))}))}}var lS=/^\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,cS=/^!\[([^\]]*)]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,vp=[ap,op,ip,up,sp,lp,cp,gp,bp,yp,Ap],dS=[...vp,/^[^\n]+(?: {2}\n|\n{2,})/,Ho,zo];function pS(e){return e.replace(/[ÀÁÂÃÄÅàáâãä忯]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function fS(e){return XF.test(e)?"right":KF.test(e)?"center":YF.test(e)?"left":null}function tp(e,t,r){let n=r.v;r.v=!0;let a=t(e.trim(),r);r.v=n;let o=[[]];return a.forEach(function(i,u){i.type==="tableSeparator"?u!==0&&u!==a.length-1&&o.push([]):(i.type!=="text"||a[u+1]!=null&&a[u+1].type!=="tableSeparator"||(i.$=i.$.replace(VF,"")),o[o.length-1].push(i))}),o}function hS(e,t,r){r._=!0;let n=tp(e[1],t,r),a=e[2].replace(GF,"").split("|").map(fS),o=function(i,u,s){return i.trim().split(`
`).map(function(p){return tp(p,u,s)})}(e[3],t,r);return r._=!1,{S:a,A:o,L:n,type:"table"}}function rp(e,t){return e.S[t]==null?{}:{textAlign:e.S[t]}}function ct(e){return function(t,r){return r._?e.exec(t):null}}function dt(e){return function(t,r){return r._||r.u?e.exec(t):null}}function nt(e){return function(t,r){return r._||r.u?null:e.exec(t)}}function _r(e){return function(t){return e.exec(t)}}function mS(e,t,r){if(t._||t.u||r&&!r.endsWith(`
`))return null;let n="";e.split(`
`).every(o=>!vp.some(i=>i.test(o))&&(n+=o+`

View file

@ -7,7 +7,16 @@ import reactPlugin from 'eslint-plugin-react';
export default [
{
files: ['src/**/*.{js,ts,svelte,jsx,tsx}', '.storybook/**/*'],
ignores: ['node_modules', 'docs/**/*'],
},
{
ignores: [
'node_modules/',
'docs/',
'dist/',
'.storybook/svelte-highlighting.js',
'bin/css-to-js/',
'bin/newComponent/',
],
},
...svelte,
reactPlugin.configs.flat.recommended,

View file

@ -15,7 +15,8 @@
"scripts": {
"start": "storybook dev -p 3000",
"new": "node ./bin/newComponent/index.cjs",
"lint": "npx eslint ./src/components/ --fix",
"lint": "eslint --fix",
"format": "prettier . --write",
"build:package": "node ./bin/buildPackage/index.js && publint",
"build:chromatic": "storybook build -o docs",
"build:docs": "storybook build -o docs && touch ./docs/.nojekyll",

View file

@ -1,72 +1,72 @@
[
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T194630Z_544493697_UP1E.jpeg",
"caption": "Spain's Sergio Busquets and Aymeric Laporte react before a Germany goal is disallowed following a VAR review.",
"credit": "REUTERS/Molly Darlington"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T194619Z_2007900040_UP1.jpeg",
"caption": "Spain's Sergio Busquets fouls Germany's Jamal Musiala before being shown yellow card.",
"credit": "REUTERS/Kai Pfaffenbach"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T194619Z_635809122_UP1E.jpeg",
"caption": "Spain's Sergio Busquets is shown a yellow card by referee Danny Desmond Makkelie.",
"credit": "REUTERS/Albert Gea"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T191015Z_1293757566_UP1.jpeg",
"caption": "Spain's Sergio Busquets in action with Germany's Thomas Muller.",
"credit": "REUTERS/John Sibley"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T181411Z_1_MTZXEIBR0QNN.jpeg",
"caption": "Spain fans inside the stadium before the match.",
"credit": "REUTERS/Albert Gea"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T194827Z_345059331_UP1E.jpeg",
"caption": "Spain's Gavi.",
"credit": "REUTERS/Fabrizio Bensch"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T175149Z_1_MTZXEIBR0PMD.jpeg",
"caption": "",
"credit": "REUTERS/John Sibley"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T203232Z_890709671_UP1E.jpeg",
"caption": "Spain's Alvaro Morata scores their first goal.",
"credit": "REUTERS/Kai Pfaffenbach"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T203612Z_1399473226_UP1.jpeg",
"caption": "Spain's Alvaro Morata celebrates scoring their first goal.",
"credit": "REUTERS/Molly Darlington"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T204305Z_1795686896_UP1.jpeg",
"caption": "Germany's Niclas Fullkrug scores their first goal.",
"credit": "REUTERS/Molly Darlington"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T204528Z_151067034_UP1E.jpeg",
"caption": "Germany's Niclas Fullkrug celebrates scoring their first goal.",
"credit": "REUTERS/Molly Darlington"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T205041Z_2076149593_UP1.jpeg",
"caption": "Spain coach Luis Enrique.",
"credit": "REUTERS/John Sibley"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T205604Z_1468073277_UP1.jpeg",
"caption": "Germany's Manuel Neuer applauds fans after the match.",
"credit": "REUTERS/Kai Pfaffenbach"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T205854Z_408619749_UP1E.jpeg",
"caption": "Spain players applaud fans after the match.",
"credit": "REUTERS/Albert Gea"
}
]
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T194630Z_544493697_UP1E.jpeg",
"caption": "Spain's Sergio Busquets and Aymeric Laporte react before a Germany goal is disallowed following a VAR review.",
"credit": "REUTERS/Molly Darlington"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T194619Z_2007900040_UP1.jpeg",
"caption": "Spain's Sergio Busquets fouls Germany's Jamal Musiala before being shown yellow card.",
"credit": "REUTERS/Kai Pfaffenbach"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T194619Z_635809122_UP1E.jpeg",
"caption": "Spain's Sergio Busquets is shown a yellow card by referee Danny Desmond Makkelie.",
"credit": "REUTERS/Albert Gea"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T191015Z_1293757566_UP1.jpeg",
"caption": "Spain's Sergio Busquets in action with Germany's Thomas Muller.",
"credit": "REUTERS/John Sibley"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T181411Z_1_MTZXEIBR0QNN.jpeg",
"caption": "Spain fans inside the stadium before the match.",
"credit": "REUTERS/Albert Gea"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T194827Z_345059331_UP1E.jpeg",
"caption": "Spain's Gavi.",
"credit": "REUTERS/Fabrizio Bensch"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T175149Z_1_MTZXEIBR0PMD.jpeg",
"caption": "",
"credit": "REUTERS/John Sibley"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T203232Z_890709671_UP1E.jpeg",
"caption": "Spain's Alvaro Morata scores their first goal.",
"credit": "REUTERS/Kai Pfaffenbach"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T203612Z_1399473226_UP1.jpeg",
"caption": "Spain's Alvaro Morata celebrates scoring their first goal.",
"credit": "REUTERS/Molly Darlington"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T204305Z_1795686896_UP1.jpeg",
"caption": "Germany's Niclas Fullkrug scores their first goal.",
"credit": "REUTERS/Molly Darlington"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T204528Z_151067034_UP1E.jpeg",
"caption": "Germany's Niclas Fullkrug celebrates scoring their first goal.",
"credit": "REUTERS/Molly Darlington"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T205041Z_2076149593_UP1.jpeg",
"caption": "Spain coach Luis Enrique.",
"credit": "REUTERS/John Sibley"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T205604Z_1468073277_UP1.jpeg",
"caption": "Germany's Manuel Neuer applauds fans after the match.",
"credit": "REUTERS/Kai Pfaffenbach"
},
{
"src": "https://graphics.thomsonreuters.com/cdn/django-tools/media/graphics-gallery/galleries/world-cup-2022/spain-germany-11-27/2022-11-27T205854Z_408619749_UP1E.jpeg",
"caption": "Spain players applaud fans after the match.",
"credit": "REUTERS/Albert Gea"
}
]

View file

@ -1,210 +1,210 @@
[
{
"company_description": "Reuters, the news and media division of Thomson Reuters, is the worlds largest multimedia news provider, reaching billions of people worldwide every day. Reuters provides business, financial, national and international news to professionals via desktop terminals, the world's media organizations, industry events and directly to consumers.",
"disclaimer_link": "https://www.reuters.com/info-pages/disclaimer/",
"copyright_link": "https://www.thomsonreuters.com/en/policies/copyright.html",
"copyright_year": "2022",
"latest_links": [
{
"text": "Home",
"url": "/",
"self": true
}
],
"browse_links": [
{
"text": "World",
"url": "/world/",
"self": true
},
{
"text": "Business",
"url": "/business/",
"self": true
},
{
"text": "Legal",
"url": "/legal/",
"self": true
},
{
"text": "Markets",
"url": "/markets/",
"self": true
},
{
"text": "Breakingviews",
"url": "/breakingviews/",
"self": true
},
{
"text": "Technology",
"url": "/technology/",
"self": true
},
{
"text": "Investigations",
"url": "/investigates/"
},
{
"text": "Lifestyle",
"url": "/lifestyle/",
"self": true
}
],
"media_links": [
{
"text": "Videos",
"url": "https://www.reuters.com/video/",
"symbol": "videos"
},
{
"text": "Pictures",
"url": "https://www.reuters.com/news/pictures",
"symbol": "pictures"
},
{
"text": "Graphics",
"url": "https://graphics.reuters.com/",
"symbol": "graphics"
}
],
"about_links": [
{
"text": "About Reuters",
"url": "https://www.reutersagency.com/en/about/about-us/"
},
{
"text": "Careers",
"url": "https://www.thomsonreuters.com/en/careers.html"
},
{
"text": "Reuters News Agency",
"url": "https://www.reutersagency.com/en/?utm_source=website&utm_medium=reuters&utm_campaign=site-referral&utm_content=us&utm_term=0"
},
{
"text": "Brand Attribution Guidelines",
"url": "https://www.reutersagency.com/en/about/about-us/brand-attribution-guidelines/"
},
{
"text": "Reuters Leadership",
"url": "https://www.reutersagency.com/en/about/leadership-team/"
},
{
"text": "Reuters Fact Check",
"url": "https://www.reuters.com/fact-check/"
},
{
"text": "Reuters Diversity Report",
"url": "https://www.reuters.com/DiversityReportApril2022"
}
],
"stay_informed_links": [
{
"text": "Download the App",
"url": "https://www.reuters.com/tools/mobile/us"
},
{
"text": "Newsletters",
"url": "https://newslink.reuters.com/join/subscribe"
}
],
"social_links": [
{
"type": "twitter",
"url": "https://www.twitter.com/Reuters"
},
{
"type": "facebook",
"url": "https://www.facebook.com/Reuters"
},
{
"type": "instagram",
"url": "https://www.instagram.com/Reuters"
},
{
"type": "youtube",
"url": "https://www.youtube.com/user/ReutersVideo"
},
{
"type": "linkedin",
"url": "https://www.linkedin.com/company/10256858/"
}
],
"tr_products": [
{
"name": "Westlaw",
"description": "Build the strongest argument relying on authoritative content, attorney-editor expertise, and industry defining technology.",
"url": "https://legal.thomsonreuters.com/en/products/westlaw"
},
{
"name": "Onesource",
"description": "The most comprehensive solution to manage all your complex and ever-expanding tax and compliance needs.",
"url": "https://tax.thomsonreuters.com/en/onesource"
},
{
"name": "Checkpoint",
"description": "The industry leader for online information for tax, accounting and finance professionals.",
"url": "https://tax.thomsonreuters.com/en/checkpoint"
}
],
"refinitiv_products": [
{
"name": "Refinitiv Workspace",
"description": " Access unmatched financial data, news and content in a highly-customised workflow experience on desktop, web and mobile.",
"url": " https://www.refinitiv.com/en/products/refinitiv-workspace"
},
{
"name": "Refinitiv Data Catalogue",
"description": " Browse an unrivalled portfolio of real-time and historical market data and insights from worldwide sources and experts.",
"url": " https://www.refinitiv.com/en/financial-data"
},
{
"name": "Refinitiv World-Check",
"description": "Screen for heightened risk individual and entities globally to help uncover hidden risks in business relationships and human networks.",
"url": "https://www.refinitiv.com/en/products/world-check-kyc-screening"
}
],
"ad_links": [
{
"text": "Advertise With Us",
"url": "https://www.reutersagency.com/en/services/advertising-solutions/"
},
{
"text": "Advertising Guidelines",
"url": "/info-pages/advertising-guidelines/"
}
],
"misc_links": [
{
"text": "Cookies",
"url": "https://www.thomsonreuters.com/en/privacy-statement.html#cookies"
},
{
"text": "Terms of Use",
"url": "/info-pages/terms-of-use/"
},
{
"text": "Privacy",
"url": "https://www.thomsonreuters.com/en/privacy-statement.html"
},
{
"text": "Digital Accessibility",
"url": "https://www.thomsonreuters.com/en/policies/digital-accessibility-policy.html"
},
{
"text": "Corrections",
"url": "/info-pages/contact-us/"
},
{
"text": "Site Feedback",
"url": "https://trdigital.iad1.qualtrics.com/jfe/form/SV_8kte8gArGyCGVhz"
},
{
"text": "Do Not Sell My Personal Information",
"url": "javascript:window.OneTrust.ToggleInfoDisplay();",
"self": "true"
}
]
}
]
{
"company_description": "Reuters, the news and media division of Thomson Reuters, is the worlds largest multimedia news provider, reaching billions of people worldwide every day. Reuters provides business, financial, national and international news to professionals via desktop terminals, the world's media organizations, industry events and directly to consumers.",
"disclaimer_link": "https://www.reuters.com/info-pages/disclaimer/",
"copyright_link": "https://www.thomsonreuters.com/en/policies/copyright.html",
"copyright_year": "2022",
"latest_links": [
{
"text": "Home",
"url": "/",
"self": true
}
],
"browse_links": [
{
"text": "World",
"url": "/world/",
"self": true
},
{
"text": "Business",
"url": "/business/",
"self": true
},
{
"text": "Legal",
"url": "/legal/",
"self": true
},
{
"text": "Markets",
"url": "/markets/",
"self": true
},
{
"text": "Breakingviews",
"url": "/breakingviews/",
"self": true
},
{
"text": "Technology",
"url": "/technology/",
"self": true
},
{
"text": "Investigations",
"url": "/investigates/"
},
{
"text": "Lifestyle",
"url": "/lifestyle/",
"self": true
}
],
"media_links": [
{
"text": "Videos",
"url": "https://www.reuters.com/video/",
"symbol": "videos"
},
{
"text": "Pictures",
"url": "https://www.reuters.com/news/pictures",
"symbol": "pictures"
},
{
"text": "Graphics",
"url": "https://graphics.reuters.com/",
"symbol": "graphics"
}
],
"about_links": [
{
"text": "About Reuters",
"url": "https://www.reutersagency.com/en/about/about-us/"
},
{
"text": "Careers",
"url": "https://www.thomsonreuters.com/en/careers.html"
},
{
"text": "Reuters News Agency",
"url": "https://www.reutersagency.com/en/?utm_source=website&utm_medium=reuters&utm_campaign=site-referral&utm_content=us&utm_term=0"
},
{
"text": "Brand Attribution Guidelines",
"url": "https://www.reutersagency.com/en/about/about-us/brand-attribution-guidelines/"
},
{
"text": "Reuters Leadership",
"url": "https://www.reutersagency.com/en/about/leadership-team/"
},
{
"text": "Reuters Fact Check",
"url": "https://www.reuters.com/fact-check/"
},
{
"text": "Reuters Diversity Report",
"url": "https://www.reuters.com/DiversityReportApril2022"
}
],
"stay_informed_links": [
{
"text": "Download the App",
"url": "https://www.reuters.com/tools/mobile/us"
},
{
"text": "Newsletters",
"url": "https://newslink.reuters.com/join/subscribe"
}
],
"social_links": [
{
"type": "twitter",
"url": "https://www.twitter.com/Reuters"
},
{
"type": "facebook",
"url": "https://www.facebook.com/Reuters"
},
{
"type": "instagram",
"url": "https://www.instagram.com/Reuters"
},
{
"type": "youtube",
"url": "https://www.youtube.com/user/ReutersVideo"
},
{
"type": "linkedin",
"url": "https://www.linkedin.com/company/10256858/"
}
],
"tr_products": [
{
"name": "Westlaw",
"description": "Build the strongest argument relying on authoritative content, attorney-editor expertise, and industry defining technology.",
"url": "https://legal.thomsonreuters.com/en/products/westlaw"
},
{
"name": "Onesource",
"description": "The most comprehensive solution to manage all your complex and ever-expanding tax and compliance needs.",
"url": "https://tax.thomsonreuters.com/en/onesource"
},
{
"name": "Checkpoint",
"description": "The industry leader for online information for tax, accounting and finance professionals.",
"url": "https://tax.thomsonreuters.com/en/checkpoint"
}
],
"refinitiv_products": [
{
"name": "Refinitiv Workspace",
"description": " Access unmatched financial data, news and content in a highly-customised workflow experience on desktop, web and mobile.",
"url": " https://www.refinitiv.com/en/products/refinitiv-workspace"
},
{
"name": "Refinitiv Data Catalogue",
"description": " Browse an unrivalled portfolio of real-time and historical market data and insights from worldwide sources and experts.",
"url": " https://www.refinitiv.com/en/financial-data"
},
{
"name": "Refinitiv World-Check",
"description": "Screen for heightened risk individual and entities globally to help uncover hidden risks in business relationships and human networks.",
"url": "https://www.refinitiv.com/en/products/world-check-kyc-screening"
}
],
"ad_links": [
{
"text": "Advertise With Us",
"url": "https://www.reutersagency.com/en/services/advertising-solutions/"
},
{
"text": "Advertising Guidelines",
"url": "/info-pages/advertising-guidelines/"
}
],
"misc_links": [
{
"text": "Cookies",
"url": "https://www.thomsonreuters.com/en/privacy-statement.html#cookies"
},
{
"text": "Terms of Use",
"url": "/info-pages/terms-of-use/"
},
{
"text": "Privacy",
"url": "https://www.thomsonreuters.com/en/privacy-statement.html"
},
{
"text": "Digital Accessibility",
"url": "https://www.thomsonreuters.com/en/policies/digital-accessibility-policy.html"
},
{
"text": "Corrections",
"url": "/info-pages/contact-us/"
},
{
"text": "Site Feedback",
"url": "https://trdigital.iad1.qualtrics.com/jfe/form/SV_8kte8gArGyCGVhz"
},
{
"text": "Do Not Sell My Personal Information",
"url": "javascript:window.OneTrust.ToggleInfoDisplay();",
"self": "true"
}
]
}
]

File diff suppressed because one or more lines are too long

View file

@ -15,45 +15,65 @@
$maxWidth: 1440px;
@mixin for-small-mobile {
@media (max-width: 518px) { @content; }
@media (max-width: 518px) {
@content;
}
}
@mixin for-mobile {
@media (max-width: 745px) { @content; }
@media (max-width: 745px) {
@content;
}
}
@mixin for-tablet {
@media (min-width: 746px) and (max-width: 1023px) { @content; }
@media (min-width: 746px) and (max-width: 1023px) {
@content;
}
}
@mixin for-tablet-up {
@media (min-width: 746px) { @content; }
@media (min-width: 746px) {
@content;
}
}
@mixin for-tablet-down {
@media (max-width: 1023px) { @content; }
@media (max-width: 1023px) {
@content;
}
}
@mixin for-tight-desktop {
@media (min-width: 1024px) and (max-width: 1060px) { @content; }
@media (min-width: 1024px) and (max-width: 1060px) {
@content;
}
}
@mixin for-desktop {
@media (min-width: 1024px) { @content; }
@media (min-width: 1024px) {
@content;
}
}
@mixin for-wide-desktop {
@media (min-width: 1300px) { @content; }
@media (min-width: 1300px) {
@content;
}
}
@mixin for-extra-wide-desktop {
@media (min-width: 1440px) { @content; }
@media (min-width: 1440px) {
@content;
}
}
@mixin above-max {
@media (min-width: $maxWidth) { @content; }
@media (min-width: $maxWidth) {
@content;
}
}
@mixin max-width {
max-width: $maxWidth;
}
}

View file

@ -11,8 +11,8 @@ $tr-light-muted-grey: #f4f4f4;
$tr-ultra-light-grey: #fafafa;
$tr-dark-blue: #005da2;
$tr-light-blue: #0099c4;
$tr-muted-blue: #4386B9;
$tr-lighter-blue: #7FACCE;
$tr-muted-blue: #4386b9;
$tr-lighter-blue: #7facce;
$tr-superlight-blue: #e5eef5;
$tr-dark-purple: #621f95;
$tr-light-purple: #6e3ab7;
@ -22,4 +22,4 @@ $tr-dark-green: #387c2b;
$tr-light-green: #77a22d;
$black: #000;
$white: #fff;
$ad-placeholder: #ffb1b1;
$ad-placeholder: #ffb1b1;

View file

@ -39,23 +39,23 @@
}
@mixin spacing-single-34($properties, $delta: 1) {
@each $property in $properties {
#{$property}: (math.div(24, 1440) * 100vw * $delta);
}
@include for-tablet-down {
@each $property in $properties {
#{$property}: (math.div(24, 1440) * 100vw * $delta);
}
@include for-tablet-down {
@each $property in $properties {
#{$property}: (math.div(12, 375) * 100vw * $delta);
}
}
@include above-max {
@each $property in $properties {
#{$property}: (24px * $delta);
}
#{$property}: (math.div(12, 375) * 100vw * $delta);
}
}
@include above-max {
@each $property in $properties {
#{$property}: (24px * $delta);
}
}
}
@mixin spacing-150($properties, $delta: 1) {
@each $property in $properties {
#{$property}: (math.div(48, 1440) * 100vw * $delta);
@ -123,4 +123,4 @@
@include for-desktop {
@content;
}
}
}

View file

@ -4,12 +4,12 @@ These higher values start at an arbitrary number, high and specific enough to id
To handle overlapping borders within components (e.g., buttons and inputs in input groups), we use low single digit z-index values of 1, 2, and 3 for default, hover, and active states. On hover/focus/active, we bring a particular element to the forefront with a higher z-index value to show their border over the sibling elements.
*/
$zindex-dropdown: 1000;
$zindex-sticky: 1020;
$zindex-fixed: 1030;
$zindex-modal-backdrop: 1040;
$zindex-offcanvas: 1050;
$zindex-modal: 1060;
$zindex-popover: 1070;
$zindex-tooltip: 1080;
$zindex-close-button: 1090;
$zindex-dropdown: 1000;
$zindex-sticky: 1020;
$zindex-fixed: 1030;
$zindex-modal-backdrop: 1040;
$zindex-offcanvas: 1050;
$zindex-modal: 1060;
$zindex-popover: 1070;
$zindex-tooltip: 1080;
$zindex-close-button: 1090;

View file

@ -1,42 +1,42 @@
[
{
"Name": "Barry Bonds",
"Home runs": 762
},
{
"Name": "Hank Aaron",
"Home runs": 755
},
{
"Name": "Babe Ruth",
"Home runs": 714
},
{
"Name": "Albert Pujols",
"Home runs": 703
},
{
"Name": "Alex Rodriguez",
"Home runs": 696
},
{
"Name": "Willie Mays",
"Home runs": 660
},
{
"Name": "Ken Griffey Jr.",
"Home runs": 630
},
{
"Name": "Jim Thome",
"Home runs": 612
},
{
"Name": "Sammy Sosa",
"Home runs": 609
},
{
"Name": "Frank Robinson",
"Home runs": 586
}
]
{
"Name": "Barry Bonds",
"Home runs": 762
},
{
"Name": "Hank Aaron",
"Home runs": 755
},
{
"Name": "Babe Ruth",
"Home runs": 714
},
{
"Name": "Albert Pujols",
"Home runs": 703
},
{
"Name": "Alex Rodriguez",
"Home runs": 696
},
{
"Name": "Willie Mays",
"Home runs": 660
},
{
"Name": "Ken Griffey Jr.",
"Home runs": 630
},
{
"Name": "Jim Thome",
"Home runs": 612
},
{
"Name": "Sammy Sosa",
"Home runs": 609
},
{
"Name": "Frank Robinson",
"Home runs": 586
}
]

File diff suppressed because it is too large Load diff

View file

@ -1,42 +1,42 @@
[
{
"Name": "Francoise Bettencourt Meyers",
"Net worth (in billions)": 74.8
},
{
"Name": "Alice Walton",
"Net worth (in billions)": 65.3
},
{
"Name": "Julia Koch",
"Net worth (in billions)": 60
},
{
"Name": "MacKenzie Scott",
"Net worth (in billions)": 43.6
},
{
"Name": "Jacqueline Mars",
"Net worth (in billions)": 31.7
},
{
"Name": "Gina Rinehart",
"Net worth (in billions)": 30.2
},
{
"Name": "Miriam Adelson",
"Net worth (in billions)": 27.5
},
{
"Name": "Susanne Klatten",
"Net worth (in billions)": 24.3
},
{
"Name": "Iris Fontbona",
"Net worth (in billions)": 22.8
},
{
"Name": "Abigail Johnson",
"Net worth (in billions)": 21.2
}
]
{
"Name": "Francoise Bettencourt Meyers",
"Net worth (in billions)": 74.8
},
{
"Name": "Alice Walton",
"Net worth (in billions)": 65.3
},
{
"Name": "Julia Koch",
"Net worth (in billions)": 60
},
{
"Name": "MacKenzie Scott",
"Net worth (in billions)": 43.6
},
{
"Name": "Jacqueline Mars",
"Net worth (in billions)": 31.7
},
{
"Name": "Gina Rinehart",
"Net worth (in billions)": 30.2
},
{
"Name": "Miriam Adelson",
"Net worth (in billions)": 27.5
},
{
"Name": "Susanne Klatten",
"Net worth (in billions)": 24.3
},
{
"Name": "Iris Fontbona",
"Net worth (in billions)": 22.8
},
{
"Name": "Abigail Johnson",
"Net worth (in billions)": 21.2
}
]

View file

@ -1,36 +0,0 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
ignorePatterns: ['node_modules', 'docs/**'],
extends: [
'standard',
'standard-jsx',
'standard-react',
],
plugins: ['@typescript-eslint'],
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
},
env: {
browser: true,
es2022: true,
},
rules: {
indent: ['error', 2],
semi: ['error', 'always'],
'comma-dangle': [
'error',
{
arrays: 'always-multiline',
objects: 'always-multiline',
imports: 'always-multiline',
exports: 'never',
functions: 'never',
},
],
'operator-linebreak': ['error', 'after'],
'space-before-function-paren': ['error', 'never'],
'react/prop-types': 0,
},
};

View file

@ -1,7 +1,8 @@
/* REUTERS KNOWLEDGE */
@font-face {
font-family: 'Knowledge';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-RegularItalic.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-RegularItalic.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-RegularItalic.woff')
format('woff');
@ -12,7 +13,8 @@
@font-face {
font-family: 'Knowledge';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Black.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Black.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Black.woff')
format('woff');
@ -23,7 +25,8 @@
@font-face {
font-family: 'Knowledge';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Light.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Light.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Light.woff')
format('woff');
@ -34,7 +37,8 @@
@font-face {
font-family: 'Knowledge';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Regular.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Regular.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Regular.woff')
format('woff');
@ -45,7 +49,8 @@
@font-face {
font-family: 'Knowledge';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-UltraLight.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-UltraLight.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-UltraLight.woff')
format('woff');
@ -56,7 +61,8 @@
@font-face {
font-family: 'Knowledge';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Bold.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Bold.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Bold.woff')
format('woff');
@ -67,7 +73,8 @@
@font-face {
font-family: 'Knowledge';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Medium.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Medium.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/Knowledge2017-Medium.woff')
format('woff');
@ -79,7 +86,8 @@
/* SOURCE SANS PRO */
@font-face {
font-family: 'Source Sans Pro';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Light.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Light.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Light.woff')
format('woff');
@ -90,7 +98,8 @@
@font-face {
font-family: 'Source Sans Pro';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Italic.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Italic.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Italic.woff')
format('woff');
@ -101,7 +110,8 @@
@font-face {
font-family: 'Source Sans Pro';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Bold.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Bold.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Bold.woff')
format('woff');
@ -112,7 +122,8 @@
@font-face {
font-family: 'Source Sans Pro';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-SemiBold.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-SemiBold.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-SemiBold.woff')
format('woff');
@ -123,7 +134,8 @@
@font-face {
font-family: 'Source Sans Pro';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Regular.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Regular.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/SourceSansPro-Regular.woff')
format('woff');
@ -135,7 +147,8 @@
/* FREIGHT TEXT */
@font-face {
font-family: 'FreightText';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBold.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBold.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBold.woff')
format('woff');
@ -146,7 +159,8 @@
@font-face {
font-family: 'FreightText';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBook.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBook.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBook.woff')
format('woff');
@ -157,7 +171,8 @@
@font-face {
font-family: 'FreightText';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBookItalic.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBookItalic.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextBookItalic.woff')
format('woff');
@ -168,7 +183,8 @@
@font-face {
font-family: 'FreightText';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextLight.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextLight.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextLight.woff')
format('woff');
@ -179,7 +195,8 @@
@font-face {
font-family: 'FreightText';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextMedium.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextMedium.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/FreightTextMedium.woff')
format('woff');
@ -191,7 +208,8 @@
/* DROID SANS MONO */
@font-face {
font-family: 'Droid Sans Mono';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/DroidSansMono.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/DroidSansMono.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/DroidSansMono.woff')
format('woff');
@ -203,7 +221,8 @@
/* NOTO SANS JAPANESE */
@font-face {
font-family: 'Noto Sans JP';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Bold.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Bold.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Bold.woff')
format('woff');
@ -214,7 +233,8 @@
@font-face {
font-family: 'Noto Sans JP';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Light.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Light.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Light.woff')
format('woff');
@ -225,7 +245,8 @@
@font-face {
font-family: 'Noto Sans JP';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-ExtraLight.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-ExtraLight.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-ExtraLight.woff')
format('woff');
@ -236,7 +257,8 @@
@font-face {
font-family: 'Noto Sans JP';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Medium.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Medium.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Medium.woff')
format('woff');
@ -247,7 +269,8 @@
@font-face {
font-family: 'Noto Sans JP';
src: url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Regular.woff2')
src:
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Regular.woff2')
format('woff2'),
url('//graphics.thomsonreuters.com/style-assets/fonts/v1/NotoSansJP-Regular.woff')
format('woff');