1.2.9 • Published 5 years ago

kiste v1.2.9

Weekly downloads
19
License
MIT
Repository
github
Last release
5 years ago

💎️ Kiste

A Vue component and SCSS utility library

See it in action:

Installation

yarn add -D kiste

Kiste requires sass.

Usage

Nuxt.js

Add kiste/nuxt to your buildModules:

// nuxt.config.js

module.exports = {
  // ...
  
  kiste: {
    // options
  },
  
  buildModules: [
    "kiste/nuxt"
  ]
};

Other

Register the Vue plugin:

import Vue from "vue";
import Kiste from "kiste";

Vue.use(Kiste, {
  // options
});

Options

Theme

Colors

All colors can be strings or objects, whereas strings are converted to an object.

String format:

white/black/#0e0e0e
BASE/CONTRAST/ALTERNATIVE

Object format:

import { DEFAULT_KEY } from "kiste/js/theming";

const background = {
  [DEFAULT_KEY]: "white",
  // contrast
  c: "black",
  // alternative
  a: "0e0e0e"
}

Documentation

You can see all components and classes in this storybook.

1.2.9

5 years ago

1.2.8

5 years ago

1.2.7

5 years ago

1.2.6

5 years ago

1.2.5

5 years ago

1.2.4

6 years ago

1.2.3

6 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.2.0

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago