Summary Files Commits Branches @commit @diff @stats
path: root / src / mixins / _shadow.scss
diff options
context:
space:
mode:
Commitffd611d72ae26ad41a9eaa2589993c846768b6e0 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-12-07 14:25:15 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-12-07 14:25:15 +0800
Files4cb5a71ff45cdd5fbac93f8a37f8916559f3e943 /src/mixins/_shadow.scss
Spectre-Dark-Gruvbox-ffd611d72ae26ad41a9eaa2589993c846768b6e0.tar
Spectre-Dark-Gruvbox-ffd611d72ae26ad41a9eaa2589993c846768b6e0.tar.gz
Spectre-Dark-Gruvbox-ffd611d72ae26ad41a9eaa2589993c846768b6e0.zip
Parent57e1425dbcf13b7cd88790acd2267ced7291d09e (diff)
Split mixins
1 files changed, 9 insertions, 0 deletions
-rw-r--r--src/mixins/_shadow.scss9
diff --git a/src/mixins/_shadow.scss b/src/mixins/_shadow.scss
new file mode 100644
index 0000000..02ef8fb
--- /dev/null
+++ b/src/mixins/_shadow.scss
@@ -0,0 +1,9 @@
+// Component focus shadow
+@mixin control-shadow($color: $primary-color) {
+ box-shadow: 0 0 0 .1rem rgba($color, .2);
+}
+
+// Shadow mixin
+@mixin shadow-variant($offset) {
+ box-shadow: 0 $offset ($offset + .05rem) * 2 rgba($dark-color, .3);
+} \ No newline at end of file