2.0.13 • Published 1 month ago
@nordhealth/color v2.0.13
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:
npm start
- Compile color library and start local development server on port 8000.npm run build
- Builds the project.
License
See license in LICENSE.md
Copyright
Copyright © 2023 Nordhealth Ltd.
2.0.13
1 month ago
2.0.3
10 months ago
2.0.5
9 months ago
2.0.4
9 months ago
2.0.11
6 months ago
2.0.7
8 months ago
2.0.12
5 months ago
2.0.6
8 months ago
2.0.9
7 months ago
2.0.10
7 months ago
2.0.8
8 months ago
2.0.7-alpha.1
8 months ago
2.0.7-alpha.0
8 months ago
2.0.7-alpha.2
8 months ago
2.0.2
11 months ago
2.0.1
12 months ago
2.0.0
12 months ago
1.0.14
1 year ago
1.0.12-alpha.3
1 year ago
1.0.12-1.0.12-alpha.1.0
1 year ago
1.0.12-alpha.4
1 year ago
1.0.12-alpha.2
1 year ago
1.0.12-alpha.10
1 year ago
1.0.12-alpha.0
1 year ago
1.0.13
1 year ago
1.0.12
1 year ago
1.0.9
1 year ago
1.0.11
1 year ago
1.0.10
1 year ago
1.0.8
1 year ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago