
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
evernote-sass
Advanced tools
After reading the book SMACSS and finding it very helpful the Front End team at Evernote has used some of the ideas in our SASS build. We've found breaking the SASS files out into directories (Base, Layout, Modules, and Views) helps organize our files in a project and compile CSS into a clean, logical file. Each page has a SASS (.scss) file created that acts as a project file that imports the individual modular components from Base, Layout, Modules, and Views that are needed to build the particular page.
This build methodology is currently being used on Evernote.com.
npm install evernote-sass -g
Run evernotesass
in a directory where you'd like to use the Evernote Sass build.
To create new individual Sass files run evernotesass-page name=filename path=Path-To-Sass-directory
. If the name isn't set the file will be named 'page' and if the path isn't set it assumes the directory is 'sass'.
To create new Sass module run evernotesass-module name=filename path=Path-To-Sass-Modules-directory
. If the name isn't set the file will be named 'module' and if the path isn't set it assumes the directory is 'sass/modules'.
Base
The base directory contains styles that help start a project. The base directory could contain the following type of SASS files:
Layout
The layout directory contains styles that are large containers of a page. This directory could include SASS files like:
Modules
The modules directory will probably contain the bulk of your SASS files. A page may consist of multiple modules and should be styled individually. These modules may include files like:
Views
The views directory contains any specific styles that a page may need to change from the generic layout or modules. For example the header in your website maybe green throughout a website or application but on a specific page you want it to change to a blue background that's where the views files would come in.
With Evernote's Sass structure we run into having a lot of Sass files in our build. Sometimes they are no longer used so we've started using a Grunt task called Sassyclean that helps automate removing old unused Sass modules.
:hover
pseudo class is styled, :focus
should also be styled for accessibility.git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Evernote Sass build structure
The npm package evernote-sass receives a total of 4 weekly downloads. As such, evernote-sass popularity was classified as not popular.
We found that evernote-sass 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.