@department-of-veterans-affairs/css-library
Advanced tools
Comparing version 0.6.0-beta.0 to 0.6.0
{ | ||
"name": "@department-of-veterans-affairs/css-library", | ||
"version": "0.6.0-beta.0", | ||
"version": "0.6.0", | ||
"packageManager": "yarn@3.2.0", | ||
@@ -14,4 +14,7 @@ "files": [ | ||
"build:minify": "yarn build:stylesheets --style compressed --no-source-map", | ||
"build": "yarn run copy && yarn build:tokens && yarn build:stylesheets", | ||
"copy": "node ./copy-uswds-color-tokens.js" | ||
"build:minify-core": "sass --style compressed --no-source-map dist/core.css:dist/core.min.css", | ||
"build": "yarn run clean-dist && yarn run copy && yarn build:tokens && yarn build:stylesheets", | ||
"clean-dist": "rimraf dist/*", | ||
"copy-assets": "cp -rv src/assets/fonts dist/fonts/ && cp -rv src/assets/img dist/img/", | ||
"copy": "node ./copy-uswds-color-tokens.js && yarn run copy-assets" | ||
}, | ||
@@ -24,4 +27,5 @@ "devDependencies": { | ||
"dependencies": { | ||
"@divriots/style-dictionary-to-figma": "^0.4.0" | ||
"@divriots/style-dictionary-to-figma": "^0.4.0", | ||
"rimraf": "^5.0.5" | ||
} | ||
} | ||
} |
# css-library | ||
## Stylesheets | ||
The purpose of the CSS Library is to replace the current VA.gov style library (Formation) with styles and tokens based on [USWDS version 3](https://github.com/uswds/uswds). | ||
The stylesheets generated by this library are based on [USWDS version 3](https://github.com/uswds/uswds) and are intended to eventually replace the Formation CSS library: | ||
## Generate all files | ||
- fonts.css | ||
- elements.css | ||
- utilties.css | ||
To generate all tokens, stylesheets, and assets, run `yarn build` | ||
To generate stylesheets, run `yarn build:stylesheets` or `yarn build:minify` | ||
## Stylesheets | ||
To generate stylesheets, run `yarn build:stylesheets` | ||
## Design Tokens | ||
To generate all token files, run `yarn build:tokens` | ||
The tokens generated by this library will be available in several different formats so that various tools and environments can use them. | ||
To generate all token files, run `yarn build:tokens` |
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 too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
579061
24547
18
2
9
+ Addedrimraf@^5.0.5
+ Added@isaacs/cliui@8.0.2(transitive)
+ Added@pkgjs/parseargs@0.11.0(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@10.4.5(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@3.4.3(transitive)
+ Addedlru-cache@10.4.3(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@1.11.1(transitive)
+ Addedrimraf@5.0.10(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)