Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nordhealth/color

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nordhealth/color

This package includes Nord Design System color utilities

  • 2.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
41
decreased by-22.64%
Maintainers
0
Weekly downloads
 
Created
Source

Nord Color Utilities

This package includes Nord Design System color utilities, including:

  • getColorPalette which generates color palettes programmatically for use with Nord Themes.
  • getContrastRatio which calculates the contrast ratio between two colors.
  • getTextColor which calculates the correct text color for a chosen background.
  • hexToRgb which converts a HEX color to a RGB color.
  • rgbToHex which converts a RGB color to a HEX color.

Commands

The following are the most commonly used commands during development:

  • pnpm start - Compile color library and start local development server on port 8000.
  • pnpm build - Builds the project.

License

See license in LICENSE.md

Copyright © 2024 Nordhealth Ltd

FAQs

Package last updated on 24 Sep 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc