Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@bhp/ui

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bhp/ui

BHP UI library. A customised Bootstrap deployment with two themes, along with some extra components.

  • 6.0.1
  • npm
  • Socket score

Version published
Maintainers
3
Created
Source

BHP UI

BHP UI library. A customised Bootstrap deployment with two themes, along with some extra components.

Getting started: NPM

If you are using npm or yarn in your project, run

yarn add bhp-ui

to install this library. The required peer dependencies for the package (currently bootstrap and material-design-icons) will be listed, so install those too.

You can now reference the compiled CSS files in the css directory, or access the SCSS directly via the scss directory.

Getting started: no NPM

Download the css/index-dark.css or css/index-light.css files and add them to your static site. You need to add class="light-theme" or class="dark-theme" to the root html element of your project.

Structure

In order to support multiple themes is important that files are loaded as described below:

@import 'base';
@import 'themes/light/light-colors';
@import 'themes/light/light-variables';

.light-theme {
  @import 'components';
}
  1. base: loads the core base functions, variables and mixins;
  2. themes/light/light-color: specifies the colour pattern for the theme;
  3. themes/light/light-variables: specifies the styling variables for the theme;
  4. components: contains the bulk component styles

FAQs

Package last updated on 25 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc