0.1.0 • Published 5 years ago

@torq-design/colors v0.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Colors

Open Source Love npm version

This package defines a set of SCSS variables for the Torq Design color pallete.

Setup

Installation

Install the colors component in your project using npm.

npm i @torq-design/colors

Import SCSS

Import the SCSS file into your base styling file.

@import "@torq-design/colors/torq-colors";

Make sure your project's SASS compiler is configured to look in the node_modules directory.

Light UI

VariableUsesValue
$torq-primary-colorCalls to action, items of importance#508BE4
$torq-background-topStart to dark background gradient#F7F9FB
$torq-background-bottomEnd to dark background gradient#D6DFEC
$torq-backgroundDark page backgroundlinear-gradient(176.98deg, #F7F9FB 0%, #D6DFEC 100%)
$torq-title-bar-backgroundTitle bar background#FFFFFF
$torq-top-bar-backgroundTop bar background#F7F7FB
$torq-card-backgroundCard background#FFFFFF
$torq-outlineOutlines, table borders#C7D4DD
$torq-text-colorGeneral purpose text#2C404C
$torq-header-text-colorHeader text#202028
$torq-subtext-colorSub-text#596578
$torq-chart-text-colorChart text#596578

Dark UI

VariableUsesValue
$torq-primary-colorCalls to action, items of importance#508BE4
$torq-dark-background-topStart to dark background gradient#1A2633
$torq-dark-background-bottomEnd to dark background gradient#101820
$torq-dark-backgroundDark page backgroundlinear-gradient(185.86deg, #1A2633 0%, #101820 100%)
$torq-dark-title-bar-backgroundTitle bar background#151E26
$torq-dark-top-bar-backgroundTop bar background#1D2E40
$torq-dark-card-backgroundCard background#1D2E40
$torq-dark-outlineOutlines, table borders#66757F
$torq-dark-text-colorGeneral purpose text#FFFFFF
$torq-dark-header-text-colorHeader text#FFFFFF
$torq-dark-subtext-colorSub-text#A8B5BF
$torq-dark-chart-text-colorChart text#A8B5BF

Supporting Colors

Supporting colors are the same for both dark and light UI.

Status

VariableValue
$torq-status-red#F34336
$torq-status-orange#FF8B3A
$torq-status-yellow#FEC600
$torq-status-green#7FAE1B
$torq-status-blue#508BE4

Data Visualization

VariableValue
$torq-data-pink#F97DD8
$torq-data-purple#9150E4
$torq-data-cyan#50CCE4
$torq-data-green#61D883
$torq-data-yellow#E4CB50
$torq-data-orange#E4A350
0.1.0

5 years ago

0.0.1

5 years ago