diff --git a/index.html b/index.html index 256e8fa..97b783c 100644 --- a/index.html +++ b/index.html @@ -4,10 +4,17 @@ - Vite App + vue-paint -
+
+

vue-paint

+ vue-paint is a simple and lightweight paint component for vue projects. It can be used to add annotations to images, videos, or just draw some simple shapes to a canvas-like area. + + Please check out the npm package readme for more details on how to get up and running. + +
+
diff --git a/src/App.vue b/src/App.vue index 0900b87..9435d17 100644 --- a/src/App.vue +++ b/src/App.vue @@ -33,7 +33,7 @@ function save({ svg, tools, history }: SaveParameters) { -

Barebones example

+

Barebones example

diff --git a/src/assets/main.css b/src/assets/main.css index ee1f0fe..127eb0c 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -1,6 +1,14 @@ @import './base.css'; @import '../../public/lib/themes/default.css'; +#app { + margin-top: 10em; +} + +a, a:hover, a:active, a:visited { + color: #c82d2d; +} + .layout { max-width: 1280px; margin: 0 auto; diff --git a/src/examples/InteractiveHistory.vue b/src/examples/InteractiveHistory.vue index 883b7a8..60c842e 100644 --- a/src/examples/InteractiveHistory.vue +++ b/src/examples/InteractiveHistory.vue @@ -46,17 +46,12 @@ function addRandomLine() {