Socket
Socket
Sign inDemoInstall

aurora-gradient

Package Overview
Dependencies
0
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    aurora-gradient

A forked version of thelevicole/stripe-gradient adapted for TypeScript


Version published
Weekly downloads
2
decreased by-66.67%
Maintainers
1
Install size
91.2 kB
Created
Weekly downloads
 

Readme

Source

Stripe Gradient

A reverse engineered, and simplified javascript library to replicate the animated Stripe gradients.

Basic usage

HTML

<canvas id="my-canvas-id"></canvas>

JavasScript

new Gradient({
    canvas: '#my-canvas-id',
    colors: ['#a960ee', '#ff333d', '#90e0ff', '#ffcb57']
});

jQuery ready

$('#my-canvas-id').gradient({
    colors: ['#a960ee', '#ff333d', '#90e0ff', '#ffcb57']
});

Keywords

FAQs

Last updated on 25 Feb 2024

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc