1.0.5 • Published 10 months ago

@minedelve/webkit-colors-system v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

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

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

Gray

Variant

Core Team

Laurent Grimaldi

License

Licensed under the MIT license.

Copyright © 2021-2023 Minedelve

We support these projects

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago

0.0.1

10 months ago