@setitheme/core

Official icon pack for the Seti theme

Usage no npm install needed!

<script type="module">
  import setithemeCore from 'https://cdn.skypack.dev/@setitheme/core';
</script>

README

Seti Core

Codacy Badge License Contributor Covenant npm (scoped) GitHub issues Dependent repos (via libraries.io), scoped npm package Libraries.io dependency status for latest release, scoped npm package

Shared functionality across Seti modules. Only intended for internal use, but open to anyone who wants to utilize seti colors.


Installation

Yarn

yarn add @setitheme/core

NPM

npm install @setitheme/core

Usage

This package simply exposes a json confile file with all color variations used in Seti.

Each color includes hex color values in shades of 50 at lightest to 900 at darkest (with 500 being default)) aa well as rgb & hsl for base colors.

You can get the values from the config object as followed:

import config from @setitheme/core;

console.log(config.version) // outputs: current version, i.e. 1.0.0
console.log(config.colors.blue.hsl) // outputs: [ 160, 4, 84 ]
console.log(config.colors.pink.hex.500) // outputs: #a074c4