New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bcredi/global-css

Package Overview
Dependencies
Maintainers
3
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bcredi/global-css - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

dist/custom.css

10

CHANGELOG.md
# Changelog
## 0.2.0 - 2019-09-20
### Added
- [Minor] Update PostCSS pipe - generate single files + bundle.
- [Minor] Improve `reset.css` coverage.
- [Minor] Create `typography.css` for typography objects (h1-h6, p, google fonts import).
- [Minor] Create `custom.css` for default object styles.
## 0.1.0 - 2019-05-31

@@ -4,0 +14,0 @@

16

package.json
{
"name": "@bcredi/global-css",
"version": "0.1.0",
"version": "0.2.0",
"description": "Global style for building Bcredi Design System UI",

@@ -8,4 +8,5 @@ "main": "dist/bcredi-global.css",

"scripts": {
"build": "rm -rf dist && yarn generate-css",
"generate-css": "mkdir -p dist && node-sass -q src/style.scss dist/bcredi-global.css && postcss dist/bcredi-global.css --map --use autoprefixer cssnano --replace"
"prebuild": "rm -rf dist && mkdir -p dist",
"build": "postcss src/*.css --dir dist -u precss autoprefixer cssnano rucksack-css --no-map",
"postbuild": "cat dist/reset.css dist/custom.css > dist/index.css"
},

@@ -15,3 +16,3 @@ "files": [

],
"author": "",
"author": "Bcredi Servicos de Credito e Cobranca LTDA",
"license": "MIT",

@@ -21,4 +22,5 @@ "devDependencies": {

"cssnano": "^4.1.10",
"node-sass": "^4.12.0",
"postcss-cli": "^6.1.2"
"postcss-cli": "^6.1.2",
"precss": "^4.0.0",
"rucksack-css": "^1.0.2"
},

@@ -28,3 +30,3 @@ "publishConfig": {

},
"gitHead": "b7e2e5d3aaf75d921701efb4b56bef7c8b76ced5"
"gitHead": "115fe86d7985bda624995fd1f37ef01197101641"
}

@@ -1,7 +0,17 @@

# Bcredi Design System Global CSS
# @bcredi/global-css
A dependency of using React Component or SCSS components is the inclusion of the `@bcredi/global-css` package.
A global reset plus some common custom styles.
A dependency of using React Component or SCSS components is the inclusion of the `@bcredi/global-css` package.
## SCSS usage
## Overview
| Package | Version |
| ------------------------- | ------- |
| `@bcredi/global-css` | 0.1.1 |
## Usage
#### (S)CSS
```scss

@@ -11,4 +21,6 @@ @import '[node_modules path]/@bcredi/global-css/dist/style';

## JavaScript usage
#### JavaScript
To use it in your js sources (with React, Vue...), import the source file using:
```js

@@ -20,2 +32,4 @@ import '@bcredi/global-css';

TODO: What's included?
- A custom global reset (`reset.css`) - based on [normalize.css](https://necolas.github.io/normalize.css/) and [reboot](https://getbootstrap.com/docs/4.0/content/reboot/)
- Custom fonts definitions (`typography.css`) - Google Fonts import, default styles for typography objects
- Custom objects definitions (`custom.css`) - e.g. link (`<a>`) states
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