JSPM

  • Created
  • Published
  • Downloads 70
  • Score
    100M100P100Q117953F
  • License MIT

Package Exports

  • @zidsa/ui
  • @zidsa/ui/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@zidsa/ui) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@zidsa/ui

User Interface Library For Vue 2 Applications

Built With

πŸ“¦ Install

npm install @zidsa/ui

or

yarn add @zidsa/ui

πŸ”¨ Usage

Font installation:

@zidsa/ui uses Google’s Cairo font. Add to style file

@import url('https://fonts.googleapis.com/css2?family=Cairo:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap');

or your main index.html file.

<link
  href="https://fonts.googleapis.com/css2?family=Cairo:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400;1,500;1,700;1,900&display=swap"
  rel="stylesheet"
/>

If you want to use another font, follow the instructions above for the font you will use and add the following code to your style file

:root {
  --zid-font-default: 'Your Font Name';
}
Import styles manually:
@import '@zidsa/ui/styles/global.css';
Components:
<template>
  <ZidButton>Base Button</ZidButton>
</template>

<script>
import { ZidButton } from '@zidsa/ui';

export default {
  name: 'Component',
};
</script>