@vue-themed/core

0.0.25 • Public • Published

@vue-themed/core

TODO: description

Version Version License

Usage

const core = require('@vue-themed/core');

// TODO: DEMONSTRATE API
  • provide vue.use interface
  • accept theme config and other options
  • expose the following api:
    • css
      • returns a style-aware emotion class object for use with Vue's class binding
    • get
      • returns the corresponding value from the current theme config
      • should not be used as a raw style value, but passed to the css method
    • setTheme
      • sets the current theme and updates styles accordingly
      • optional merge parameter that leverages theme

Readme

Keywords

none

Package Sidebar

Install

npm i @vue-themed/core

Weekly Downloads

13

Version

0.0.25

License

MIT

Unpacked Size

45.9 kB

Total Files

13

Last publish

Collaborators

  • philcurl