
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
gatsby-plugin-css-modules-emoji
Advanced tools
The Gatsby Plugin that replace CSS Modules Class selectors by Emojis
Replace CSS Modules Class selectors by Emojis.
⚠️ Applies only while using CSS Modules.
The plugin will create a unique emoji combination for each CSS selector. Compatible with Official Gatsby Sass/Scss and Less plugins.
npm install --save gatsby-plugin-css-modules-emoji
Add plugin to the end of your gatsby-config.js
file. If you're using Sass/Scss or Less plugin be sure that this plugin comes after them.
module.exports = {
plugins: [
`gatsby-plugin-css-modules-emoji`
],
}
If you want to configure the plugin, take a look at available options below:
⚠️ Any changes require the server be restarted.
// In your gatsby-config.js
module.exports = {
plugins: [
{
resolve: `gatsby-plugin-css-modules-emoji`,
options: {
enableOnDevelopment: true,
selectorLength: 7, // min selector length is 3 emojis
},
},
],
}
enableOnDevelopment
- allows you to disable Emoji selectors while in develop mode. The default value is true.
selectorLength
- define selector length. The default and minimum required length is 3 emojis.
Some of emojis filtered due to Chrome support. Were excluded:
FAQs
The Gatsby Plugin that replace CSS Modules Class selectors by Emojis
The npm package gatsby-plugin-css-modules-emoji receives a total of 2 weekly downloads. As such, gatsby-plugin-css-modules-emoji popularity was classified as not popular.
We found that gatsby-plugin-css-modules-emoji 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
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.