diff --git a/src/App.vue b/src/App.vue index f78cc5f..e2612aa 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,6 +6,8 @@ import Button from "./components/Button.vue"; import Page from "./components/Page.vue"; import Input from "./components/Input.vue"; import Canvas from "./components/Canvas.vue"; +import Switch from './components/Switch.vue'; +import Container from './components/Container.vue'; import { ButtonSize, InputType } from "./types"; import { useStore } from "./store"; import { storeToRefs } from "pinia"; @@ -40,7 +42,7 @@ const savePng = async () => { diff --git a/src/components/Container.vue b/src/components/Container.vue new file mode 100644 index 0000000..05ac561 --- /dev/null +++ b/src/components/Container.vue @@ -0,0 +1,16 @@ + + + diff --git a/src/components/Switch.vue b/src/components/Switch.vue new file mode 100644 index 0000000..ef0a92c --- /dev/null +++ b/src/components/Switch.vue @@ -0,0 +1,77 @@ + + + + + diff --git a/src/style.css b/src/style.css index fd095ce..ba35280 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,10 @@ +#app, +body, +html { + height: 100vh; + width: 100vw; +} + @font-face { font-family: "MPLUS1p"; font-style: normal;