This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
/// | |
/// Viewport sized typography with minimum and maximum values | |
/// | |
/// @author Eduardo Boucas (@eduardoboucas) | |
/// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// Include Media (v1.3.0) | |
// ---- | |
@import "include-media"; | |
@function getBreakpoints($targetName) { | |
$json: '{'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// ---- | |
@charset 'UTF-8'; | |
// ----- Plugin ----- | |
// Filter: changing the output from px to em | |
@function im-filter-parse-value($value) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@import "include-media"; | |
/// | |
/// Generates a JSON string with each breakpoint's value and information about | |
/// which of the breakpoints are currently active (i.e. viewport width >= breakpoint) | |
/// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// Include Media (v1.3.0) | |
// ---- | |
@import "include-media"; | |
// The breakpoint we want to emulate | |
$im-no-media-breakpoint: 'desktop'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.14) | |
// Compass (v1.0.3) | |
// Include Media (v1.3.0) | |
// ---- | |
@import 'include-media'; | |
// ----- Plugin starts here ----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.2.5) | |
// ---- | |
@import "include-media"; | |
/// | |
/// Generates grid classes based on the defined breakpoints, | |
/// named with the convention `.col--x-y@breakpoint`, where | |
/// `x` is a subdivision of `y`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.3.2) | |
// ---- | |
@import "include-media"; | |
$breakpoints:( | |
'small': 400px, | |
'large': 1200px | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.3.2) | |
// ---- | |
@import "include-media"; | |
$breakpoints:( | |
'bp1': 375px, | |
'bp2': 580px, | |
'bp3': 768px, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// libsass (v3.3.2) | |
// ---- | |
$foo: true; | |
.bar { | |
color: if($foo, 'red', 'green');; | |
} |