diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-10-04 07:20:39 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-10-04 07:20:39 +0800 |
commit | 4b8348da8cc50ef0da6e6b2bb7d276f1246437cf (patch) | |
tree | 2d09a607c1d0fe875b233c7bad72743f159fa338 /packages/instant/src/style/fonts.ts | |
parent | 48e7aa6e77a71f694f75ab8b2fc86f337700113d (diff) | |
download | dexon-sol-tools-4b8348da8cc50ef0da6e6b2bb7d276f1246437cf.tar dexon-sol-tools-4b8348da8cc50ef0da6e6b2bb7d276f1246437cf.tar.gz dexon-sol-tools-4b8348da8cc50ef0da6e6b2bb7d276f1246437cf.tar.bz2 dexon-sol-tools-4b8348da8cc50ef0da6e6b2bb7d276f1246437cf.tar.lz dexon-sol-tools-4b8348da8cc50ef0da6e6b2bb7d276f1246437cf.tar.xz dexon-sol-tools-4b8348da8cc50ef0da6e6b2bb7d276f1246437cf.tar.zst dexon-sol-tools-4b8348da8cc50ef0da6e6b2bb7d276f1246437cf.zip |
Add some ui components
Diffstat (limited to 'packages/instant/src/style/fonts.ts')
-rw-r--r-- | packages/instant/src/style/fonts.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/instant/src/style/fonts.ts b/packages/instant/src/style/fonts.ts new file mode 100644 index 000000000..975a30a61 --- /dev/null +++ b/packages/instant/src/style/fonts.ts @@ -0,0 +1,10 @@ +import { injectGlobal } from './theme'; + +export const fonts = { + include: () => { + // Inject the inter-ui font into the page + return injectGlobal` + @import url('https://rsms.me/inter/inter-ui.css'); + `; + }, +}; |