Socket
Book a DemoInstallSign in
Socket

@momentum-design/utils

Package Overview
Dependencies
Maintainers
7
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@momentum-design/utils

0.7.1
latest
npmnpm
Version published
Maintainers
7
Created
Source

@momentum-design/utils

license: mit State NPM Version

Overview

This package distributes Javascript utilities, related to the use of the Momentum Design System.

Consumption

Import a utility with:

import {UTILITY_NAME} from '@momentum-design/utils'

Currently exported utilities:

  • calculateForegroundColor: Determines the appropriate foreground color based on a given background color. This function returns the Token which should be used to color the Foreground color based on the given background.

FAQs

Package last updated on 25 Aug 2025

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.