@pluralsight/design-tokens
Advanced tools
Comparing version 0.6.1 to 0.7.1-next-0e5a05
/** | ||
* Do not edit directly | ||
* Generated on Thu, 17 Aug 2023 16:31:09 GMT | ||
* Generated on Thu, 28 Sep 2023 15:29:37 GMT | ||
*/ | ||
@@ -5,0 +5,0 @@ |
/** | ||
* Do not edit directly | ||
* Generated on Thu, 17 Aug 2023 16:31:09 GMT | ||
* Generated on Thu, 28 Sep 2023 15:29:37 GMT | ||
*/ | ||
@@ -5,0 +5,0 @@ |
/** | ||
* Do not edit directly | ||
* Generated on Thu, 17 Aug 2023 16:31:09 GMT | ||
* Generated on Thu, 28 Sep 2023 15:29:37 GMT | ||
*/ | ||
@@ -5,0 +5,0 @@ |
@@ -38,3 +38,3 @@ { | ||
"jsName": "psActionBackgroundWeak", | ||
"value": "#24186A" | ||
"value": "#2A2753" | ||
}, | ||
@@ -46,3 +46,3 @@ "psActionBackgroundWeakHover": { | ||
"jsName": "psActionBackgroundWeakHover", | ||
"value": "#30208D" | ||
"value": "#343063" | ||
}, | ||
@@ -49,0 +49,0 @@ "psActionBackgroundWeakActive": { |
{ | ||
"name": "@pluralsight/design-tokens", | ||
"version": "0.6.1", | ||
"version": "0.7.1-next-0e5a05", | ||
"description": "Design tokens for Pluralsight.", | ||
@@ -47,23 +47,6 @@ "type": "module", | ||
], | ||
"scripts": { | ||
"build": "yarn node ./build.cjs && yarn compile:normalize", | ||
"compile:normalize": "sass ./normalize.scss ./npm/normalize/normalize.css", | ||
"fix:css": "stylelint --fix \"./**/*.@(css|scss)\"", | ||
"lint:css": "stylelint \"./**/*.@(css|scss)\" --max-warnings 0", | ||
"lint:js": "eslint --max-warnings 0 \"./**/*.@(cjs|mjs)\"", | ||
"lint:ts": "echo \"Typescript is not used in design-tokens.\"", | ||
"prebuild": "rm -rf npm", | ||
"prepublishOnly": "yarn build", | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"devDependencies": { | ||
"@types/eslint": "^8", | ||
"@types/tinycolor2": "^1", | ||
"@types/yaml": "^1", | ||
"change-case": "^4.1.2", | ||
"eslint": "^8.39.0", | ||
"eslint-plugin-jest": "^27.2.1", | ||
"eslint-plugin-jest-dom": "^5.0.1", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"eslint-plugin-sonarjs": "^0.20.0", | ||
"fs-extra": "^11.1.0", | ||
@@ -76,3 +59,3 @@ "postcss": "^8.4.23", | ||
"stylelint-config-standard": "^34.0.0", | ||
"stylelint-config-standard-scss": "^10.0.0", | ||
"stylelint-config-standard-scss": "^11.0.0", | ||
"stylelint-order": "^6.0.3", | ||
@@ -104,3 +87,13 @@ "stylelint-prettier": "^4.0.0", | ||
"license": "Apache 2.0", | ||
"packageManager": "yarn@3.5.0" | ||
"packageManager": "pnpm@8.6.11", | ||
"scripts": { | ||
"build": "node ./build.cjs && pnpm compile:normalize", | ||
"compile:normalize": "sass ./normalize.scss ./npm/normalize/normalize.css", | ||
"fix:css": "stylelint --fix \"./**/*.@(css|scss)\"", | ||
"lint:css": "stylelint \"./**/*.@(css|scss)\" --max-warnings 0", | ||
"lint:js": "eslint --max-warnings 0 \"./**/*.@(cjs|mjs)\"", | ||
"lint:ts": "echo \"Typescript is not used in design-tokens.\"", | ||
"prebuild": "rm -rf npm", | ||
"test": "" | ||
} | ||
} |
@@ -30,3 +30,3 @@ # Design Tokens | ||
We also generate our [Themes](https://design.pluralsight.com/docs/next/development/tokens/colors#list-of-tokens) from the Normalize pre-processing which allows us to combine the power of both SASS and Style Dictionary. This allows us to both establish and set a default theme as a fallback via CSS so there is no need for unneccessary Javascript/Typescript logic to do the same. | ||
We also generate our [Themes](https://design.pluralsight.com/docs/next/development/tokens/colors#list-of-tokens) from the Normalize pre-processing which allows us to combine the power of both SASS and Style Dictionary. This allows us to both establish and set a default theme as a fallback via CSS so there is no need for unnecessary Javascript/Typescript logic to do the same. | ||
@@ -40,3 +40,3 @@ ## Quick Start | ||
```bash | ||
yarn install | ||
pnpm install | ||
``` | ||
@@ -64,3 +64,3 @@ | ||
This is to help keep all of our teams apps as performant as possible since the quanity and _usage_ of tokens **can make a negative impact** in browsers. | ||
This is to help keep all of our teams apps as performant as possible since the quantity and _usage_ of tokens **can make a negative impact** in browsers. | ||
@@ -72,3 +72,3 @@ ### Updating custom themes | ||
- **DO NOT EDIT ANYTHING IN THE PUBLIC DIRECTORY**. These values source all the base tokens and should never be altered. | ||
- **DO NOT CHANGE PROJECT STRUCTURE OR FILE NAMES**. We use a strict and complex filtering sytems that depends on both of these to be consistent. | ||
- **DO NOT CHANGE PROJECT STRUCTURE OR FILE NAMES**. We use a strict and complex filtering systems that depends on both of these to be consistent. | ||
@@ -82,3 +82,3 @@ Our base directory uses a file system that matches the PS Brand Theme color guide to help keep all of our themes consistent. For all themes, the "accent" correlates to the "default" semantic tokens. | ||
```bash | ||
yarn workspace @pluralsight/design-tokens run build | ||
pnpm --filter @pluralsight/design-tokens build | ||
``` | ||
@@ -88,3 +88,3 @@ | ||
``` | ||
```bash | ||
Copying files... | ||
@@ -91,0 +91,0 @@ |
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
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
76270
15
20
1563