Security News
The Risks of Misguided Research in Supply Chain Security
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
@lostmyname/chameleon-sass
Advanced tools
A styleless Sass framework for responsive user interfaces
Chameleon is a Sass layout framework for responsive web sites and applications.
At the heart of Chameleon is the ability to "turn on" classes at different screen sizes:
<div class="padded padded-small-on-mobile"></div>
Out of the box Chameleon adds 0Kb to your project. Generate only the classes that you need for your project.
@include classes('padded', $on: 'base');
@include classes('padded-right', $on: 'base mobile');
.padded {
padding: 20px;
}
.padded-right {
padding-right: 20px;
}
@media screen and (max-width: 479px) {
.padded-right-on-mobile {
padding-right: 20px;
}
}
Chameleon selectors be used anywhere in your stylesheet - even if they weren't generated into classes.
.myModule {
@extend %padded;
@extend %padded-small-on-mobile;
@extend %padded-on-tablet;
border: 3px dashed red;
}
You can also create selectors of your own using Chameleon's core mixins.
@include placeholders('myHelper') {
color: red;
}
@include classes('myHelper', $on: 'base mobile tablet-up');
Multi-element modifiers provide a powerful, concise and expressive way to compose modules.
<div class="row cols-spaced cols-to-rows-on-mobile">
<div class="col-1-3"></div>
<div class="col-1-3"></div>
<div class="col-1-3"></div>
</div>
FAQs
A styleless Sass framework for responsive user interfaces
We found that @lostmyname/chameleon-sass demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 10 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
Snyk's use of malicious npm packages for research raises ethical concerns, highlighting risks in public deployment, data exfiltration, and unauthorized testing.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
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.