![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@logrock/pebbles
Advanced tools
Changelog
Readme
Welcome to our Component Library! This is an implementation of our Asphalt Design System.
Here are some useful links:
About us: https://logrock.com
This library is meant to be used in React projects. To use it, you will have to setup your prefered React environment and add a few other dependencies first:
# styled components
yarn add styled-components
yarn add styled-breakpoints
# fonts
yarn add @fontsource/archivo
Make the Archivo font available in your project by importing it
import "@fontsource/archivo/400.css";
import "@fontsource/archivo/500.css";
import "@fontsource/archivo/600.css";
import "@fontsource/archivo/700.css";
import "@fontsource/archivo/800.css";
You can, alternatively, make it available as a Variable font if you want. The only requirement is having all weights from 400 to 800 available for the default theme to work best.
If you customize the theme by changing any of the fontFamily properties, make sure that the font you want to use is also made available, by exposing it in any ways you like (fontsource is the best!)
Install this lib:
yarn add @logrock/pebbles
Now, wrap your app (or whatever components you plan on using this library at) with a styled-components' ThemeProvider
, passing along a theme.
import { ThemeProvider } from "styled-components";
import { lightTheme } from "@logrock/pebbles";
const MyApp = () => {
return (
<ThemeProvider theme={lightTheme}>
<MyAppContent />
</ThemeProvider>
);
};
For your convenience, we currently provide a light and a dark theme that you can use and override as you see fit. Check out all it's options at theme.ts
We also expose a Theme
type if you use Typescript, autocomplete at will!
import { Theme } from "@logrock/pebbles";
And you are all set! From now on, just import and use any components you want. You can also access the theme variables using styled-components' own ThemeContext anywhere (and also as a theme prop in your custom styled components)
Thank you for your interest, check out CONTRIBUTING.md for more info.
FAQs
[![Coverage Status](https://coveralls.io/repos/github/LogRock/pebbles/badge.svg?branch=main)](https://coveralls.io/github/LogRock/pebbles?branch=main)
The npm package @logrock/pebbles receives a total of 10 weekly downloads. As such, @logrock/pebbles popularity was classified as not popular.
We found that @logrock/pebbles demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.