Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
org.webjars.bowergithub.brightspaceui:colors
Advanced tools
This component contains Polymer web component and Sass variables, either of which can be used to consume the D2L color palette in your application.
For further information on this and other Brightspace UI components, see the docs at ui.developers.brightspace.com.
d2l-colors
can be installed from Bower:
bower install d2l-colors
Include the webcomponents.js "lite" polyfill (for browsers who don't natively support web components), then import d2l-colors.html
.
<head>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../d2l-colors/d2l-colors.html">
</head>
You can then reference the color variables from inside custom-style blocks:
<head>
<custom-style>
div {
background-color: var(--d2l-color-carnelian);
}
</custom-style>
</head>
'''Note:''' if you're writing a web component, the custom-style
block can be omitted.
The full list of available color variable names can be found in d2l-colors.html.
Alternatively, you can reference the same variables from Sass:
@import 'bower_components/d2l-colors/d2l-colors.scss';
div {
background-color: $d2l-color-carnelian;
}
The full list of available color variable names can be found in d2l-colors.scss.
See the Best Practices & Style Guide for information on naming conventions, plus information about the EditorConfig rules used in this repo.
FAQs
WebJar for d2l-colors
We found that org.webjars.bowergithub.brightspaceui:colors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.