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

@avalanche/object-media

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avalanche/object-media - npm Package Compare versions

Comparing version 4.0.0-alpha.2 to 4.0.0-alpha.3

4

package.json

@@ -9,3 +9,3 @@ {

],
"version": "4.0.0-alpha.2",
"version": "4.0.0-alpha.3",
"author": "Markus Oberlehner",

@@ -22,5 +22,5 @@ "homepage": "https://avalanche.oberlehner.net/",

"dependencies": {
"@avalanche/setting-spacings": "^4.0.0-alpha.3"
"@avalanche/setting-spacings": "^4.0.0-alpha.4"
},
"main": "scss/index.scss"
}

@@ -12,4 +12,10 @@ # @avalanche/object-media

## Basic usage
This package requires that [node-sass](https://github.com/sass/node-sass) (or one of the grunt, gulp, etc. equivalents) in combination with the [node-sass-magic-importer](https://github.com/maoberlehner/node-sass-magic-importer) custom importer is used.
```scss
// Import the main file.
@import 'node_modules/@avalanche/object-media/scss/index.scss';
```
## Usage with [node-sass-magic-importer](https://github.com/maoberlehner/node-sass-magic-importer)
Using [node-sass](https://github.com/sass/node-sass) (or a plugin for Grunt, gulp or webpack which is using node-sass) in combination with the [node-sass-magic-importer](https://github.com/maoberlehner/node-sass-magic-importer) custom importer, can make importing CSS dependencies from `node_modules` a much nicer experience.
```scss

@@ -19,5 +25,2 @@ // Import the main file.

// Import just the mixin file.
@import '~@avalanche/object-media/scss/mixins';
// Import just the classes you need.

@@ -57,3 +60,3 @@ @import '{ .o-media, .o-media__body } from ~@avalanche/object-media';

```scss
@import '~@avalanche/object-media/scss/mixins';
@import 'node_modules/@avalanche/object-media/scss/mixins';

@@ -74,5 +77,13 @@ // Usage.

## Settings
```scss
/// Default spacing.
/// @type String
$o-media-spacing-default: m !default;
```
## About
### Author
Markus Oberlehner
Website: https://markus.oberlehner.net
Twitter: https://twitter.com/MaOberlehner

@@ -79,0 +90,0 @@ PayPal.me: https://paypal.me/maoberlehner

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