@media
mixins
breakpoint
Since v1.1.0@mixin breakpoint($breakpoint, $direction: 'min', $breakpoint-map: $breakpoints, $max-overlap: null) { ... }
Description
Breakpoint Mixin using breakpoint map
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$breakpoint | Breakpoint key from the breakpoints map | String | — none |
$direction | Breakpoint direction min or max | String | 'min' |
$breakpoint-map | All breakpoint vars in one map | Map | $breakpoints |
$max-overlap | How much should the max-width breakpoint overlap the min-width one? | Number | null |
Example
.my-selector {
@include breakpoint(lg) {...}
}
Output CSS
@media (min-width: 78.75rem) {
.my-selector {...}
}
Throws
❌ ===> #{$direction} is not a valid option for direction. Please use: #{$valid-direction}
❌ ===> #{$breakpoint} is not valid breakpoint. Please use: #{map.keys($breakpoint-map)}
Requires
- [function]
str-contains
- [function]
str-contains
- [variable]
valid-direction
- [variable]
get-breakpoints
- [variable]
get-breakpoints
- [variable]
valid-direction
- [variable]
valid-direction
- [variable]
get-breakpoints
- [variable]
get-breakpoints
Author
Felix Scholze
dark-mode-class
Since v1.10.0@mixin dark-mode-class($parent: true, $class: 'dark') { ... }
Description
Use a predefined dark mode class to define dark mode styles.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$parent | If true, the dark mode class will be root | Boolean | true |
$class | The dark mode class, could be any selector | String | 'dark' |
Example
.button {
@include dark-mode-class('body.dark-mode') {
color: #fff;
}
}
Output
body.dark-mode .button { color: #fff; }
Author
Felix Scholze
feature
Since v1.4.0@mixin feature($feature) { ... }
Description
Includes a feature @media query
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$feature | Feature Name | String | — none |
Example
@include feature(
'motion',
);
Throws
❌ ===> #{$feature} is not a valide option for feature. Please use: #{$valid-feature}
Author
Felix Scholze
hover
Since v1.9.0@mixin hover() { ... }
Description
Hover using @media hover:hover
Parameters
None.
Example
.my-selector {
@include hover {...}
}
Output CSS
@media (hover: hover) {
.my-selector:hover {...}
}
Author
Felix Scholze
basic
mixins
select-style
Since v1.0.0@mixin select-style($bg-color, $color, $selector: *) { ... }
Description
Styles for selected elements
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$bg-color | Background-color | Color | — none |
$color | Text-color | Color | — none |
$selector | Selector | String | * |
Throws
❌ ===> #{$bg-color} is not a color
❌ ===> #{$color} is not a color
Author
Felix Scholze
target-anchor-offset
Since v1.0.0@mixin target-anchor-offset($offset) { ... }
Description
Adds an offset for the targeted link(s)
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$offset | the offset in any value | Number | — none |
Requires
- [function]
number-invert
Author
Felix Scholze
color
functions
hex-to-rgb-values
Since v1.5.0@function hex-to-rgb-values($color) { ... }
Description
Convert HEX colors to R, G, B values
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$color | — none | Color | — none |
Returns
String
Author
Felix Scholze
hex-to-rgb
Since v1.5.0@function hex-to-rgb($color, $alpha) { ... }
Description
Convert HEX colors to RGB (space-separated values)
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$color | HEX color | Color | — none |
$alpha | Alpha | Number | — none |
Returns
String
Author
Felix Scholze
generate-color-shades
Since v2.4.0@function generate-color-shades($base-color, $num-shades: 5, $lighten-percent: 0.5, $darken-percent: 0.5, $color-key-name: "color", $color-key-separator: "-") { ... }
Description
Generate shades in light and dark from a base color. The base color is the starting point, light shades starting from 100, dark shades following when the light shades are finished.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$base-color | Base color | Color | — none |
$num-shades | Number of shades to generate | Number | 5 |
$lighten-percent | Percent (in decimal places from 0 to 1) to lighten each shade | Number | 0.5 |
$darken-percent | Percent (in decimal places from 0 to 1) to darken each shade | Number | 0.5 |
$color-key-name | Key name for the base color | String | "color" |
$color-key-separator | Key separator for the base color | String | "-" |
Returns
Map
Example
@debug generate-color-shades(#d33030, 5, 0.5, 0.5, "red");
Output CSS
("red-500": #d74545, "red-400": #dc5a5a, "red-300": #e06f6f, "red-200": #e58484, "red-100": #e99999, "red": #d33030, "red-600": #c12929, "red-700": #ac2424, "red-800": #972020, "red-900": #811c1c, "red-1000": #6c1717)
Author
Felix Scholze
generate-mixed-colors
Since v2.5.0@function generate-mixed-colors($color1, $color2, $color3, $steps: 20, $color2-peak: 11) { ... }
Description
Generate a map of colors that are mixed between three colors with a peak point for color2.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$color1 | The first color. | Color | — none |
$color2 | The second color. | Color | — none |
$color3 | The third color. | Color | — none |
$steps | The number of steps to generate. | Number | 20 |
$color2-peak | The peak point for color2. | Number | 11 |
Returns
Map
—The map of colors.
Example
@debug generate-mixed-colors(green, yellow, red, 7, 4);
Output CSS
(1: green, 2: #80c000, 3: #bfdf00, 4: yellow, 5: #ffaa00, 6: #ff5500, 7: red)
Requires
- [function]
is-color
- [function]
is-color
- [function]
is-color
- [function]
is-integer
- [function]
is-integer
Author
converter
functions
px-to-rem
Since v1.6.0@function px-to-rem($px, $base: 16) { ... }
Description
Convert pixel value to rem value.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$px | — none | Number | — none |
$base | — none | Number | 16 |
Example
@debug px-to-rem(10);
//=> 0.625rem
Throws
❌ ===> Pixel: #{$px} has a unit
❌ ===> Base Pixel: #{$base} has a unit
Used by
Author
Felix Scholze
element
mixins
line-on-sides
Since v1.0.0@mixin line-on-sides($space-between-lines: 1.5rem, $line-color: #000, $line-width: 2px) { ... }
Description
Adds two lines between an element. There is an example https://css-tricks.com/line-on-sides-headers/
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$space-between-lines | — none | Number | 1.5rem |
$line-color | — none | Color | #000 |
$line-width | — none | Number | 2px |
Throws
❌ ===> #{$line-color} is not a color.
❌ ===> #{$space-between-lines} is not a number.
❌ ===> #{$line-width} is not a number.
Author
Felix Scholze
overlay
Since v1.0.0@mixin overlay($overlay-type, $overlay-size, $parent-element, $overlay-element, $overlay-bg-color, $valide-type: (hover,static), $valide-size: (full, free)) { ... }
Description
Adds an overlay
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$overlay-type | — none | String | — none |
$overlay-size | — none | String | — none |
$parent-element | — none | String | — none |
$overlay-element | — none | String | — none |
$overlay-bg-color | — none | Color | — none |
$valide-type | — none | String | (hover,static) |
$valide-size | — none | String | (full, free) |
Throws
❌ ===> #{$overlay-size} is not a valide option for overlay-size. Please use: #{$valide-size}
❌ ===> #{$overlay-type} is not a valide option for overlay-type. Please use: #{$valide-type}
Author
Felix Scholze
list-style-image
Since v1.0.0@mixin list-style-image($path-and-color-name: '', $data-type: 'file', $bullet-size: 1rem, $spacing-multiplicator: 1.5, $list: ul, $list-item: li) { ... }
Description
Custom bullets for lists with different image types (as file or inline svg)
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$path-and-color-name | Path to image file, color name | List | '' |
$data-type | Choose between image file or svg inline data | String | 'file' |
$bullet-size | Defines the bullet size and distance to the text | Number | 1rem |
$spacing-multiplicator | Defines the spacing between bullet and text ($bullet-size * $spacing-multiplicator) | Number | 1.5 |
$list | Class of the unordered list | String | ul |
$list-item | Class of the list item | String | li |
Example
Image as file
$icons: '#{$path-to-img}/icons/ok-sign-b.svg'blue,
'#{$path-to-img}/icons/ok-sign.svg'white;
@include list-style-image($icons, 'file', 1.2rem, 1.7, '.icon-list');
Image as inline svg
$list-icon-color-primary: $primary;
$list-icon-primary: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='30' height='30'><path d='M1631.23 1749.44l-6.26-7.15 2.76-2.87 3.67 4.3 10.3-9.01 2.79 2.79zM1634 1726a15 15 0 1015 15 14.993 14.993 0 00-15-15' transform='translate(-1619 -1726)' fill='#{$list-icon-color-primary}' fill-rule='evenodd'/></svg>");
$list-icons: $list-icon-primary blue, $list-icon-primary white;
@include list-style-image($list-icons, 'data', 1.2rem, 1.7, '.icon-list');
Throws
❌ ===> #{$data-type} is not a valide option for data-type. Please use: #{$valide-type}
❌ ===> #{$spacing-multiplier} is not a number.
Requires
- [function]
is-number
- [function]
escape-svg
TODO's
build a version for icon fonts
Author
Felix Scholze
list
functions
first-of-list
Since v1.3.0@function first-of-list($list) { ... }
Description
Get the first $list
element
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$list | — none | List | — none |
Returns
Example
$my-list(1, 2, 3, 4, 5)
@debug first-of-list($my-list);
//=> 1
Throws
❌ ===> #{$list} is not a list
Author
Felix Scholze
last-of-list
Since v1.3.0@function last-of-list($list) { ... }
Description
Get the last $list
element
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$list | — none | List | — none |
Returns
Example
$my-list(1, 2, 3, 4, 5)
@debug last-of-list($my-list);
//=> 5
Throws
❌ ===> #{$list} is not a list
Author
Felix Scholze
map
functions
map-collect
Since v1.2.0@function map-collect($maps...) { ... }
Description
Map collect function Since the builtin map-merge function in Sass only take 2 arguments, it can only merge 2 maps at a time. The map-collect function below allows you to combine multiple maps together in a cleaner way.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$maps... | — none | Map | — none |
Returns
Map
—Merges maps to one map
Example
map-collect($map-1, $map-2, $map-3);
Author
bigglesrocks
number
functions
strip-unit
Since v1.3.0@function strip-unit($number) { ... }
Description
Strip the unit from a number.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$number | — none | Number | — none |
Returns
Number
Example
@debug strip-unit(3rem);
//=> 3
Throws
❌ ===> #{$number} is not a number
Requires
- [function]
is-number
number-invert
Since v1.3.0@function number-invert($number) { ... }
Description
Invert a number.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$number | — none | Number | — none |
Returns
Number
Example
@debug number-invert(7);
//=> -7
Throws
❌ ===> #{$number} is not a number
Requires
- [function]
is-number
Used by
- [mixin]
target-anchor-offset
Author
Felix Scholze
random-num
Since v1.6.0@function random-num($min, $max) { ... }
Description
Generate a random number between min and max.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$min | — none | Number | — none |
$max | — none | Number | — none |
Returns
Number
Example
@debug random-num(3, 45);
//=> random number between 3 and 45
Throws
❌ ===> $min: #{$min} is not a number
❌ ===> $max: #{$max} is not a number
Requires
Author
Felix Scholze
round
Since v2.3.0@function round($number, $decimals: 0) { ... }
Description
Round a number to a specific number of decimal places.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$number | — none | Number | — none |
$decimals | — none | Number | 0 |
Example
.test-round {
padding: fn.round(1.23456789, 2) + px;
}
//=>
.test-round {
padding: 1.23px;
}
Used by
- [function]
is-integer
- [function]
fluid
- [function]
fluid
- [function]
fluid
- [function]
fluid
Author
Brecht De Ruyte
string
functions
str-starts-with
Since v1.3.0@function str-starts-with($string, $substring) { ... }
Description
Check if $string
starts with the given $substring
.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$string | String to check | String | — none |
$substring | Substring to search for at the start of | String | — none |
Returns
Boolean
Example
@debug str-starts-with('hello world', 'hello');
//=> true
Throws
❌ ===> #{$string} is not a string
❌ ===> #{$substring} is not a string
Author
Felix Scholze
str-ends-with
Since v1.3.0@function str-ends-with($string, $substring) { ... }
Description
Check if $string
ends with the given $substring
.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$string | String to check | String | — none |
$substring | Substring to search for the end of | String | — none |
Returns
Boolean
Example
@debug str-ends-with('hello world', 'world');
Throws
❌ ===> #{$string} is not a string
❌ ===> #{$substring} is not a string
Author
Felix Scholze
str-contains
Since v1.3.0@function str-contains($string, $substring) { ... }
Description
Check if $string
contains the given $substring
.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$string | String to check | String | — none |
$substring | Substring to search for in | String | — none |
Returns
Boolean
Example
@debug str-contains('i love SCSS', 'SCSS');
//=> true
Throws
❌ ===> #{$string} is not a string
❌ ===> #{$substring} is not a string
Used by
- [mixin]
breakpoint
- [mixin]
breakpoint
Author
Felix Scholze
str-replace
Since v1.0.0@function str-replace($string, $search, $replace) { ... }
Description
Replace $search
with $replace
in $string
Used on our SVG icon backgrounds for custom forms.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$string | Initial string | String | — none |
$search | Substring to replace | String | — none |
$replace | ('') - New value | String | — none |
Returns
String
—Updated string
Example
$string: 'I hate SCSS!';
@include str-replace($string, 'hate', 'love');
//=> I love SCSS!
Throws
❌ ===> #{$string} is not a string
❌ ===> #{$search} is not a string
Used by
- [function]
escape-svg
- [function]
escape-svg
- [mixin]
font-face-old
Author
Hugo Giraudel
escape-svg
Since v1.0.0@function escape-svg($string) { ... }
Description
Requires the use of quotes around data URIs.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$string | SVG code | String | — none |
Returns
String
—SCSS compiled output after URL-encoding
Example
$icon: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
background-image: escape-svg($icon);
Throws
❌ ===> #{$string} is not a string
Requires
- [function]
str-replace
- [function]
str-replace
Used by
- [mixin]
list-style-image
Links
Author
Kevin Weber
type-checking
functions
is-number
Since v1.0.0@function is-number($value) { ... }
Description
Check if its a number value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Used by
- [mixin]
list-style-image
- [function]
strip-unit
- [function]
number-invert
- [function]
random-num
- [function]
random-num
- [function]
is-time
- [function]
is-angle
- [function]
is-frequency
- [function]
is-integer
- [function]
is-relative-length
- [function]
is-absolute-length
- [function]
is-percentage
- [function]
is-resolution
Links
Author
Hugo Giraudel
is-time
Since v1.0.0@function is-time($value) { ... }
Description
Check if its a time value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-number
Used by
- [function]
is-duration
Links
Author
Hugo Giraudel
is-duration
Since v1.0.0@function is-duration($value) { ... }
Description
Check if its a duration value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-time
Links
Author
Hugo Giraudel
is-angle
Since v1.0.0@function is-angle($value) { ... }
Description
Check if its a angle value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-number
Links
Author
Hugo Giraudel
is-frequency
Since v1.0.0@function is-frequency($value) { ... }
Description
Check if its a frequency value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-number
Links
Author
Hugo Giraudel
is-integer
Since v1.0.0@function is-integer($value) { ... }
Description
Check if its a integer value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
Used by
- [function]
generate-mixed-colors
- [function]
generate-mixed-colors
Links
Author
Hugo Giraudel
is-relative-length
Since v1.0.0@function is-relative-length($value) { ... }
Description
Check if its a relative-length value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-number
Used by
- [function]
is-length
Links
Author
Hugo Giraudel
is-absolute-length
Since v1.0.0@function is-absolute-length($value) { ... }
Description
Check if its a absolute-length value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-number
Used by
- [function]
is-length
Links
Author
Hugo Giraudel
is-percentage
Since v1.0.0@function is-percentage($value) { ... }
Description
Check if its a percentage value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-number
Used by
- [function]
is-position
Links
Author
Hugo Giraudel
is-length
Since v1.0.0@function is-length($value) { ... }
Description
Check if its a length value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-relative-length
- [function]
is-absolute-length
Used by
- [function]
is-position
Links
Author
Hugo Giraudel
is-resolution
Since v1.0.0@function is-resolution($value) { ... }
Description
Check if its a resolution value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-number
Links
Author
Hugo Giraudel
is-position
Since v1.0.0@function is-position($value) { ... }
Description
Check if its a position value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Requires
- [function]
is-length
- [function]
is-percentage
Links
Author
Hugo Giraudel
is-color
Since v2.5.0@function is-color($value) { ... }
Description
Check if its a color value
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$value | Value to check | Void | — none |
Used by
- [function]
generate-mixed-colors
- [function]
generate-mixed-colors
- [function]
generate-mixed-colors
Author
typo
mixins
font-smoothing
Since v1.0.0@mixin font-smoothing() { ... }
Description
Font Smoothing
Parameters
None.
Links
Author
Felix Scholze
font-face-old
Since v1.0.0font-face-old is deprecated!.
@mixin font-face-old($name, $path, $weight: null, $style: null, $exts: eot woff2 woff ttf svg) { ... }
Description
Adds fonts with the original @font-face rule Attention! When you use Laravel Mix your fonts path begins at the mix.config file location
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$name | Font-Name | String | — none |
$path | Path to font | String | — none |
$weight | Font-Weight | Number | null |
$style | Font-Style | String | null |
$exts | Font-Formats to add | List | eot woff2 woff ttf svg |
Example
@include font-face(
'Open Sans',
'#{$path-to-fonts}/opensans/Light/OpenSans-Light',
300,
normal,
woff2 woff
);
Requires
- [function]
str-replace
Links
Author
Jonathan Neal extended by Felix Scholze
fluid-typo
fluid-typo is deprecated!.
@mixin fluid-typo($font-unit: rem, $min-font-size: 14, $max-font-size: 20, $min-screen-size: 400, $max-screen-size: 980) { ... }
Description
Responsive And Fluid Typography With vh And vw Units
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$font-unit | — none | Number | rem |
$min-font-size | — none | Number | 14 |
$max-font-size | — none | Number | 20 |
$min-screen-size | — none | Number | 400 |
$max-screen-size | — none | Number | 980 |
Throws
fluid-typo is deprecated.
Links
Author
Michael Riethmuller
icon-font
Since v1.0.0@mixin icon-font($class, $icon-code, $font-family) { ... }
Description
Adds font-icons using a pseudo element
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$class | — none | String | — none |
$icon-code | — none | String | — none |
$font-family | — none | String | — none |
Author
Felix Scholze
font-face
Since v1.4.0@mixin font-face($name, $path, $weight: null, $version: null, $unicode-range: '', $style: null, $exts: woff2 woff, $display: swap) { ... }
Description
Adds fonts via @font-face
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$name | Font-Name | String | — none |
$path | Path to font | String | — none |
$weight | Font-Weight | Number | null |
$version | Font Version | String | null |
$unicode-range | Unicode Range | String | '' |
$style | Font-Style | String | null |
$exts | Font-Formats to add | List | woff2 woff |
$display | Display | String | swap |
Example
@include font-face(
'Open Sans',
'#{$path-to-fonts}/opensans/Light/OpenSans-Light',
400,
1.0,
'',
normal,
woff2 woff,
);
Author
Felix Scholze
functions
fluid
Since v2.3.0@function fluid($min-size, $max-size, $min-breakpoint: 320, $max-breakpoint: 960, $unit: vw) { ... }
Description
Calculate fluid typography with clamp.
Parameters
parameter Name | parameter Description | parameter Type | parameter Default value |
---|---|---|---|
$min-size | — none | Number | — none |
$max-size | — none | Number | — none |
$min-breakpoint | — none | Number | 320 |
$max-breakpoint | — none | Number | 960 |
$unit | — none | Number | vw |
Example
.test-fluid {
font-size: fn.fluid(16, 31);
}
//=>
.test-fluid {
font-size: clamp(1rem, 2.34vw + 0.53rem, 1.94rem);
}
Requires
- [function]
round
- [function]
round
- [function]
px-to-rem
- [function]
round
- [function]
px-to-rem
- [function]
round
- [function]
px-to-rem
Author
Brecht De Ruyte
General
variables
valid-direction
$valid-direction: ('min', 'max');
Description
Error handling
Used by
- [mixin]
breakpoint
- [mixin]
breakpoint
- [mixin]
breakpoint
get-breakpoints
$get-breakpoints: map.get($breakpoint-map, $breakpoint);
Description
Search and return the key from the breakpoints map
Used by
- [mixin]
breakpoint
- [mixin]
breakpoint
- [mixin]
breakpoint
- [mixin]
breakpoint