mudin / vue-leon

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

Home Page:https://leon-kim.com/examples/#all

Repository from Github https://github.commudin/vue-leonRepository from Github https://github.commudin/vue-leon

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.

https://leon-kim.com/examples/#all

License:MIT License


Languages

Language:JavaScript 52.3%Language:Vue 47.7%