settings: fonts - Avenir, Montserrat

This commit is contained in:
Tomáš Mládek 2022-12-07 23:23:15 +01:00
parent 09af078300
commit 08ef016837

View file

@ -2,7 +2,7 @@
import SvgContent from "./components/SVGContent.svelte"; import SvgContent from "./components/SVGContent.svelte";
function setBackground(ev: CustomEvent<string>) { function setBackground(ev: CustomEvent<string>) {
console.debug(`Setting background color to "${ev.detail}"`) console.debug(`Setting background color to "${ev.detail}"`);
document.body.style.background = ev.detail; document.body.style.background = ev.detail;
} }
</script> </script>
@ -12,12 +12,18 @@
</main> </main>
<style lang="scss"> <style lang="scss">
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");
:global { :global {
html, html,
body { body {
overflow: hidden; overflow: hidden;
} }
* {
font-family: "Avenir", "Montserrat", sans-serif !important;
}
html, html,
body, body,
#app, #app,