Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@quadient/design-tokens

Package Overview
Dependencies
Maintainers
4
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@quadient/design-tokens - npm Package Compare versions

Comparing version 0.0.21 to 0.1.0

3

build/js/variables.js
/**
* Do not edit directly
* Generated on Wed, 01 Dec 2021 09:13:00 GMT
* Generated on Wed, 08 Dec 2021 06:46:19 GMT
*/

@@ -161,3 +161,2 @@

export const ColorBaseGrey1000 = "#212121";
export const ColorBaseBlack = "#000000";
export const ColorBaseEmeraldGreen100 = "#edf6ef";

@@ -164,0 +163,0 @@ export const ColorBaseEmeraldGreen200 = "#c7e3cf";

/**
* Do not edit directly
* Generated on Wed, 01 Dec 2021 09:13:06 GMT
* Generated on Wed, 08 Dec 2021 06:46:25 GMT
*/

@@ -161,3 +161,2 @@

export const ColorBaseGrey1000 = "#212121";
export const ColorBaseBlack = "#000000";
export const ColorBaseEmeraldGreen100 = "#edf6ef";

@@ -164,0 +163,0 @@ export const ColorBaseEmeraldGreen200 = "#c7e3cf";

@@ -157,3 +157,2 @@ {

"ColorBaseGrey1000": "#212121",
"ColorBaseBlack": "#000000",
"ColorBaseEmeraldGreen100": "#edf6ef",

@@ -160,0 +159,0 @@ "ColorBaseEmeraldGreen200": "#c7e3cf",

@@ -157,3 +157,2 @@ {

"ColorBaseGrey1000": "#212121",
"ColorBaseBlack": "#000000",
"ColorBaseEmeraldGreen100": "#edf6ef",

@@ -160,0 +159,0 @@ "ColorBaseEmeraldGreen200": "#c7e3cf",

@@ -0,3 +1,7 @@

# 0.1.0
## Changed
- Legacy tokens and their definitions were moved into private package and are no longer available in this package
- Removed token `ColorBaseBlack`, it is no longer needed according to latest UX specs
# 0.0.21
## Added

@@ -4,0 +8,0 @@ - values for legacy tokens:

@@ -6,4 +6,3 @@ const StyleDictionary = require("style-dictionary");

const isDarkThemeConfiguration = process.argv[3] && process.argv[3] === './configDarkTheme.js';
const isLegacyThemeConfiguration = process.argv[3] && process.argv[3] === './configLegacyTheme.js';
const isDarkThemeConfiguration = process.argv[3] && process.argv[3] === './configDarkTheme.js';

@@ -71,15 +70,3 @@ StyleDictionary.registerAction({

if(isLegacyThemeConfiguration) {
source.push(
"src/legacyTheme/color.json",
"src/legacyTheme/font.json",
"src/legacyTheme/radius.json",
"src/legacyTheme/shadow.json"
)
}
function getFileName() {
if(isLegacyThemeConfiguration) {
return 'variablesLegacyTheme'
}
if(isDarkThemeConfiguration) {

@@ -86,0 +73,0 @@ return 'variablesDarkTheme'

{
"name": "@quadient/design-tokens",
"version": "0.0.21",
"version": "0.1.0",
"description": "Quadient design tokens generator tool. As an output, various types of formats are generated based on configuration in json input files.",
"main": "config.js",
"scripts": {
"build": "call npm run buildDefaultTheme && npm run buildDarkTheme && npm run buildLegacyTheme",
"build": "call npm run buildDefaultTheme && npm run buildDarkTheme",
"buildDefaultTheme": "call ./node_modules/.bin/style-dictionary build ./config.js",
"buildDarkTheme": "call ./node_modules/.bin/style-dictionary build ./configDarkTheme.js",
"buildLegacyTheme": "call ./node_modules/.bin/style-dictionary build ./configLegacyTheme.js"
"buildDarkTheme": "call ./node_modules/.bin/style-dictionary build ./configDarkTheme.js"
},

@@ -12,0 +11,0 @@ "repository": {

@@ -6,3 +6,2 @@ {

"grey1000": { "value": "#212121" },
"black": { "value": "#000000" },
"emerald-green": {

@@ -9,0 +8,0 @@ "100": { "value": "#EDF6EF" },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc