aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-striped-html5up/static/sass/libs/_functions.scss
diff options
context:
space:
mode:
Diffstat (limited to 'pelican-striped-html5up/static/sass/libs/_functions.scss')
-rw-r--r--pelican-striped-html5up/static/sass/libs/_functions.scss34
1 files changed, 34 insertions, 0 deletions
diff --git a/pelican-striped-html5up/static/sass/libs/_functions.scss b/pelican-striped-html5up/static/sass/libs/_functions.scss
new file mode 100644
index 0000000..0e08c1a
--- /dev/null
+++ b/pelican-striped-html5up/static/sass/libs/_functions.scss
@@ -0,0 +1,34 @@
+/// Gets a duration value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _duration($keys...) {
+ @return val($duration, $keys...);
+}
+
+/// Gets a font value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _font($keys...) {
+ @return val($font, $keys...);
+}
+
+/// Gets a misc value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _misc($keys...) {
+ @return val($misc, $keys...);
+}
+
+/// Gets a palette value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _palette($keys...) {
+ @return val($palette, $keys...);
+}
+
+/// Gets a size value.
+/// @param {string} $keys Key(s).
+/// @return {string} Value.
+@function _size($keys...) {
+ @return val($size, $keys...);
+} \ No newline at end of file