
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@aybolit/material
Advanced tools
Aybolit Material is a set of the web components inspired by [Material Design](https://material.io).
Aybolit Material is a set of the web components inspired by Material Design.
Aybolit Material is based on Matter, a library for creating Material Design Components in pure CSS. The reason to build on top of Matter is its custom CSS properties based architecture, which works with Web Components really nice.
The styles from Matter are preserved as much as possible, but the components variants and features, e.g. button types, should be configured via HTML attributes instead of CSS classes, in order to not affect the end user CSS.
Aybolit Material is available as npm package:
# with npm
npm i @aybolit/material --save
# with yarn
yarn add @aybolit/material
Import either all or individual components:
// all components
import '@aybolit/material';
// button only
import { AbmButton } from '@aybolit/material';
You can also use get Aybolit Material from the CDN:
<script src="https://unpkg.com/@aybolit/material@latest?module" type="module"></script>
<!-- Buttons -->
<abm-button>Text</abm-button>
<abm-button theme="outlined">Outlined</abm-button>
<abm-button theme="contained">Contained</abm-button>
<!-- Checkbox -->
<abm-checkbox>Unchecked</abm-checkbox>
<abm-checkbox checked>Checked</abm-checkbox>
<abm-checkbox indeterminate>Indeterminate</abm-checkbox>
<!-- Progress (indeterminate) -->
<abm-progress></abm-progress>
<!-- Progress (determinate) -->
<abm-progress value="50" max="100"></abm-progress>
<!-- Range -->
<abm-range min="0" max="10" value="5"></abm-range>
<!-- Switch -->
<abm-switch>Unchecked</abm-switch>
<abm-switch checked>Checked</abm-switch>
The following custom CSS properties are available for styling.
Property | Description | Fallback |
---|---|---|
--abm-primary-rgb | Primary color rgb value | 33, 150, 243 |
--abu-onprimary-rgb | On primary color rgb value | 255, 255, 255 |
--abu-surface-rgb | Surface color rgb value | 255, 255, 255 |
--abu-onsurface-rgb | On surface color rgb value | 0, 0, 0 |
FAQs
Aybolit Material is a set of the web components inspired by [Material Design](https://material.io).
We found that @aybolit/material 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.