Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
BHP UI library. A customised Bootstrap deployment with two themes, along with some extra components.
BHP UI library. A customised Bootstrap deployment with two themes, along with some extra components.
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.
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.
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';
}
base
: loads the core base functions, variables and mixins;themes/light/light-color
: specifies the colour pattern for the theme;themes/light/light-variables
: specifies the styling variables for the theme;components
: contains the bulk component stylesFAQs
BHP UI library. A customised Bootstrap deployment with two themes, along with some extra components.
The npm package bhp-ui receives a total of 2 weekly downloads. As such, bhp-ui popularity was classified as not popular.
We found that bhp-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.