Skip to content
/ vue-leon Public

Vue wrapper for leonsans - Leon Sans is a geometric sans-serif typeface made with code in 2019 by Jongmin Kim.

License

Notifications You must be signed in to change notification settings

mudin/vue-leon

Repository files navigation

vue-leon

Downloads Downloads Version License Gitter

Coverage Status

vue-leon is a JavaScript library for the Vue framework that wraps LeonSans making it easy to create reactive geometric sans-serif typeface.

How to install

npm install vue-leon --save

Importing the library in Webpack / Rollup

<template>
  <vue-leon ref="leon" :options="options" :controll="controll"></vue-leon>
</template>
import VueLeon from "vue-leon";

export default {
  components: {
    VueLeon
  },
  data() {
    return {
      options: {
        text: "Hello World",
        size: 100,
        weight: 200
      },
      controll: {
        points: false,
        box: false,
        grids: false,
        roundCap: false,
        multiply: false
      }
    };
  }
};

This will reduce the size of the bundle significantly

Documentation

Coming soon

Authors

Mudin Ibrahim

Contributors

Thanks goes to these wonderful people

License

This project is licensed under the MIT License - see the LICENSE file for details

About

Vue wrapper for leonsans - Leon Sans is a geometric sans-serif typeface made with code in 2019 by Jongmin Kim.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published