imenu

1.2.1 • Public • Published

IMenu

Install

yarn add imenu

Usage

No sass settings

import "imenu/dist/css.css"

Using your settings for the menu

import "./custom-imenu.scss"
// ./custom-imenu.scss
// Imenu custom settings
$imenu_width: 100px;
$imenu_nested_width: 200px;
$imenu_background_color: red;
$imenu_hover_background_color: black;
$imenu_current_background_color: black;
$imenu_border_color: red;
$imenu_color: white;
$imenu_border_radius: 0;

// Imenu styles
@import "imenu/src/sass.scss";

Development

Run both webpack processes:

  1. ./bash/build.sh — compiling src to dist;
  2. ./bash/test.sh — build in test/public.

License

MIT License.

Readme

Keywords

Package Sidebar

Install

npm i imenu

Weekly Downloads

12

Version

1.2.1

License

MIT

Unpacked Size

9.04 kB

Total Files

11

Last publish

Collaborators

  • zlatov