@function fs()
Function to easily access font sizes
Parameters & Return
$key: (string)
A key from font-sizes
map that exists in _sin.config.scss
.
@return (number)
Returns the font size value
Examples
sass
See available properties and values
.sin{
font-size: fs();
}
sass
Usecase, will return the xs font size from the configuration
.sin{
font-size: fs(xs);
}
Related
https://utopia.fyi/ [external]
@function font-size()
Function to easily access font sizes. Works the same as fs()
;
Related
@function fs()
Requires
@function fs()
@function fw()
Parameters & Return
$key: (string)
A key from font-weights
map that exists in _sin.config.scss
.
@return (number)
Returns the font weight value
Requires
@function get() [private]
@function font-weight()
Parameters & Return
$key: (string)
A key from font-weights
map that exists in _sin.config.scss
.
@return (number)
Returns the font weight value