diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-06-24 00:27:28 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-06-24 00:28:10 +1000 |
| commit | 3cf2449d24354f19fef6566ae9681f36e7222bc7 (patch) | |
| tree | d9fe89c09e7f51b13647fe11fb44e3f161786da8 | |
| parent | 2815620867a8122f9512195f7d7efe2a406a222e (diff) | |
Customise font
| -rw-r--r-- | public/fonts/Ubuntu-Regular.woff2 | bin | 0 -> 114860 bytes | |||
| -rw-r--r-- | src/index.css | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/public/fonts/Ubuntu-Regular.woff2 b/public/fonts/Ubuntu-Regular.woff2 Binary files differnew file mode 100644 index 0000000..667cebb --- /dev/null +++ b/public/fonts/Ubuntu-Regular.woff2 diff --git a/src/index.css b/src/index.css index b5c61c9..a072000 100644 --- a/src/index.css +++ b/src/index.css @@ -1,3 +1,11 @@ @tailwind base; @tailwind components; @tailwind utilities; + +@font-face { + font-family: Ubuntu; + src: url('fonts/Ubuntu-Regular.woff2'); +} +body { + font-family: Ubuntu, system-ui, sans-serif; +} |
