UNPKG

marko-spectre

Version:

A taglib to facilitate using spectre.css with markojs

81 lines (58 loc) 1.81 kB
## Deprecated This project is no longer being maintained, but feel free to pick it up and drive it forward. # marko-spectre A taglib to facilitate using [spectre.css](https://www.npmjs.com/package/spectre.css) with [markojs](https://www.npmjs.com/package/marko) ## Getting Started These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system. ### Installing ``` npm i marko-spectre ``` ### Basic Usage When this module is installed in your project, it will export all the tags listed in `marko.json` for use in your project. ``` <Tab> <TabItem>Foo</TabItem> <TabItem>Bar</TabItem> </Tab> ``` ### Supported Tags This project is in its infancy. Please contribute by adding new tags. Define attributes in `marko.json` and new tags in `/src`. __Elements__ - [ ] Tables - [ ] Buttons - [ ] Forms - [ ] Icons - [ ] Labels - [ ] Code - [ ] Media __Components__ - [ ] Accordions - [ ] Avatars - [ ] Badges - [ ] Bars - [ ] Breadcrumbs - [ ] Cards - [ ] Chips - [ ] Empty states - [ ] Menu - [ ] Modals - [ ] Nav - [ ] Pagination - [ ] Panels - [ ] Popovers - [ ] Steps - [x] Tabs - [ ] Tiles - [ ] Toasts - [ ] Tooltips __Components__ - [x] Divider ## Contributing Please read [CONTRIBUTING.md](https://gist.github.com/PurpleBooth/b24679402957c63ec426) for details on our code of conduct, and the process for submitting pull requests to us. ## Versioning We use [SemVer](http://semver.org/) for versioning and [`np`](https://github.com/sindresorhus/np) for releases. ## Author(s) [**Makinde Adeagbo**](https://github.com/makinde) - *Initial work* ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details