webseite/assets/scss/libs/_functions.scss

34 lines
792 B
SCSS
Raw Normal View History

2018-02-25 00:49:23 +01:00
/// Gets a duration value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _duration($keys...) {
2019-02-12 17:45:44 +01:00
@return val($duration, $keys...);
2018-02-25 00:49:23 +01:00
}
/// Gets a font value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _font($keys...) {
2019-02-12 17:45:44 +01:00
@return val($font, $keys...);
2018-02-25 00:49:23 +01:00
}
/// Gets a misc value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _misc($keys...) {
2019-02-12 17:45:44 +01:00
@return val($misc, $keys...);
2018-02-25 00:49:23 +01:00
}
/// Gets a palette value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _palette($keys...) {
2019-02-12 17:45:44 +01:00
@return val($palette, $keys...);
2018-02-25 00:49:23 +01:00
}
/// Gets a size value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _size($keys...) {
2019-02-12 17:45:44 +01:00
@return val($size, $keys...);
2018-02-25 00:49:23 +01:00
}