Security News
Supply Chain Attack Detected in Solana's web3.js Library
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
@afiniti/design-system-2021
Advanced tools
To test our package locally in any project please follow these steps.
run npm compile
npm link
this will create a symlink to our node_modulesnpm link "@afiniti/design-system"
this
will connect with symlink node_moduleNow you are able to test the package into any npm project available locally
For Example:
import {BackCta} from '@afiniti/afiniti-design-system/dist/Buttons'
<BackCta path="/" theme={theme} text="Global Leaders" />
The documentation for the exported SCSS variables and global classes are available here:
Note: to publish private package you are required to login with paid account / or set the appropriate access token.
npm install @afiniti/design-system
Setup scss structure with partials and globals using the styles located in
@afiniti/design-system/dist/styles
@import '~@afiniti/design-system/dist/styles/partials/colors.scss';
// your project specific variables here
$textColorSecondary: $secondaryColor;
$backgroundColorSecondary: $secondaryColor;
@import '~@afiniti/design-system/dist/styles/base/base';
@import '../partials/colors';
@import '../partials/variables';
@import '../partials/_mixins';
@import '../partials/extends';
@import './base';
@import '~@afiniti/design-system/dist/styles/base/default.scss';
@import 'styles/base/base';
@import 'styles/base/reset';
@import 'styles/base/default';
@import 'styles/base/global';
Add AppContext for header and navigation
FAQs
## Test Package Locally
The npm package @afiniti/design-system-2021 receives a total of 2 weekly downloads. As such, @afiniti/design-system-2021 popularity was classified as not popular.
We found that @afiniti/design-system-2021 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
A supply chain attack has been detected in versions 1.95.6 and 1.95.7 of the popular @solana/web3.js library.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.