@minedelve/webkit-colors-system
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

WebKit Colors System

Minedelve Github Minedelve Discord

WebKit Colors System is a color library based on the Humans Color Apple documentation to provide generic color palettes in your JS projects.

webkit-banner

DDL_ALL  DDL_MONTHS  LICENSE  VERSION_X11COLOR  DISCORD_BADGE

Table of Contents

Installation

yarn add @minedelve/webkit-colors-system -D
npm install @minedelve/webkit-colors-system --save-dev

Use

import { getSystemColor } from "@minedelve/webkit-colors-system";

[...]

const color = getSystemColor('Red');
// return color red in Light Theme.

const color = getSystemColor('Red', true);
// return color red to Dark Theme.

const color = getSystemColor('Red', true, true);
// return color red to Dark Theme on Variant Color.

const color = getSystemColor('Red', undefined, undefined, true);
// return color red to Light Theme on Accesibility Mode.
import {systemColor} from "@minedelve/webkit-colors-system";

[...]

console.log(systemColor)
// return All Key for display Color

Colors

Default

webkit-banner

Gray

webkit-banner

Variant

webkit-banner

Core Team

Laurent Grimaldi

License

Licensed under the MIT license.

Copyright © 2021-2023 Minedelve

We support these projects

Human.txt

Package Sidebar

Install

npm i @minedelve/webkit-colors-system

Weekly Downloads

3

Version

1.0.5

License

MIT

Unpacked Size

27.3 kB

Total Files

11

Last publish

Collaborators

  • nycolaide