_functions.scss 787 B

12345678910111213141516171819202122232425262728293031323334
  1. /// Gets a duration value.
  2. /// @param {string} $keys Key(s).
  3. /// @return {string} Value.
  4. @function _duration($keys...) {
  5. @return val($duration, $keys...);
  6. }
  7. /// Gets a font value.
  8. /// @param {string} $keys Key(s).
  9. /// @return {string} Value.
  10. @function _font($keys...) {
  11. @return val($font, $keys...);
  12. }
  13. /// Gets a misc value.
  14. /// @param {string} $keys Key(s).
  15. /// @return {string} Value.
  16. @function _misc($keys...) {
  17. @return val($misc, $keys...);
  18. }
  19. /// Gets a palette value.
  20. /// @param {string} $keys Key(s).
  21. /// @return {string} Value.
  22. @function _palette($keys...) {
  23. @return val($palette, $keys...);
  24. }
  25. /// Gets a size value.
  26. /// @param {string} $keys Key(s).
  27. /// @return {string} Value.
  28. @function _size($keys...) {
  29. @return val($size, $keys...);
  30. }