Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
brand-colors
Advanced tools
brand-colors is a collection of colors works available in sass, less, stylus and css
npm install brand-colors
bower install brand-colors
@import 'bower_components/brand-colors/dist/latest/scss/brand-colors.latest.scss'
.a-div {
color: $bc-spotify;
}
@import 'bower_components/brand-colors/dist/latest/less/brand-colors.latest.less'
.a-div {
color: @bc-spotify;
}
node_modules
, for example: app
|_node_modules
|_src
|_css
|_app.less
in app.less:
@import '../../node_modules/brand-colors/dist/latest/less/brand-colors.latest.less';
@import '~brand-colors/dist/latest/less/brand-colors.latest.less';
@import 'bower_components/brand-colors/dist/latest/scss/brand-colors.latest.sass'
.a-div
color: $bc-spotify
@import 'bower_components/brand-colors/dist/latest/stylus/brand-colors.latest.styl'
.a-div {
color: $bc-spotify;
}
<link rel="stylesheet" href="bower_components/brand-colors/dist/latest/css/brand-colors.latest.min.css">`
<span class="bc-spotify">This text is spotify-green</span>
<div class="bc-spotify-bg">This div has a spotify-green background</div>
Use postcss-brand-color plugin. Add it to PostCSS:
postcss([ require('postcss-brand-colors') ])
and use *-color
names:
.a-div {
color: spotify-color;
}
If you want to work on the static homepage, just run the following commands and you will get a live-reloading server listening for changes in /app and brandColors.js
npm install
gulp dev
Full list of colors A lot fo the colors comes from brandcolors.net, so a huge shout out to @galengidman.
reimertz.co · GitHub @reimertz · Twitter @reimertz
FAQs
A collection of branding colors of all the major companies.
We found that brand-colors demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.