diff --git a/packages/taler-wallet-webextension/dev-html/static/font/import.css b/packages/taler-wallet-webextension/dev-html/static/font/import.css new file mode 100644 index 000000000..05edddb51 --- /dev/null +++ b/packages/taler-wallet-webextension/dev-html/static/font/import.css @@ -0,0 +1,35 @@ +@font-face { + font-family: 'Roboto'; + font-style: italic; + font-weight: 400; + font-display: swap; + src: url(/static/font/roboto-italic-400.ttf) format('truetype'); +} +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 300; + font-display: swap; + src: url(/static/font/roboto-normal-300.ttf) format('truetype'); +} +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + font-display: swap; + src: url(/static/font/roboto-normal-400.ttf) format('truetype'); +} +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 500; + font-display: swap; + src: url(/static/font/roboto-normal-500.ttf) format('truetype'); +} +@font-face { + font-family: 'Roboto'; + font-style: normal; + font-weight: 700; + font-display: swap; + src: url(/static/font/roboto-normal-700.ttf) format('truetype'); +} diff --git a/packages/taler-wallet-webextension/dev-html/static/font/roboto-italic-400.ttf b/packages/taler-wallet-webextension/dev-html/static/font/roboto-italic-400.ttf new file mode 100644 index 000000000..1e746d17f Binary files /dev/null and b/packages/taler-wallet-webextension/dev-html/static/font/roboto-italic-400.ttf differ diff --git a/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-300.tff b/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-300.tff new file mode 100644 index 000000000..ec821b577 Binary files /dev/null and b/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-300.tff differ diff --git a/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-400.ttf b/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-400.ttf new file mode 100644 index 000000000..9d4b32b47 Binary files /dev/null and b/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-400.ttf differ diff --git a/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-500.ttf b/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-500.ttf new file mode 100644 index 000000000..4b4e1c656 Binary files /dev/null and b/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-500.ttf differ diff --git a/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-700.ttf b/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-700.ttf new file mode 100644 index 000000000..58d877c58 Binary files /dev/null and b/packages/taler-wallet-webextension/dev-html/static/font/roboto-normal-700.ttf differ diff --git a/packages/taler-wallet-webextension/dev-html/stories.html b/packages/taler-wallet-webextension/dev-html/stories.html index 1a726e183..b07c4bd1c 100644 --- a/packages/taler-wallet-webextension/dev-html/stories.html +++ b/packages/taler-wallet-webextension/dev-html/stories.html @@ -3,6 +3,7 @@ Stories + diff --git a/packages/taler-wallet-webextension/serve-esbuild.mjs b/packages/taler-wallet-webextension/serve-esbuild.mjs index 51e0fd523..68dff2c2d 100755 --- a/packages/taler-wallet-webextension/serve-esbuild.mjs +++ b/packages/taler-wallet-webextension/serve-esbuild.mjs @@ -1,4 +1,5 @@ #!/usr/bin/env node +/* eslint-disable no-undef */ import linaria from '@linaria/esbuild' import esbuild from 'esbuild' diff --git a/packages/taler-wallet-webextension/src/components/Banner.stories.tsx b/packages/taler-wallet-webextension/src/components/Banner.stories.tsx index 4d328a723..f91d94d0f 100644 --- a/packages/taler-wallet-webextension/src/components/Banner.stories.tsx +++ b/packages/taler-wallet-webextension/src/components/Banner.stories.tsx @@ -106,9 +106,13 @@ export const PendingOperation = (): VNode => ( ), description: ( - - EUR 37.95 - 5 feb 2022 - + + + EUR 37.95 + +   + - 5 feb 2022 + ), }, ]} diff --git a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx index 2d8a776cd..f37a212f7 100644 --- a/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx +++ b/packages/taler-wallet-webextension/src/components/PendingTransactions.tsx @@ -70,16 +70,16 @@ export function PendingTransactionsView({ ), action: () => goToTransaction(t.transactionId), description: ( - - + + {amount.currency} {Amounts.stringifyValue(amount)} - {" "} - -{" "} + +  -