Temporary hack to get fonts working
This commit is contained in:
parent
d93e804a31
commit
7cea5e630c
|
@ -2,9 +2,6 @@ import tw from 'twin.macro';
|
||||||
import { createGlobalStyle } from 'styled-components/macro';
|
import { createGlobalStyle } from 'styled-components/macro';
|
||||||
|
|
||||||
export default createGlobalStyle`
|
export default createGlobalStyle`
|
||||||
@import url('//fonts.googleapis.com/css?family=Rubik:300,400,500&display=swap');
|
|
||||||
@import url('//fonts.googleapis.com/css?family=IBM+Plex+Mono|IBM+Plex+Sans:500&display=swap');
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
${tw`font-sans bg-neutral-800 text-neutral-200`};
|
${tw`font-sans bg-neutral-800 text-neutral-200`};
|
||||||
letter-spacing: 0.015em;
|
letter-spacing: 0.015em;
|
||||||
|
|
|
@ -30,6 +30,10 @@
|
||||||
</script>
|
</script>
|
||||||
@endif
|
@endif
|
||||||
@show
|
@show
|
||||||
|
<style>
|
||||||
|
@import url('//fonts.googleapis.com/css?family=Rubik:300,400,500&display=swap');
|
||||||
|
@import url('//fonts.googleapis.com/css?family=IBM+Plex+Mono|IBM+Plex+Sans:500&display=swap');
|
||||||
|
</style>
|
||||||
|
|
||||||
@section('assets')
|
@section('assets')
|
||||||
{{-- {!! $asset->css('main.css') !!}--}}
|
{{-- {!! $asset->css('main.css') !!}--}}
|
||||||
|
|
Loading…
Reference in New Issue