Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@afp/toolkit-styles
Advanced tools
This module is designed to contain SCSS styles used commonly by toolkit-ui and toolkit tools.
This module is designed to contain SCSS styles used commonly by toolkit-ui and toolkit tools.
Installation via npm
npm install @afp/toolkit-styles
Then in your entry js :
import '@afp/toolkit-styles'
or in Sass :
@import url('~@afp/toolkit-styles');
If you need the variables in Sass :
@import "~@afp/toolkit-styles/src/scss/variables.scss";
Just npm install
then npm run dev
and the page will open in your browser.
Feel free to modify this file to add new markup, and to modify styles in the scss folder.
Node watch these files and automatically rebuild the CSS styles in dist/ folder.
The build process also allow fonts and images (like icons).
npm run build
, then you can publish your module with npm publish
.
The colors should be set in colors.scss
Every other variables that must be accessible in toolkit ui or toolkit tools should be set in variables.scss. But don't apply styles in that file.
Styles should be applied in every component file (inputs.scss, buttons.scss) and the main file (main.scss).
Don't modify index.scss. It just includes the necessary lines to init the project.
FAQs
This module is designed to contain SCSS styles used commonly by toolkit-ui and toolkit tools.
The npm package @afp/toolkit-styles receives a total of 16 weekly downloads. As such, @afp/toolkit-styles popularity was classified as not popular.
We found that @afp/toolkit-styles 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.